Currently it is not possible to override templates of external apps, leave it as a special case or add one of those two solutions.
Add global template directories definition:
TEMPLATE_DIRS = (
os.path.join(BASE_DIR, '{{ project_name }}/common/templates'),
)
Or move common app before external apps:
# Application definition
INTERNAL_APPS = (
- '{{ project_name }}.common',
)
@@ -47,6 +46,7 @@ INSTALLED_APPS = (
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
+ '{{ project_name }}.common', # load common app before external apps to allow overriding of templates
) + EXTERNAL_APPS + INTERNAL_APPS
Currently it is not possible to override templates of external apps, leave it as a special case or add one of those two solutions.
Add global template directories definition:
Or move common app before external apps: