Re: EnvironmentError: Could not import settings

2008-09-01 Thread Daniel Roseman
On Sep 1, 5:39 pm, "Weber Sites" <[EMAIL PROTECTED]> wrote: > How do I know which ver? What does it say when you start up the development server? Or in the shell, you can do >>> import django >>> django.get_version() u'1.0-alpha-SVN-8210' To be honest, I'm not sure you actually want the

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

Re: EnvironmentError: Could not import settings

2008-09-01 Thread Daniel Roseman
On Sep 1, 3:10 pm, "Weber Sites" <[EMAIL PROTECTED]> wrote: > Thanks, looks like we are making progress :) > > Now I get > > Page not found (404) > Request Method: GET > Request URL:http://django.weberdev.com:82/mysite/ > > Using the URLconf defined in mysite.urls, Django tried these URL

RE: EnvironmentError: Could not import settings

2008-09-01 Thread Weber Sites
ספטמבר 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 keep getting this

Re: EnvironmentError: Could not import settings

2008-09-01 Thread Daniel Roseman
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 keep getting this error : > > EnvironmentError: Could not import settings 'mysite.settings' (Is it

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: anybody help me! raise EnvironmentError

2007-07-17 Thread Nathan Ostgard
As Collin said, if your script isn't running from within a "proper" Django environment, you have to ensure that your settings module is correctly specified. You can do it several ways... 1. Using Django's setup_environ: # put before any django imports, at the top of your file from

Re: anybody help me! raise EnvironmentError

2007-07-17 Thread Collin Grady
If you don't use "manage.py shell" you must set your environment properly - set the DJANGO_SETTINGS_MODULE and PYTHONPATH properly, similar to how the modpython docs show you to set them for that to work. --~--~-~--~~~---~--~~ You received this message because

anybody help me! raise EnvironmentError

2007-07-17 Thread [EMAIL PROTECTED]
le "D:\Python25\Lib\site-packages\django\conf\__init__.py", line 28, in __getattr__ self._import_settings() File "D:\Python25\Lib\site-packages\django\conf\__init__.py", line 53, in _import_settings raise EnvironmentError, "Environment variable %s is undefine

Re: EnvironmentError?

2006-08-14 Thread Steven Armstrong
n _import_settings > self._target = Settings(settings_module) > > File "/usr/lib/python2.4/site-packages/django/conf/__init__.py", line > 82, in __init__ > raise EnvironmentError, "Could not import settings '%s' (Is it on > sys.path? Does it have syntax er

EnvironmentError?

2006-08-14 Thread Tom Davis
tr__ self._import_settings() File "/usr/lib/python2.4/site-packages/django/conf/__init__.py", line 54, in _import_settings self._target = Settings(settings_module) File "/usr/lib/python2.4/site-packages/django/conf/__init__.py", line 82, in __init__ raise EnvironmentE