Skip to content

Commit

Permalink
Move down django admin in installed app, #11668
Browse files Browse the repository at this point in the history
  • Loading branch information
njkim committed Dec 6, 2024
1 parent e46e0ca commit f94a089
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ SEARCH_THUMBNAILS = False

INSTALLED_APPS = (
"webpack_loader",
"django.contrib.admin",
"django.contrib.auth",
"django.contrib.contenttypes",
"django.contrib.sessions",
Expand All @@ -149,6 +148,7 @@ INSTALLED_APPS = (
# Placing this last ensures any templates provided by Arches Applications
# take precedence over core arches templates in arches/app/templates.
INSTALLED_APPS += ("arches.app",)
INSTALLED_APPS += ("django.contrib.admin",)

MIDDLEWARE = [
"corsheaders.middleware.CorsMiddleware",
Expand Down
2 changes: 1 addition & 1 deletion arches/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,6 @@

INSTALLED_APPS = (
"webpack_loader",
"django.contrib.admin",
"django.contrib.auth",
"django.contrib.contenttypes",
"django.contrib.sessions",
Expand All @@ -377,6 +376,7 @@
# Placing this last ensures any templates provided by Arches Applications
# take precedence over core arches templates in arches/app/templates.
INSTALLED_APPS += ("arches.app",)
INSTALLED_APPS += ("django.contrib.admin",)

MIDDLEWARE = [
"corsheaders.middleware.CorsMiddleware",
Expand Down
6 changes: 6 additions & 0 deletions releases/7.6.4.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,9 @@ JavaScript:
```
sudo service apache2 reload
```
4. Remove "django.contrib.admin" from INSTALLED_APPS and add the following after INSTALLED_APPS
```
INSTALLED_APPS += ("arches.app",)
INSTALLED_APPS += ("django.contrib.admin",)
```

0 comments on commit f94a089

Please sign in to comment.