Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxcanfly committed Jun 30, 2011
1 parent 98bb4be commit 3f0166c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
'post_save_redirect': '/pubsub',
}, name='pubsub_status_new'),
url(r'^$', 'django.views.generic.list_detail.object_list', {
'queryset': Status.objects.all()[getattr(settings, 'MAX_STATUSES_NUM', 50)],
'queryset': Status.objects.all()[:getattr(settings, 'MAX_STATUSES_NUM', 50)],
'extra_context': {'form': StatusForm(),
'unique_nick': time.strftime("%s")}
}),
Expand Down

0 comments on commit 3f0166c

Please sign in to comment.