On Tue, Sep 8, 2009 at 4: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.


All you need is:
reverse('summary_in_development')

--~--~---------~--~----~------------~-------~--~----~
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