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:<your_domain>/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 another url file than the one defined in your ROOT_URLCONF?
If so are you properly "including" this one from your root urls.py?
Details on include here: 
http://docs.djangoproject.com/en/dev/topics/http/urls/#including-other-urlconfs

You'll find a wealth of information about urls in django here:
http://docs.djangoproject.com/en/dev/topics/http/urls/

Once you get it working, you may find it more convenient to use named
url patterns: 
http://docs.djangoproject.com/en/dev/topics/http/urls/#naming-url-patterns


On Sep 8, 1:49 pm, Streamweaver <streamwea...@gmail.com> 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 documentation I would think I can get the URL by using
>
> reverse('dwrangler.project.views.summary_in_development')
>
> But I keep getting a NoReverseMatch error.  I have tried several
> different formats but keep getting similar errors.
>
> I must be missing something obvious and would be thankful if something
> could point me in the right direction.
>
> Thanks
--~--~---------~--~----~------------~-------~--~----~
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