Django template not found on production, but in dev is fine
When I run the app in dev mode (./manage.py runserver 0.0.0.0:9090) everything works fine. The template is rendered and everything is great. When I reload the production web server(cherokee) all I get is the Django template not found error.
I realize that this is a bit vague so feel free to let me know what info I need to share. I can't help but to think that I've got some simple mistake, but I can't find an开发者_运维技巧yone with the same issue.
See http://signstreak.com/ for the error I'm referencing.
EDIT This is literally the same code base. I'm very early on in development. I've so far been just creating the app using ssh+vim. So both dev and production is running the same code, on the same machine, at the same time.
I also just noticed that my DB settings are not getting imported. Strange. It is almost as if some random stock settings.py is being used.
Thanks,
-KerryYour TEMPLATE_DIRS
variable is empty.
If you fix that, it will probably work again :)
精彩评论