Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page listant les notifications #13

Merged
merged 3 commits into from
May 9, 2015
Merged

Page listant les notifications #13

merged 3 commits into from
May 9, 2015

Conversation

GerardPaligot
Copy link

  1. Création de mixins pour le tri et les filtres.
  2. Utilisation de ses mixins dans la vue CBV qui liste les notifications.
  3. Utilisation d'un manager pour regrouper les filtres utiles sur les notifications.

Closes #12

</li>
<li>
<a href="{% url "notification-list" %}?order=desc{% if type %}&type={{ type }}{% endif %}{% if sort %}&sort={{ sort }}{% endif %}" class="ico-after move {% if order == "desc" %}selected{% endif %}">
{% trans 'Déscendant' %}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*Descendant

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merci, c'est corrigé.

…or desc.

1. Creates SortMixin in utils/mixins.py file to have a generic mixin.
2. Uses SortMixin in NotificationListView and configure it.
3. Adds all test cases about the sort.

Closes #12
1. Creates FilterMixin in utils/mixins.py file to have a generic mixin.
2. Uses FilterMixin in NotificationListView and configure it.
3. Adds all test cases about the filter.

Closes #12
@GerardPaligot
Copy link
Author

Attention, à ne pas merger, les tests ne passent pas parce que les tests Django, c'est tout pourrie ...

@GerardPaligot
Copy link
Author

@ChantyTaguan @Situphen Si ça vous va, merge ?

ChantyTaguan added a commit that referenced this pull request May 9, 2015
@ChantyTaguan ChantyTaguan merged commit ef0bcc7 into ChantyTaguan:zep_24_notif May 9, 2015
ChantyTaguan pushed a commit that referenced this pull request May 11, 2015
@GerardPaligot GerardPaligot deleted the feat_12_zep_24 branch October 19, 2015 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants