Skip to content

Commit

Permalink
Temporary fix for breaking change in django-allauth
Browse files Browse the repository at this point in the history
This should be removed once the corresponding fix upstream in
`django-composed-confiugration` is merged.
kitware-resonant/django-composed-configuration#189
  • Loading branch information
mvandenburgh committed Sep 11, 2023
1 parent 6cc7434 commit 24374a6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dandiapi/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ def mutate_configuration(configuration: type[ComposedConfiguration]):
'dandiapi.zarr.apps.ZarrConfig',
] + configuration.INSTALLED_APPS

# TODO: remove this when the upstream fix is merged
# (https://github.com/girder/django-composed-configuration/pull/189)
configuration.MIDDLEWARE += [
'allauth.account.middleware.AccountMiddleware',
]

# Install guardian
configuration.INSTALLED_APPS += ['guardian']

Expand Down

0 comments on commit 24374a6

Please sign in to comment.