|
@@ -54,7 +54,7 @@ def check_csrf_failure_view(app_configs, **kwargs):
|
|
|
"The CSRF failure view '%s' could not be imported." %
|
|
|
settings.CSRF_FAILURE_VIEW
|
|
|
)
|
|
|
- errors.append(Error(msg, id='security.E025'))
|
|
|
+ errors.append(Error(msg, id='security.E102'))
|
|
|
else:
|
|
|
try:
|
|
|
inspect.signature(view).bind(None, reason=None)
|
|
@@ -63,5 +63,5 @@ def check_csrf_failure_view(app_configs, **kwargs):
|
|
|
"The CSRF failure view '%s' does not take the correct number of arguments." %
|
|
|
settings.CSRF_FAILURE_VIEW
|
|
|
)
|
|
|
- errors.append(Error(msg, id='security.E024'))
|
|
|
+ errors.append(Error(msg, id='security.E101'))
|
|
|
return errors
|