Skip to content

Commit

Permalink
Making default page use the pager and set to page 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Erickson committed Aug 28, 2008
1 parent 24b978b commit c918533
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lies/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

urlpatterns = patterns('',
# (r'^$', 'index'),
url(r'^$', 'lieswetellourselves.lies.views.list_lies', name='index', ),
url(r'^$', 'lieswetellourselves.lies.views.list_lies_page', {'page_num':1}, name='index', ),
url(r'^page/(?P<page_num>\d+)/$', 'lieswetellourselves.lies.views.list_lies_page', name='paged', ),
url(r'^add/$', 'django.views.generic.create_update.create_object', {'form_class': LieForm}),
url(r'^add_vote/$', 'lieswetellourselves.lies.views.add_vote'),
Expand Down

0 comments on commit c918533

Please sign in to comment.