* Empty string is a valid JSON-key
Signed-off-by: Sergey Tsaplin <me@sergeytsaplin.com>
* Update changes/4253-sergeytsaplin.md
Co-authored-by: Samuel Colvin <samcolvin@gmail.com>
* has_alias attribute of the ModelField also should be a result of comparison with None
Signed-off-by: Sergey Tsaplin <me@sergeytsaplin.com>
Co-authored-by: Samuel Colvin <samcolvin@gmail.com>
* remove DeprecationWarnings from v1 release
* coverage on unpickling Undefined private attributes
* coverage on undefined in copy, allow Undefined to be pickled unchanged
* fix coverage of model._iter()
* update_forward_refs now modifies only a copy of __dict__ of cls.__module__
* changes
* test for update_forward_refs
* fixed brackets
* black changes fixed
* make format
Co-authored-by: Samuel Colvin <s@muelcolvin.com>
* fix alias priority so alias_generators don't take priority
* improve test names
* remove debugs
* Apply suggestions from code review
* more tests and allow custom alias_priority on fields
* precedence tests and docs
* tweaks and add change
* suggestions