I went through the tutorial using my own models and data. I have data loaded in the databases. I am using version .95 and i a trying to follow along with using generic views from the documentation and chapter 09 of the djangobook.
here are my project urls urlpatterns = patterns('', # For Admin (r'^admin/', include('django.contrib.admin.urls')), (r'^entrys/', include('mygration.biz.urls')), (r'^articles/', include('mygration.biz.urls')), (r'^address/', include('mygration.realestate.urls')), ) and here is my generic views. entry_list_info = { 'queryset' : Entry.objects.all(), 'date_field': 'pub_date', 'template_object_name' : "entry", 'template_name' : "entry/entry_list.html", 'paginate_by' : 100, } article_list_info = { 'queryset' : Article.objects.all(), 'template_object_name' : "article", 'paginate_by' : 100, } entry_detail_info = { 'queryset' : Entry.objects.all(), 'template_object_name' : "entry", 'template_name' :'entry/entry_detail.html', } article_detail_info = { 'queryset' : Article.objects.all(), 'template_object_name' : "article", 'template_name' : 'article/article_detail.html', } urlpatterns = patterns('', (r'^$', list_detail.object_list, entry_list_info), (r'^(?P<object_id>\d+)/$', list_detail.object_detail, entry_detail_info), (r'^$', list_detail.object_list, article_list_info), (r'^(?P<object_id>\d+)/$', list_detail.object_detail, article_detail_info), ) && here is my other viw address_list_info = { 'queryset' : Address.objects.all(), 'allow_empty': True, } urlpatterns = patterns('', ('^addresss/$', list_detail.object_list, address_list_info) in both cases i get the following Page not found (404) Request Method: GET Request URL: http://localhost:8000/biz/article/ Using the URLconf defined in mygration.urls, Django tried these URL patterns, in this order: 1. ^admin/ 2. ^entrys/ 3. ^articles/ 4. ^address/ The current URL, /biz/article/, didn't match a Am i doing something wrong in the naming of my urls regex. for the include statement should the url of my model be pluralized or singular. (r'^entrys/', include('mygration.biz.urls')), (r'^articles/', include('mygration.biz.urls')), (r'^addresss/', include('mygration.realestate.urls')), or this (r'^entry/', include('mygration.biz.urls')), (r'^article/', include('mygration.biz.urls')), (r'^address/', include('mygration.realestate.urls')), Finally shouldn't my results be at like http://localhost:8000/app/model/template/ Thanks again frank --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---