when i am running the project it is running perfectly fine but when i am trying to open django-admin.py shell the error:
ImproperlyConfigured: Requested setting USE_I18N, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
is generated. Not only when opening the django-admin.py shell but also when testing and using pychecker.
i follow the doc.djangoproject and opened the python shell and append the projectname.setting to the sys.path. when i import first time it is ok but when i come out of python shell and re enter to the shell the projectname.setting is missing from the sys.path
i am totally blank what is going on around here can any body have the solution for this.... thanks in advance you guyz..
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment