Hi,
In my code there is clean_fields with exclude as an optional argument:
def clean_fields(self, exclude=None):
"""
Allows to have different slug and username validators for Entity
and User.
"""
if (exclude is None):
exclude = []
Is it still
Hi,
Django 4.0 had this code:
errors = {}
if exclude is None:
exclude = []
else:
exclude = list(exclude)
try:
self.clean_fields(exclude=exclude)
except ValidationError as e:
errors =
Hi!
Although the DEP for Black was written several years ago, we only actually
adopted it in the code base in February this year. The DEP determined to
use Black when it was no longer beta, and that took a while :)
I think the reformatting was fairly popular, many people have given
positive
Hi Carlton,
thanks for your response.
I've opened up a PR: https://github.com/django/django/pull/15704
I've decided to moved the "ASGIStream" wrapper code into the Django code
and get rid of the dependency as it is only a small part of it.
My version of the code was nearly the same as the one
Details are available on the Django project weblog:
https://www.djangoproject.com/weblog/2022/may/18/django-41-alpha-1-released/
--
You received this message because you are subscribed to the Google Groups
"Django developers (Contributions to Django itself)" group.
To unsubscribe from this