Hi, if used in a view called from a http request, reverse() returns the URL with SCRIPT_NAME (e.g. /my-wsgi-scriptalias/myview/)
But if I call it from the shell, there is no SCRIPT_NAME since there is no http request. But if FORCE_SCRIPT_NAME is set, I think reverse() should use it. But it only returns '/myview/'. Is this a bug in the docs, code or in my brain? docs for reverse(): http://docs.djangoproject.com/en/dev/topics/http/urls/#reverse Thomas -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---