I am working with django 1.4. And this error appeared:
TemplateDoesNotExist at /admin/ admin/login.html
I tried to reinstall django, but i did not work... Please Help!
You can try to add the admin tempates path name to TEMPLATES['DIRS'] in your django settings.py
The default TEMPLATES:
'DIRS': [os.path.join(BASE_DIR, 'templates')]
change to if you are using Django project created by Pycharm:
'DIRS': [os.path.join(BASE_DIR, 'templates'),
os.path.join(BASE_DIR, 'venv/lib/site-packages/django/contrib/admin/templates')]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With