Okay I am finnally getting my brain around this. Thanks so much. I tried the code out and it works great, even on the login.
I appreciate everyone's help and patience. On Aug 8, 9:49 pm, Malcolm Tredinnick <malc...@pointy-stick.com> wrote: > On Sat, 2009-08-08 at 13:41 -0700, Streamweaver wrote: > > Let me clarify. This method handles the RequestContext obviously since > > it's a login but what I mean is the SCRIPT_NAME variable isn't set for > > the template and can't be read as far as I can tell. > > Nothing is automatically set for a template. If you want access to a > particular quantity in a template, pass it in. You could even create a > context processor if you want it every time. Typically, SCRIPT_NAME is > *not* required in templates, since things like the url template tag > already handle it automatically and constructing the correct URL for > many things is more complex than just crashing together a few strings, > so it tends to be done via template tags or in views. Thus, SCRIPT_NAME > isn't a likely candidate for something that would be passed in all the > time. > > Regards, > Malcolm --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---