Skip to content

Commit

Permalink
fix(sample_project): move generic and core to end of INSTALLED_APPS
Browse files Browse the repository at this point in the history
This way it is possible for all the other apps to override and extend
the templates.
  • Loading branch information
b1rger committed Sep 6, 2024
1 parent 5257e8d commit d029ed3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sample_project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@
"drf_spectacular",
# The APIS apps
"apis_core.relations",
"apis_core.core",
"apis_core.generic",
"apis_core.apis_metainfo",
"apis_core.apis_relations",
"apis_core.apis_entities",
Expand All @@ -57,6 +55,10 @@
# APIS history modules tracks changes of instances over
# time and lets you revert changes
"apis_core.history",
# The core APIS apps come last, so other apps can override
# and extend their templates
"apis_core.generic",
"apis_core.core",
]

MIDDLEWARE = [
Expand Down

0 comments on commit d029ed3

Please sign in to comment.