Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔧 [maykinmedia/open-api-framework#40] Remove sites dependency #223

Merged
merged 1 commit into from
Aug 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/openklant/conf/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
"openklant.components.klantinteracties",
"openklant.components.contactgegevens",
]
# `django.contrib.sites` is installed by Open API Framework by default
# but we don't want to rely on it anymore (e.g. when generating the label for 2FA)
INSTALLED_APPS.remove("django.contrib.sites")

# FIXME should these be part of OAf?
MIDDLEWARE.insert(
Expand Down
4 changes: 0 additions & 4 deletions src/openklant/fixtures/default_admin_index.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,6 @@
"admin_index",
"appgroup"
],
[
"sites",
"site"
],
[
"log_outgoing_requests",
"outgoingrequestslogconfig"
Expand Down
Loading