mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-23 01:57:00 +03:00
Fixed num args for %
This commit is contained in:
parent
5117dad2ca
commit
0f85165b69
|
@ -212,7 +212,7 @@ class APISettings(object):
|
||||||
SETTINGS_DOC = "http://www.django-rest-framework.org/api-guide/settings/"
|
SETTINGS_DOC = "http://www.django-rest-framework.org/api-guide/settings/"
|
||||||
for setting in DEPRECEATED_SETTINGS:
|
for setting in DEPRECEATED_SETTINGS:
|
||||||
if setting in user_settings:
|
if setting in user_settings:
|
||||||
raise AttributeError("The '%s' setting has been removed. Please refer to '%s' for available settings." % setting, SETTINGS_DOC)
|
raise AttributeError("The '%s' setting has been removed. Please refer to '%s' for available settings." % (setting, SETTINGS_DOC))
|
||||||
return user_settings
|
return user_settings
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user