Tuesday, June 26, 2012

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

Désolé, je ne parle pas espagnol...

On Monday, June 25, 2012 7:49:01 AM UTC+2, totechess wrote:
Tengo el siguiente problema. Con la última actualización de django 1.5
supongamos estoy en un directorio x y al hacer django-admin
startproject miProyecto me genera la carpeta miProyecto 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 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 message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/b5btuIeux7UJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment