On Aug 23, 9:55 am, Amirouche <[EMAIL PROTECTED]> wrote: > > Then which is the part that's not working? > > well, I really don't know, without ssh it seems a bit tricky, even > feasible you may try to contact the hosting compagny. > > in the django.fcgi file that use to server python files, get the > current dire with os.path.abspath('.')
More reliable to use: os.path.dirname(__file__) Ie., the directory the file is located in. The current working directory of the process may be something entirely different depending on how things are setup. Graham --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---