#5516: Allow apps to provide their own commands
-----------------------+----------------------------------------------------
Reporter:  toddobryan  |       Owner:  nobody         
  Status:  new         |   Component:  django-admin.py
 Version:  SVN         |    Keywords:  command        
   Stage:  Unreviewed  |   Has_patch:  1              
-----------------------+----------------------------------------------------
 This patch allows users to create arbitrary commands in each app that can
 be invoked by ``django-admin.py``.
 
 Inside an app, users create a ``management.commands.my_command`` module
 for each command they'd like to add that must include a subclass of
 ``django.core.management.base.BaseCommand`` called ``Command``. A command
 is invoked with ``app_name.my_command``, where ``app_name`` is the path to
 the app provided in the ``INSTALLED_APPS`` setting.
 
 Commands installed in this way are automatically plugged into the help
 system provided that the user has provided the Django settings correctly,
 either by using ``manage.py``, setting the ``DJANGO_SETTINGS_MODULE``
 environment variable, or by using the ``--settings`` option to ``django-
 admin.py``.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/5516>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to