Opened 19 years ago

Closed 18 years ago

Last modified 18 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: 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)

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

Download all attachments as: .zip

Change History (3)

by ricardo@…, 19 years ago

Attachment: createview.diff added

Very crude "createview" implementation

comment:1 by Adrian Holovaty, 19 years ago

Component: Toolsdjango-admin.py

comment:2 by Adrian Holovaty, 18 years ago

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