News for hackers. Stuff that matters.
Re:Mozilla Playdoh, a web application template based on Django by andybak on Sunday August 04, 2013 @05:33AM (#6155136)
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?

There are no comments on this comment yet.