File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ def clean(self):
96
96
and self .authorization_grant_type \
97
97
in (AbstractApplication .GRANT_AUTHORIZATION_CODE ,
98
98
AbstractApplication .GRANT_IMPLICIT ):
99
- error = _ ('Redirect_uris could not be empty with {} grant_type' )
99
+ error = _ ('Redirect_uris could not be empty with {0 } grant_type' )
100
100
raise ValidationError (error .format (self .authorization_grant_type ))
101
101
102
102
def get_absolute_url (self ):
@@ -232,6 +232,6 @@ def get_application_model():
232
232
raise ImproperlyConfigured (e )
233
233
app_model = get_model (app_label , model_name )
234
234
if app_model is None :
235
- e = "APPLICATION_MODEL refers to model {} that has not been installed"
235
+ e = "APPLICATION_MODEL refers to model {0 } that has not been installed"
236
236
raise ImproperlyConfigured (e .format (oauth2_settings .APPLICATION_MODEL ))
237
237
return app_model
You can’t perform that action at this time.
0 commit comments