Using Django with pache

2008-08-31 Thread Weber Sites
I'm going over Tutorial01 and Tutorial02 and I'm not sure how to use the admin with Apache. The tutorial suggested to keep "mysite" out of the webroot so where do i point apache to? berber --~--~-~--~~~---~--~~ You received this message because you are subscribed

EnvironmentError: Could not import settings

2008-09-01 Thread Weber Sites
Hi I'm trying to get the the tutorial02 (mysite) to work with apache. No matter what I do I keep getting this error : EnvironmentError: Could not import settings 'mysite.settings' (Is it on sys.path? Does it have syntax errors?): No module named mysite.settings SetHandler python-program

RE: EnvironmentError: Could not import settings

2008-09-01 Thread Weber Sites
: יום ב 01 ספטמבר 2008 15:57 To: Django users Subject: Re: EnvironmentError: Could not import settings On Sep 1, 1:52 pm, "Weber Sites" <[EMAIL PROTECTED]> wrote: > Hi > > I'm trying to get the the tutorial02 (mysite) to work with apache. > No matter what I do I kee

RE: EnvironmentError: Could not import settings

2008-09-01 Thread Weber Sites
How do I know which ver? -Original Message- From: django-users@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Roseman Sent: יום ב 01 ספטמבר 2008 17:48 To: Django users Subject: Re: EnvironmentError: Could not import settings On Sep 1, 3:10 pm, "Weber Sites&quo

ImportError: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined.

2008-09-02 Thread Weber Sites
I'm using LAMP with Django 1.0 B2 and mod_python. going through http://www.djangobook.com/en/1.0/chapter20/ I get : ImportError: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined. in my apache2 httpd-vhosts.conf i have SetHandler

name 'admin' is not defined

2008-09-02 Thread Weber Sites
Hi I'm trying to follow the Tutorial02 and once i uncomment the admin lines in urls.py i get : ImproperlyConfigured at /mysite/ Error while importing URLconf 'mysite.urls': name 'admin' is not defined berber --~--~-~--~~~---~--~~ You received this message becaus