On Mon, 2007-10-22 at 12:20 +0000, Rufman wrote: > Hello > > How can I change a url from /something/1/ to /something/2/. I tried it > with request.path. The path variable of the request object passed to > the template (with RequestContext) is the one that I defined in the > view (i.e. /something/2/), but the url is still the old one. Is there > another variable in the request object that is responsible for the > formating of the url? Or is the request object not used not define the > url?
I think you might need to explain what problem you are really trying to solve. This request doesn't make a lot of sense on its own. So, why are you needing to change the URL? For the purposes of the internal views? For the purposes of what the client sees? You've gone a little bit too low-level, too quickly here for us to be able to necessarily give good advice just from this description. Regards, Malcolm -- Save the whales. Collect the whole set. http://www.pointy-stick.com/blog/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---

