Saturday, January 30, 2010

Re: URL Matching: 404 Error

Ah, I see, the problem is with the keys.., not the URLs

On 30 Jan, 22:16, When ideas fail <andrewkenyon...@gmail.com> wrote:
> Hi, I seem to be having a problem matching one of my URLs.
> I have this URL in my .py file in one of my user app.
>
>  url(r'^activate/(?P<activation_key>\w+)/$',
>                            activate,
>                            name='registration_activate'),
>
> and then thats added to my project urls:
>
> (r'^users/', include('mysite.users.urls')),
>
> but then if I try to go onhttp://localhost:8080/mysite/users/activate/sha1$7a0a7$37aacf25bd9d26...
>
> it says Page not found (404)
>
> but then it shows the list of URL patterns on the debug screen
> including:
>
> ^users/ ^activate/(?P<activation_key>\w+)/$.
>
> All my other URLs work fine, could someone suggest what might be wrong
> with this one?
>
> 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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate