Never import Django stuff in your settings (except core.exceptions) unless you
REALLY know what you are doing
--
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 dj
A few things might be causing the problem:
- is settings.SECRET_KEY empty? If so, it's easy enough to fix
- in your settings, you might be importing a custom module *before* defining
the SECRET_KEY causing dependency problems
- you're doing something wrong in your settings (e.g. impor
In python.py you just need to change the following line
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "projectname.settings")
no other changes required.
this error should be from settings.py
for details on python.py
read same doc as your django version.
https://docs.djangoproject.com/en/dev
Hi guys i have the following errors when edit python manage.py syncdb :
Traceback (most recent call last):
File "manage.py", line 11, in
execute_manager(settings)
File
"/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 469, in execute_manager
utility.e
4 matches
Mail list logo