We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7426499 + ca4b478 commit 0817a5dCopy full SHA for 0817a5d
dandiapi/settings.py
@@ -202,8 +202,8 @@ def mutate_configuration(configuration: type[ComposedConfiguration]):
202
203
204
class HerokuStagingConfiguration(HerokuProductionConfiguration):
205
- # The staging configuration enables wildcards in OAuth redirect URIs in order
206
- # to support Netlify deploy previews.
207
- OAUTH2_PROVIDER = {
208
- 'ALLOW_URI_WILDCARDS': True,
209
- }
+ @staticmethod
+ def mutate_configuration(configuration: type[ComposedConfiguration]):
+ # The staging configuration enables wildcards in OAuth redirect URIs in order
+ # to support Netlify deploy previews.
+ configuration.OAUTH2_PROVIDER['ALLOW_URI_WILDCARDS'] = True
0 commit comments