diegotoral / generator-django

A Yeoman generator for Django.
MIT License
78 stars 16 forks source link

django:startapp, django:model, with documentation and tests #43

Closed matiboy closed 9 years ago

matiboy commented 9 years ago

Two commands to 1. create a django app (in apps folder as per your structure) and 2. create a model in the app with help selecting fields and their options.

App creation command also calls the model creation command (any number of time)

Tests are available.

Documentation is in the committed README.md

I hope this is of interest to this project. Comments and changes are very welcome.

diegotoral commented 9 years ago

Thanks for this pr @matiboy, great work! I will check this soon!

matiassingers commented 9 years ago
Error: Cannot find module 'sinon'

The current tests are failing on Travis-CI because Sinon.JS isn't added to package.json.

$ npm install sinon --save-dev
matiboy commented 9 years ago

@matiassingers Done thanks for spotting that.