Removed the now-gone parameter errors_by_field from the documentation of the error_redirect() utility in the Mia core application.

This commit is contained in:
依瑪貓 2020-08-08 00:41:01 +08:00
parent 7ed08b4c2f
commit e6675e0e03

View File

@ -51,8 +51,6 @@ def error_redirect(request, url, form):
request (HttpRequest): The request.
url (str): The destination URL.
form (dict[str]): The received POSTed form.
errors_by_field (dict[str]): The failed fields and their corresponding
error messages.
Returns:
HttpResponseRedirect: The redirect response.