Simple DRF API creation tool. Generate serializers, views, and URLs from models.py.
- Generate all files (
serializers.py
,views.py
, andurls.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