In my root urls.py I have the following: urlpatterns = patterns('', (r'^', include('story.urls')), )
In my story app, I have the following urls.py: urlpatterns = patterns('', url(r'^$', home_view, name='story-home'), url(r'^create/$', home_view, name='story-create'), ) Running on the localhost:8000, the 'story-create' url correctly return 200 OK. But the 'story-home' url return a 302 FOUND. For example, using curl: $ curl -I http://localhost:8000/ HTTP/1.0 302 FOUND Date: Thu, 17 Dec 2009 15:52:54 GMT Server: WSGIServer/0.1 Python/2.6.4 Content-Type: text/html; charset=utf-8 Location: http://localhost:8000/ Why is it returning 302 FOUND? How can I fix this? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.