-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Closed
Milestone
Description
Some of these may already be covered, but we should make sure that all the following are satisfied:
- If a user declares a field explicitly, but also includes it in
extra_kwargsthen warn/error. - If a user declares a field explicitly, but also includes it in
read_only_fieldsthen warn/error. - Don't allow
get_uniqueness_extra_kwargsto override a declared field. - Don't allow
get_uniqueness_extra_kwargsto override a flag that has been set inextra_kwargs. - If a serializer field has a
default, then ensure that uniqueness validators use that for empty, rather than forcingrequired=True
Metadata
Metadata
Assignees
Labels
No labels