Skip to content

iamswaroopp/django-scaffold-generator

Repository files navigation

Django Scaffold Generator

This projects aim to provide Ruby on Rails like scaffolding on Django framework.

Usage


python manage.py generatescaffold <app_name> <ModelName> "<field1>:<Field1Type>" "<field2>:<Field2Type>(params)"

Example:


python manage.py generatescaffold test_app TestModel "name:CharField(max_length=512)" "description:TextField"

Supported Fields

Refer scaffold_generator/defaults.py:DEFAULT_FIELDS

License

This project is licensed under the MIT License - see the License File file for details

Credits