Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#101 closed enhancement (wontfix)

Add functionality to django-admin to create skeleton views

Reported by: ricardo@… 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: UI/UX:

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)

createview.diff (2.4 KB) - added by ricardo@… 11 years ago.
Very crude "createview" implementation

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by ricardo@…

Attachment: createview.diff added

Very crude "createview" implementation

comment:1 Changed 11 years ago by Adrian Holovaty

Component: Toolsdjango-admin.py

comment:2 Changed 11 years ago by Adrian Holovaty

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top