Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Generate a Django model, views, URLconf, and templates using a single command.
Python JavaScript Ruby

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
generate_scaffold
.gitignore
README.md
setup.py

README.md

django-generate-scaffold endorse

Generate a Django model, views, URLconf, and templates using a single command.

Quickstart

A screencast introducing django-generate-scaffold is available here.

Usage

  • Install django-generate-scaffold

    $ pip install django-generate-scaffold
    
  • Add generate_scaffold to your INSTALLED_APPS

  • Run the generatescaffold management command

    $ 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.
    

Development

django-generate-scaffold is currently in ALPHA. Everything works, but tests are not available at this time.

Issues

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.
Something went wrong with that request. Please try again.