#101 closed enhancement (wontfix)
Add functionality to django-admin to create skeleton views
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | Core (Management commands) | Version: | |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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.
Attachments (1)
Change History (3)
by , 19 years ago
Attachment: | createview.diff added |
---|
comment:1 by , 19 years ago
Component: | Tools → django-admin.py |
---|
comment:2 by , 19 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Very crude "createview" implementation