Skip to content

huntekah/drf_max_lenght_stack_minimal_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

drf_max_lenght_stack_minimal_examplei

  • Failed attempts could be seen at experiment-n-* branches
  • Working solutions from tiki and from Melvyn are located on solutions-{user} branches.

About solutions:

  • Tiki solution works for serializer, but fails to provide correct message for model. It was not a requirement of an original question, but it is worth mentioning.
  • Melvyn solution works both for serializer and model errors.

Apparently the ModelSerializer doesn't copy the error_messages attribute from the model field, so we have to do that by hand.

  • Melvyn

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published