Skip to content

Commit

Permalink
fix(django): Disable admin on prod (#23742)
Browse files Browse the repository at this point in the history
  • Loading branch information
BYK authored Feb 9, 2021
1 parent d8ab7f2 commit 66f0115
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sentry/conf/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ def env(key, default="", type=None):

DEBUG = IS_DEV

ADMIN_ENABLED = DEBUG

MAINTENANCE = False

ADMINS = ()
Expand Down

0 comments on commit 66f0115

Please sign in to comment.