diff --git a/arches/install/arches-templates/project_name/settings.py-tpl b/arches/install/arches-templates/project_name/settings.py-tpl index 332f545a68d..d118206106a 100644 --- a/arches/install/arches-templates/project_name/settings.py-tpl +++ b/arches/install/arches-templates/project_name/settings.py-tpl @@ -125,7 +125,6 @@ SEARCH_THUMBNAILS = False INSTALLED_APPS = ( "webpack_loader", - "django.contrib.admin", "django.contrib.auth", "django.contrib.contenttypes", "django.contrib.sessions", @@ -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", diff --git a/arches/settings.py b/arches/settings.py index c304b9159f0..27457b409f2 100644 --- a/arches/settings.py +++ b/arches/settings.py @@ -355,7 +355,6 @@ INSTALLED_APPS = ( "webpack_loader", - "django.contrib.admin", "django.contrib.auth", "django.contrib.contenttypes", "django.contrib.sessions", @@ -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", diff --git a/releases/7.6.4.md b/releases/7.6.4.md index 202f95690e1..6d65a98db2d 100644 --- a/releases/7.6.4.md +++ b/releases/7.6.4.md @@ -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 ``` +