Open orzarchi opened 6 years ago
I Have the same problem. When I run the migrate command, the console shows me KeyError: 'BASE_DIR' message.
Well, I put the .settings(locals()) at the end of settings.py. Sorry but I did not understand the "at the very bottom" expression.
@mariomoraing thx placing the django_heroku.settings(locals()) at the very end worked
Seems like this project has an implicit dependency on BASE_DIR being defined in settings.py. While this is the case in the default project created by django-admin, it doesn't appear, for example, in the popular django cookie-cutter project.