getsentry / getsentry/self-hosted
ADMIN_ENABLE variable not used
Open
Bug
- Dominant language
- Shell
- Stars
- 9.6k
- Forks
- 2k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 15
Description
### Version
21.7.0
### Steps to Reproduce
Setting variable ADMIN_ENABLE = False does not disable the Django admin panel.
`Django.contrib.admin` is unconditionally added here (https://github.com/getsentry/sentry/blob/a741ce3cadef2537932e9d1262a723b9559bd738/src/sentry/conf/server.py#L322) but should not be.
Thank you,
Eduardo
### Expected Result
The admin panel should not be available.
### Actual Result
The admin panel is available.
Contributor guide
Assessment
This issue has not been assessed yet.