mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-27 08:29:59 +03:00
check removed_settings at startup
This commit is contained in:
parent
a1b35bb44b
commit
9ac98b0c70
|
@ -244,7 +244,7 @@ class APISettings:
|
||||||
delattr(self, '_user_settings')
|
delattr(self, '_user_settings')
|
||||||
|
|
||||||
|
|
||||||
api_settings = APISettings(None, DEFAULTS, IMPORT_STRINGS)
|
api_settings = APISettings(getattr(settings, 'REST_FRAMEWORK', None), DEFAULTS, IMPORT_STRINGS)
|
||||||
|
|
||||||
|
|
||||||
def reload_api_settings(*args, **kwargs):
|
def reload_api_settings(*args, **kwargs):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user