Add functionality to django-admin to create skeleton views
|Reported by:||ricardo@…||Owned by:||adrian|
|Component:||Core (Management commands)||Version:|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
You should be able to do something like django-admin.py createview APPNAME VIEWNAME method1 method2 ... and having apps/APPNAME/views/VIEWNAME.py created and filled with some sensible template (eg., comments on how to create methods, etc.)
With a bit of work, it could be possible even modifying apps/APPNAME/urls/APPNAME.py to point to the new methods. See the attached patch.