Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 447 Bytes

README.md

File metadata and controls

24 lines (20 loc) · 447 Bytes

DRF Auto

Simple DRF API creation tool. Generate serializers, views, and URLs from models.py.


Usage

  • Generate all files (serializers.py, views.py, and urls.py)
python drf-auto.py models.py
  • Generate serializers only
python drf-auto.py models.py -s
  • Generate views only
python drf-auto.py models.py -v
  • Generate URLs only
python drf-auto.py models.py -p