[Fixed]-Project not finding my reusable app's admin template override

1👍

Django’s template loader looks for templates in the order that apps are defined in INSTALLED_APPS. In your case you must have defined django.contrib.admin ahead of your app, so Django will always look there first and use the first template it finds.

Change it so that your app is first in the list:

INSTALLED_APPS = [
    'myapp',
    'django.contrib.admin',
    ...
]

Leave a comment