Your slug_field should be set to 'slug' because that's what you've named it in your RegEx:
'^/(?P<slug>[-\w]+)/?$' So you want: (r'^/(?P<slug>[-\w]+)/?$', 'object_detail', dict(news_list_info, slug_field='slug')), or, conversely: (r'^/(?P<news_entry>[-\w]+)/?$', 'object_detail', dict (news_list_info, slug_field='news_entry')), Regards, Tyson On May 18, 2007, at 10:30 AM, Panos Laganakos wrote: > I've set up the url pattern as: > (r'^/(?P<slug>[-\w]+)/?$', 'object_detail', dict(news_list_info, > slug_field='news_entry')), > > The news_list_info: > news_list_info = { > 'queryset': Entry.objects.all(), > 'allow_empty': True, > } > > and both list and detail templates are in: > /templates/news/entry_list.html and entry_detail.html > > While I can reach the list page just fine, I can't seem to reach > entry_detail.html, giving me a 'Page not found (404). --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---