Skip to content

Commit

Permalink
Deprecate 3 unused Django settings
Browse files Browse the repository at this point in the history
This commit deprecates 3 unused Django settings:

OFFLINE_OUTPUT_DIR = ''
GOOGLE_ANALYTICS_ID = ''
GOOGLE_ANALYTICS_SITE = ''

These were all added back in April 2016 (!) but as far as I can tell
are not used anywhere. Therefore we can remove them.
  • Loading branch information
chosak authored Dec 8, 2023
1 parent 717e971 commit ac1f842
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions cfgov/cfgov/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,15 +460,8 @@
# override this based on the SAML_AUTH environment variable.
SAML_AUTH = False

# When we generate an full HTML version of the regulation, we want to
# write it out somewhere. This is where.
OFFLINE_OUTPUT_DIR = ""

DATE_FORMAT = "n/j/Y"

GOOGLE_ANALYTICS_ID = ""
GOOGLE_ANALYTICS_SITE = ""

# CDNs
WAGTAILFRONTENDCACHE = {}

Expand Down

0 comments on commit ac1f842

Please sign in to comment.