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',
...
]
Source:stackexchange.com