Hello,

For some reason I'm getting a 404 in google chrome when I visit /
portfolio/. The url entered is /portfolio/ but it returns as a 404 at /
portfolio/undefined/ in the chrome developer tools window. I read a
post about some issues with chrome handling errors and to resolve it
by unchecking "Use a web service to help resolve navigation errors"
but this didn't help with my problem. I'm not sure why undefined is
being appended to the url, any ideas?

urls.py:

(r'^portfolio/', include('project.urls.web')),

project/urls/web.py:

urlpatterns = patterns('django.views.generic.list_detail',
    (r'^$', 'object_list', web_project_info_dict,
'project_web_archive_index'),
    (r'^(?P<slug>[-\w]+)/$', 'object_detail', web_project_info_dict),
)

If it was a real 404 why isn't my error page displayed i.e., when I
visit /portfolio/non-existent-slug, I get the proper 404 page.

>>> django.VERSION
(1, 2, 0, 'alpha', 0)

Thanks for any help!

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to