#8393: Test client handler should call set_script_prefix
---------------------------------------+------------------------------------
Reporter: jcassee | Owner: nobody
Status: new | Milestone: 1.0 maybe
Component: Unit test system | Version: SVN
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------+------------------------------------
Changes (by mtredinnick):
* milestone: => 1.0 maybe
Comment:
I'm a little worried that this is fixing some kind of problem at the wrong
level. If you do absolutely nothing, it should be the same as if the
script prefix is '/'. This is because lots of code that relies on the
script prefix (anything calling `reverse()`) can be called outside of
Django's request-response loop. For example, in a cronjob.
So I'm not sure why anything at all needs to be done here. If it does need
to be done, why is that so? What fails if you don't make this change?
--
Ticket URL: <http://code.djangoproject.com/ticket/8393#comment:2>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---