(r'^/(.+)/$','proj.register.views.activate') (r'^(?P<path>.*)$', 'django.views.static.serve', {'document_root': '/home/ramanathan/media/'})
These are the two lines in my urls.py file.. If i give http://localhost:8000/90/ it is matched as http://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 -~----------~----~----~----~------~----~------~--~---