Generate a Django model, views, URLconf, and templates using a single command.
A screencast introducing
$ pip install django-generate-scaffold
$ python manage.py generatescaffold --help ... displays usage
Create a model using the syntax in the help message
$ python manage.py generatescaffold blogs Post title:string body:text is_public:bool blog:foreignkey=Blog ... Generates a Post model, with title (CharField), body (TextField), ... is_public (BooleanField), and blog (ForeignKey) fields.
django-generate-scaffold is currently in ALPHA.
Everything works, but tests are not available at this time.
If you experience any issues, please create an issue on Github.
How to Contribute
- Propose new features or report bugs by creating an issue on Github.
- Add new features, tests, or fix stuff and issue a pull request.
- Create a better, more eloquent screencast with less stammering.