Skip to content

giuseppenovielli/drf-writable-nested-fullclean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drf-writable-nested-fullclean

PyPI - Version PyPI - Downloads

Call django Model.full_clean(exclude=None, validate_unique=True) when validate WritableNestedModelSerializer

Installation

pip install drf-writable-nested-fullclean

Configuration

Add the following code into settings.py

DRF_FULL_CLEAN = {
    "DEBUG" : False #set True if you want to see debug print
}

About

Call django model full_clean() when validate WritableNestedModelSerializer

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages