Closed dancaron closed 3 years ago
Removing 'APP_DIRS' and adding django.template.loaders.app_directories.Loader
to 'loaders' seems to have solved the issue.
In other words, you don't need django-apptemplates
at all anymore for your use case? Can you confirm?
After I changed the order of my INSTALLED_APPS, I was able to override django-admin-interface package without django-apptemplates. Appreciate the quick response.
@dancaron I'm facing the exact same issue in the exact same context. Do you happen to remember what exactly you did to overwrite django-admin-interface? Thanks
@pboes Sorry, just getting to this message now. Did you resolve your issue?
@pboes Check INSTALLED_APPS, and try moving the order of the entries up or down.
Thanks @dancaron, I did solve it in the end. Thanks for getting back to me.
Context: Trying to over ride base_site.html when using django-admin-interface package. I have one file in main/templates/admin, which is base_site.html. And have
{% extends "admin_interface:admin/base_site.html" %}
at top.KeyError:
settings.py
Removing 'APP_DIRS' causes a TEMPLATE DOES NOT EXIST error.
Using django-admin-interface package.