Skip to content

Commit

Permalink
Remove the django.contrib.sites from INSTALLED_APP
Browse files Browse the repository at this point in the history
Signed-off-by: tdruez <tdruez@nexb.com>
  • Loading branch information
tdruez committed Apr 23, 2024
1 parent 0d5d6da commit 98eac00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dejacode/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
# timezone as the operating system.
TIME_ZONE = env.str("TIME_ZONE", default="US/Pacific")

SITE_ID = env.int("SITE_ID", default=1)
SITE_URL = env.str("SITE_URL", default="")

ENABLE_SELF_REGISTRATION = env.bool("ENABLE_SELF_REGISTRATION", default=False)
Expand Down Expand Up @@ -304,14 +303,15 @@ def gettext_noop(s):
# On the other hand, the management commands will override each others if the
# app is declared after another in the list.
PREREQ_APPS = [
# Must come before Third-party apps for proper templates override
"dje",
# Django built-in
"django.contrib.auth",
"django.contrib.contenttypes",
"django.contrib.sessions",
"django.contrib.messages",
"django.contrib.staticfiles",
"django.contrib.sitemaps",
"django.contrib.sites",
# Third-party apps
"django.contrib.humanize",
"django.contrib.postgres",
"grappelli.dashboard",
Expand Down

0 comments on commit 98eac00

Please sign in to comment.