﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
5516	Allow apps to provide their own commands	Todd O'Bryan	Russell Keith-Magee	"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``."		closed	Core (Management commands)	dev		fixed	command		Accepted	1	0	0	0	0	0
