On 23 sep, 02:01, Bobby Roberts <[EMAIL PROTECTED]> wrote: > On Sep 22, 6:11 pm, Erik Allik <[EMAIL PROTECTED]> wrote: > > > Shouldn't that be os.path.abspath(os.path.dirname(__file__)) instead > > just in case the .py file is executed with a relative path? > > > And Bobby, I would instead use the Sites framework to compute the URL > > of the site, not rely on a local folder name. > > Hi all - > > let me clarify things. this is a straight python platform at the > moment.
Err... Then why are you asking on the Django's newsgroup ??? comp.lang.py is the place for general Python questions, you know ? (snip OT question) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---