Re: environment variable DJANGO_SETTINGS_MODULE is undefined.

2012-10-24 Thread Mike Dewhirst
%s is undefined." % ENVIRONMENT_VARIABLE) ImportError: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined. >>> how do i fix it. what am i missing here You are directly importing a package which is on the Python path so the system f

Re: environment variable DJANGO_SETTINGS_MODULE is undefined.

2012-10-22 Thread Mike Dewhirst
ARIABLE) ImportError: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined. >>> how do i fix it. what am i missing here You are directly importing a package which is on the Python path so the system finds it ok. But, that package (django_tables2)

environment variable DJANGO_SETTINGS_MODULE is undefined.

2012-10-22 Thread DjgoNy
ne 184, in inner self._setup() File "c:\Python27\lib\site-packages\django\conf\__init__.py", line 40, in _setup raise ImportError("Settings cannot be imported, because environment variable %s is undefined." % ENVIRONMENT_VARIABLE) ImportError: Settings cannot be import

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

2012-06-26 Thread alvaroalo
ente estructura > > manage.py > miProyecto/ >__init__.py settings.py urls.py wsgi.py > > al posicionarme en el directorio raiz del proyecto me lanza el > siguiente error > ImportError: Settings cannot be imported, because environment variable > DJANGO_SETTINGS_MODULE

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

2012-06-26 Thread bruno desthuilliers
Proyecto con la > siguiente estructura > > manage.py > miProyecto/ >__init__.py settings.py urls.py wsgi.py > > al posicionarme en el directorio raiz del proyecto me lanza el > siguiente error > ImportError: Settings cannot be imported, because environmen

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

2012-06-25 Thread totechess
posicionarme en el directorio raiz del proyecto me lanza el siguiente error ImportError: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined. Anterior a esta version no me generaba esta estructura de archivos. ¿Como puedo corregir el problema? -- You received this

Re: Problem with DJANGO_SETTINGS_MODULE is undefined

2011-01-15 Thread Shawn Milochik
t up my Django > I have a project called 'mysite' > when I run: > $ django-admin.py runserver > > the terminal gives: > Error: Settings cannot be imported, because environment variable > DJANGO_SETTINGS_MODULE is undefined > > then I tried this: > $ export D

Re: Problem with DJANGO_SETTINGS_MODULE is undefined

2011-01-15 Thread Chen Xu
10:58 AM, Chen Xu wrote: > >> Hi, Django developers: >> I am very new here, trying to set up my Django >> I have a project called 'mysite' >> when I run: >> $ django-admin.py runserver >> >> the terminal gives: >> Error: Settings cannot b

Re: Problem with DJANGO_SETTINGS_MODULE is undefined

2011-01-15 Thread Praveen Krishna R
Error: Settings cannot be imported, because environment variable > DJANGO_SETTINGS_MODULE is undefined > > then I tried this: > $ export DJANGO_SETTINGS_MODULE=mysite.settings > > the terminal then gives me: > django-admin.py runserverError: Could not import settings 'mysit

Problem with DJANGO_SETTINGS_MODULE is undefined

2011-01-14 Thread Chen Xu
Hi, Django developers: I am very new here, trying to set up my Django I have a project called 'mysite' when I run: $ django-admin.py runserver the terminal gives: Error: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined then I tried this

DJANGO_SETTINGS_MODULE is undefined

2010-02-03 Thread neridaj
sgi.url_scheme'] = environ.get('HTTP_X_URL_SCHEME', 'http') return _application(environ, start_response) ImportError: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined. -- You received this message because you are subscr

Re: environment variable DJANGO_SETTINGS_MODULE is undefined

2009-05-11 Thread James Bennett
On Mon, May 11, 2009 at 9:45 AM, bconnors wrote: > there must be something I don't have. do i have to install something? You seem to be in need of a basic Python tutorial, one which will teach you about things like how to import modules before using them (because, for example, you seem to be hun

Re: environment variable DJANGO_SETTINGS_MODULE is undefined

2009-05-11 Thread bconnors
thanks for the advice, but #set DJANGO_SETTINGS_MODULE=mysite.settings #python manage.py syncdb --settings=settings # ln -s /usr/lib/python2.5/site-packages/pinax /home/pubuntu/pinax # python manage.py suncdb #curl -o pinax-boot.py http://svn.pinaxproject.com/pinax/trunk/scripts/pinax-boo t.pt #p

Re: environment variable DJANGO_SETTINGS_MODULE is undefined

2009-05-09 Thread NoviceSortOf
I'm not the world's leading expert -- but today I've solved the problem inside of my current python shell using os.environ.keys() I'll attempt to outline the basics, ">>>" indicates what i typed on the python shell command line "$" indicates what echoes back >>>import os # now to see what envi

Re: environment variable DJANGO_SETTINGS_MODULE is undefined

2009-05-07 Thread bconnors
here is the exact steps I follow: > > 1) cd C:\Django\mysite > > 2) set DJANGO_SETTINGS_MODULE=mysite.settings I've also tried set > > DJANGO_SETTINGS_MODULE=settings.py > > 3) python > > 4) >>> from django.template import Template > >>>> t =

Re: environment variable DJANGO_SETTINGS_MODULE is undefined

2009-05-07 Thread Sieker Adi Jörg
Hi, On 07.05.2009, at 16:02, bconnors wrote: > > I saw this chat related to DJANGO_SETTINGS_MODULE is undefined. > Hello I am new to Django. > I am trying to exercise "templates" through the interactive shell, > however I end up getting this error. Can anyone help? &g

environment variable DJANGO_SETTINGS_MODULE is undefined

2009-05-07 Thread bconnors
I saw this chat related to DJANGO_SETTINGS_MODULE is undefined. Hello I am new to Django. I am trying to exercise "templates" through the interactive shell, however I end up getting this error. Can anyone help? here is the exact steps I follow: 1) cd C:\Django\mysite 2) set DJANGO_SETTI

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

2008-11-10 Thread ayayalar
Thank you for the reply Karen. your suggestion worked just fine. On Nov 10, 9:29 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Mon, Nov 10, 2008 at 6:10 PM, ayayalar <[EMAIL PROTECTED]> wrote: > > > Hello I am new to Django. > > > I am trying to exercise "templates" through the interactive s

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

2008-11-10 Thread Karen Tracey
On Mon, Nov 10, 2008 at 6:10 PM, ayayalar <[EMAIL PROTECTED]> wrote: > > Hello I am new to Django. > > I am trying to exercise "templates" through the interactive shell, > however I end up getting this error. Can anyone help? > > here is the exact steps I follow: > > 1) cd C:\Django\mysite > >

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

2008-11-10 Thread ayayalar
R: ImportError: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

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 SetHa