Hi Giuseppe.

> As i said, i need to pass in my URL a <code> variable, wich is the
> result of a md5 digest.
> (no private information... only a validation key).
>
> Obviously i tried with
> (r'^users/activate_user/(?P<code>)/', 'views.register'),
> (r'^users/activate_user/(?P<code>[a-zA-Z0-9%\-]+=)/',
> 'views.register'),
> but it doesn't work: Django always return 404.

It works for me if the code ends with a single equals sign.
e.g.
http://localhost/users/activate_user/abc123=/

If you're stuck, maybe you could post a couple of example urls that
give you 404 errors.

Scott


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to