Re: Having Trouble with Reverse method

2009-09-11 Thread Peter Coles
Hrm… If your server is serving the actual page fine, then it should be configured all right. I'll have to take a different approach, maybe I'm overlooking where and how you're doing this? 1. Is this is failing when you do the reverse from the shell? Do you have all the proper environment variabl

Re: Having Trouble with Reverse method

2009-09-09 Thread Streamweaver
Yet more info here. This might be a particular problem due to the particular method being called in multiple URL patterns so I tried making it and calling a named URL pattern but am getting the same message. On Sep 9, 5:18 pm, Streamweaver wrote: > Thanks for all the replies.  I'm on Django 1.

Re: Having Trouble with Reverse method

2009-09-09 Thread Streamweaver
Thanks for all the replies. I'm on Django 1.0.2 btw if it makes a difference, I see the extra-patterns. I'm also running this via the manage.py runserver on a development machine and not in staging or production. For the original authors, those variations turn up the same error. To Peters enum

Re: Having Trouble with Reverse method

2009-09-08 Thread Peter Coles
What you provided looks correct -- which means that something else is probably broken... Some things to investigate: 1. If you manually go that url: http:/in_development/ does anything get served? 2. Is your ROOT_URLCONF setup to properly point to this file in your settings file? 3. Is this anot

Re: Having Trouble with Reverse method

2009-09-08 Thread Ulysses Almeida
Hi there, On Tue, 8 Sep 2009 10:49:30 -0700 (PDT), Streamweaver wrote: > > I'm having trouble understanding the output of the reverse method. > > I have the following URL pattern: > > urlpatterns = patterns('dwrangler.project.views', > (r'^in_development/$', 'summary_in_development'), > )

Re: Having Trouble with Reverse method

2009-09-08 Thread Joshua Russo
On Tue, Sep 8, 2009 at 4:49 PM, Streamweaver wrote: > > I'm having trouble understanding the output of the reverse method. > > I have the following URL pattern: > > urlpatterns = patterns('dwrangler.project.views', >(r'^in_development/$', 'summary_in_development'), > ) > > from the documentat

Having Trouble with Reverse method

2009-09-08 Thread Streamweaver
I'm having trouble understanding the output of the reverse method. I have the following URL pattern: urlpatterns = patterns('dwrangler.project.views', (r'^in_development/$', 'summary_in_development'), ) from the documentation I would think I can get the URL by using reverse('dwrangler.proj