Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 522 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 522 Bytes

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
}