Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#101 closed enhancement (wontfix)

Add functionality to django-admin to create skeleton views

Reported by: ricardo@… Owned by: adrian
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@… 10 years ago.
Very crude "createview" implementation

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by ricardo@…

Very crude "createview" implementation

comment:1 Changed 10 years ago by adrian

  • Component changed from Tools to django-admin.py

comment:2 Changed 9 years ago by adrian

  • Resolution set to wontfix
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.
Back to Top