You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Placing this last ensures any templates provided by Arches Applications
# take precedence over core arches templates in arches/app/templates.
INSTALLED_APPS+= ("arches.app",)
However, this has the effect of ignoring core arches's own overrides of the Django admin templates, e.g. the reset password form at templates/registration/reset_password_form.html, because django.contrib.admin is near the top of the ordered installed apps.
Demo
Expected:
Actual:
Discussion
Should we simply order django.contrib.admin last? This will require user action, which we don't like to do in patches. There might be a way to simply prepend the directory with these specific overrides inside our build_templates_config() hook?
In 7.6, as part of finalizing arches applications patterns, we ordered
INSTALLED_APPS
such that core arches always comes last:arches/arches/settings.py
Lines 381 to 383 in 3050821
However, this has the effect of ignoring core arches's own overrides of the Django admin templates, e.g. the reset password form at templates/registration/reset_password_form.html, because
django.contrib.admin
is near the top of the ordered installed apps.Demo
Expected:
Actual:
Discussion
Should we simply order
django.contrib.admin
last? This will require user action, which we don't like to do in patches. There might be a way to simply prepend the directory with these specific overrides inside ourbuild_templates_config()
hook?cc/ @chrabyrd
The text was updated successfully, but these errors were encountered: