On Thu, Jul 12, 2007 at 08:45:33AM +0700, Yuri Baburov wrote: > Can't do experiments now, but my admin interface (django trunk) began > to work right after this middleware addition, that meant reverse url > were resolved somehow. > Snippet exactly change req.uri to req.script_name+req.uri, that gives > req.path. Am I right? If I'm not, you can change it to set > request.path to what you need.
Yeah, I think my urls.py situation would be resolved by setting request.path to
req.path_info, but that would break {% url %} and admin pages for me, I believe,
although I haven't put too much thought into it yet.
Really, as Malcolm & Graham pointed out, this is something that Django needs a
little help with...
Thanks for pointing out where the hack is best placed, though :)
-Forest
signature.asc
Description: Digital signature
