On Sep 13, 1:35 pm, ramanathan <mraman2...@gmail.com> wrote:
> (r'^/(.+)/$','proj.register.views.activate')
>
Change to
(r'^(.+)/$','proj.register.views.activate')
(notice the removed forward slash in the beginning otherwise you have
to expect the URL to be
http://localhost:8000//90/

> (r'^(?P<path>.*)$', 'django.views.static.serve',
>  {'document_root': '/home/ramanathan/media/'})
>
> These are the two lines in my urls.py file..
>
> If i givehttp://localhost:8000/90/   it is matched 
> ashttp://localhost:8000/media/90/ insetad of getting redirected to
> activate function  in views.py file.
>
> Please Help me out.
>
> Regards,
> Ramanathan M
--~--~---------~--~----~------------~-------~--~----~
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