Skip to content

Commit

Permalink
Merge pull request #184 from e-Luminate/182-ordering-event
Browse files Browse the repository at this point in the history
Ordering the event by the days.
  • Loading branch information
mattions committed Feb 16, 2013
2 parents 3af342e + b51131f commit 26fca05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eluminate_web/apps/events/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def render_to_response(self, context, **kwargs):
class EventList(CategoryFilterMixin, ListView):

model = Event
queryset = Event.objects.filter(participant__approved_on__lt=now())
queryset = Event.objects.filter(participant__approved_on__lt=now()).order_by('days')

def get_queryset(self):
queryset = super(EventList, self).get_queryset()
Expand Down

0 comments on commit 26fca05

Please sign in to comment.