[EMAIL PROTECTED] wrote: > Hello all! > > Is there an easy way to fake the request path in django and/or pyton? > I'm looking for something like this: > a django page which is called with this URL: > http://www.test.ch/test1/test2/test3 > should thinks it is run in the top-folder that means: http://www.test.ch > > I need that because I have to use somehow already given templates, > which I cannot edit, and which believe they are always run in the top- > domain folder. >
I'm not really sure what you mean by "believe' ... maybe post some template code and resulting links. My guess is you can do what you in urls.py. This is sounding like the "portable app" problem, discussed at http://groups.google.com/group/django-hotclub Carl K --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---