DATABASES[“default”] is not what you hope it is.

The tutorial you reference has a comment thread addressing the same issue.

Can you try printing the contents of DATABASES into a log or something?

hth

- Tom


On Apr 20, 2015, at 7:59 AM, Flavio Barros <[email protected]> wrote:

> I'm following this tutorial: 
> http://www.benhavilland.com/blog/deploying-mezzanine-on-heroku/#rating-6
> 
> but i'm getting a strange error:
> 
> 14:54:39 web.1  | started with pid 14
> 14:54:40 web.1  | Traceback (most recent call last):
> 14:54:40 web.1  |   File "manage.py", line 10, in <module>
> 14:54:40 web.1  |     from settings import PROJECT_ROOT, PROJECT_DIRNAME
> 14:54:40 web.1  |   File "/app/settings.py", line 424, in <module>
> 14:54:40 web.1  |     set_dynamic_settings(globals())
> 14:54:40 web.1  |   File 
> "/app/.heroku/python/lib/python2.7/site-packages/mezzanine/utils/conf.py", 
> line 222, in set_dynamic_settings
> 14:54:40 web.1  |     shortname = db["ENGINE"].split(".")[-1]
> 14:54:40 web.1  | KeyError: u'ENGINE'
> 14:54:40 web.1  | exited with code 1
> 14:54:40 system | sending SIGTERM to all processes
> 
> What is this KeyError:u'Engine' ?
> 
> 
>       
> Flavio Barros
> Doutorando, Unicamp
> w:www.flaviobarros.net
> 
> Meu Blog Handwritten digit recognition – Part1
> "The tragedy of life is not that it ends so soon, but that we wait so long to 
> begin it." - W. M. Lewis
>  Get a signature like this: Click here! 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Mezzanine Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to