3 ms·
If you follow the installation instructions as given you get: if settings.SECRET_KEY == '': AttributeError: 'module' object has no attribute 'SECRET_KE
by andybak 13y ago
If you follow the installation instructions as given you get:
if settings.SECRET_KEY == '':
AttributeError: 'module' object has no attribute 'SECRET_KEY'
when you get to the first syncdb
The cause seems to be that funfactory is installed globally initially (to bootstrap things) so when you switch into the virtualenv to run syncdb you need to install it again so it's also in the virtualenv.
Also - the docs don't tell you to activate the virtualenv which might confused some people but I am guessing that's pretty essential.
And even when I fix the above problem I get a new error:
ImportError: No module named django.utils.functional
Looking in the virtualenv it seems that django doesn't get installed automatically.
Is anyone else seeing these problems following the official docs or am I being a doofus?
- deleted 13y ago[deleted]