If you run it on localhost it works fine but when you run site in
production static files fails to work. So you have to add static root in
Django setting.py file like STATIC_ROOT = os.path.join(BASE_DIR, 'static')
and then run python manage.py collectstatic command. It will collect all
the server s
I think the problem is with either not mention 'template' in directory or
you didn't register app name in installed apps. If you made your template
folder outside the app and in the directory where the manage.py file. You
have to mention your folder in directories in settings.py.
On Fri, Aug 14, 2
2 matches
Mail list logo