Hi, all.
I have set up a url mapping that goes like this:
(r'enroll/$', 'enroll')
In my development environment this mapping is used when I visit '/enroll/'.
But in the production environment, the Django application is under '/activity/' and '/activity/enroll/' should be used.
Please tell me how do I get the correct url in both cases.
Thanks in advance.