Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Override django admin, #11668 #11682

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
9 changes: 8 additions & 1 deletion releases/7.6.4.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,14 @@ JavaScript:
pip install --upgrade arches==7.6.4
```

3. If you are running Arches on Apache, restart your server:
3. Remove "django.contrib.admin" from INSTALLED_APPS and add the following after INSTALLED_APPS
```
INSTALLED_APPS += ("arches.app",)
INSTALLED_APPS += ("django.contrib.admin",)
```

4. If you are running Arches on Apache, restart your server:
```
sudo service apache2 reload
```

Loading