﻿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
30417	Documentation missing for TemplateCommand.	Christian González	nobody	"Although it is an official command in Django (ok, it is inherited by e.g. startproject), there is no documentation I could find in the docs about TemplateCommand. It would be good to mention it on https://docs.djangoproject.com/en/2.2/howto/custom-management-commands/#basecommand-subclasses - others are mentioned there. A few lines would suffice:

class TemplateCommand
    A management command which creates a directory structure within a Django application using templates

TemplateCommand.handle(app_or_project, name, target=None, **options)

     app_or_project: The string 'app' or 'project'.
     name: The name of the application or project.
     directory: The directory to which the template should be copied.
     options: The additional variables passed to project or app templates

This is mostly copied from the TemplateCommand docstring. Note that ""directory"" was renamed into ""target"" as __init__ method's parameter, but kept as ""directory"" in the command argument (for compatibility reasons?)."	Cleanup/optimization	closed	Documentation	dev	Normal	wontfix			Unreviewed	0	0	0	0	0	0
