#3528: simple cli extensions for django-admin.py and manage.py
--------------------------------------------------------------+-------------
Reporter: Ronny Pfannschmidt <[EMAIL PROTECTED]> | Owner:
adrian
Status: new |
Component: django-admin.py
Version: SVN |
Resolution:
Keywords: |
Stage: Unreviewed
Has_patch: 0 |
Needs_docs: 0
Needs_tests: 0 |
Needs_better_patch: 0
--------------------------------------------------------------+-------------
Changes (by [EMAIL PROTECTED]):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
We worked out a sketch of how to try this in the irc (see attachment.) We
found we had to duplicate django.core.management.execute_manager so we
could customize action_mapping before passing to
execute_from_command_line.
There seem to be some ways to make this happier and drier. The one that
seems cleanest to me is to give execute_manager a default-able
action_mapping parameter that would augment and/or replace the default
one. Another is to remove the startapp/startproject magic from it
(leaving it basically empty) so we don't feel bad duplicating 'n
overriding.
--
Ticket URL: <http://code.djangoproject.com/ticket/3528#comment:1>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---