Hello,

This is the webpage you are looking for:
http://www.djangoproject.com/documentation/settings/

you should read the section called : "The django-admin.py utility" and
according to the os you are running you should set this variable.

I hope that help

On Jul 27, 3:11 pm, arf_cri <[EMAIL PROTECTED]> wrote:
> I forgot to say that I don't know how to make it work...  if it is not
> obvious :).
>
> On Jul 27, 3:07 pm, arf_cri <[EMAIL PROTECTED]> wrote:
>
> > Traceback (most recent call last):
> >   File "/usr/bin/django-admin.py", line 5, in ?
> >     management.execute_from_command_line()
> >   File "/usr/lib/python2.4/site-packages/django/core/management.py",
> > line 1563, in execute_from_command_line
> >     from django.utils import translation
> >   File "/usr/lib/python2.4/site-packages/django/utils/translation/
> > __init__.py", line 3, in ?
> >     if settings.USE_I18N:
> >   File "/usr/lib/python2.4/site-packages/django/conf/__init__.py",
> > line 28, in __getattr__
> >     self._import_settings()
> >   File "/usr/lib/python2.4/site-packages/django/conf/__init__.py",
> > line 53, in _import_settings
> >     raise EnvironmentError, "Environment variable %s is undefined." %
> > ENVIRONMENT_VARIABLE
> > EnvironmentError: 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 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to