Re: Root url returning 302 FOUND

2009-12-20 Thread Kieran Brownlees
I probably should of tried it first. Your url setup works fine for me. Kieran On Dec 21, 5:10 pm, Kieran Brownlees wrote: > My guess would be the root url never ends without a '/' - ie to match > the root url you need a '/' somewhere. > > Try making the home_view regex r'^/$' > > Kieran > > On D

Re: Root url returning 302 FOUND

2009-12-20 Thread Kieran Brownlees
My guess would be the root url never ends without a '/' - ie to match the root url you need a '/' somewhere. Try making the home_view regex r'^/$' Kieran On Dec 21, 5:05 pm, Kegan Gan wrote: > Anyone can shed some light to the matter? > > * Bring this post to the front. > > On Dec 18, 1:21 am,

Re: Root url returning 302 FOUND

2009-12-20 Thread Kegan Gan
Anyone can shed some light to the matter? * Bring this post to the front. On Dec 18, 1:21 am, Kegan Gan wrote: > In myrooturls.py I have the following: > > urlpatterns = patterns('', >     (r'^', include('story.urls')), > ) > > In my story app, I have the following urls.py: > > urlpatterns = pat

Root url returning 302 FOUND

2009-12-17 Thread Kegan Gan
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 th