PythonistL wrote:
> urlpatterns = patterns('',
> (r'^list/(?P\d+)/$',
> 'django.views.generic.list_detail.object_list',info_dict),
> )
>
>
> is it possible to use ,for example,
> /list/3/
>
> to move to page 3
This doesn't work because object_list doesn't take a
I use the generic view
django.views.generic.list_detail.object_list
In my main.py url
I have
##main.py###
info_dict = {'template_name':'shop/MyOwnTemplate',
'app_label': 'shop',
'module_name': 'registrations',
'paginate_by':10,
2 matches
Mail list logo