That is to say, the home directory of the user 'django' is '/home/ django'...
On Jan 5, 1:09 am, Josh Ourisman <[EMAIL PROTECTED]> wrote: > Ok, I'm still having problems. :( > > As near as I can tell Django is installed properly, and my project is > configured correctly (I'm able to run manage.py syncdb and it actually > does create the proper tables in the database). I created a separate > user called django with a home directory of /home/directory to house > my Django projects. However, when I try and preview the domain through > plesk (the domain name still points to my old server while I try and > get this working) I just get normal test files that plesk installs. > > Here is the exact text of my vhosts.conf file, the name of my project > is 'dydx': > SetHandler python-program > AddHandler mod_python.py > > PythonPath "['/home/django'] + sys.path" > PythonHandler django.core.handlers.modpython > SetEnv DJANGO_SETTINGS_MODULE dydx.settings > PythonDebug Off > > <Location "/admin-media"> > SetHandler None > </Location> > > Is there something I'm missing? Is it just that it doesn't work if I > use plesk's preview function and will work when I actually switch over > my DNS settings? > > On Jan 3, 6:42 pm, Katie Lohrenz <[EMAIL PROTECTED]> wrote: > > > myproject.settings is relative to your python path. > > > Look at this line: > > > PythonPath "['/path/to/django'] + sys.path" > > > /path/to/django is the (hypothetical) folder where all my django > > projects live. So inside it is a folder called myproject which has > > settings.py in it. > > > (And if you have more questions and would prefer to email me directly, > > feel free. I'm happy to help.) > > > On Jan 3, 4:27 pm, Josh Ourisman <[EMAIL PROTECTED]> wrote: > > > > Perfect, exactly what I've been looking for. Thanks! > > > > One other question that I haven't really been able to find a straight > > > answer on: what am I actually supposed to replace myproject.settings > > > with? Some people seem to be saying that it needs to be the path to > > > the settings.py file for my project, is that the case? What should the > > > path be relative to? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" 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-users?hl=en -~----------~----~----~----~------~----~------~--~---

