[1.4.x] Fixed #18164 -- Precised startapp template context content

Backport of 249c445446 from master.
This commit is contained in:
Claude Paroz 2012-07-07 23:08:43 +02:00
parent f1e416566a
commit fd88fe657b
1 changed files with 2 additions and 1 deletions

View File

@ -957,7 +957,8 @@ through the template engine: the files whose extensions match the
with the ``--name`` option. The :class:`template context
<django.template.Context>` used is:
- Any option passed to the startapp command
- Any option passed to the startapp command (among the command's supported
options)
- ``app_name`` -- the app name as passed to the command
- ``app_directory`` -- the full path of the newly created app