From e6dd7f995a5a785a5aa12378df209314b1d77d93 Mon Sep 17 00:00:00 2001 From: Mounir Messelmeni Date: Sat, 13 Jun 2015 15:41:56 +0200 Subject: Fixed #24971 -- Made startapp generate an apps.py --- docs/ref/django-admin.txt | 5 +++++ docs/releases/1.9.txt | 3 +++ 2 files changed, 8 insertions(+) (limited to 'docs') diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index 37154365ff..d55b748eed 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -1094,8 +1094,13 @@ with the ``--name`` option. The :class:`template context options) - ``app_name`` -- the app name as passed to the command - ``app_directory`` -- the full path of the newly created app +- ``camel_case_app_name`` -- the app name in camel case format - ``docs_version`` -- the version of the documentation: ``'dev'`` or ``'1.x'`` +.. versionadded:: 1.9 + + ``camel_case_app_name`` was added. + .. _render_warning: .. warning:: diff --git a/docs/releases/1.9.txt b/docs/releases/1.9.txt index e1f7439b88..3aa6c495de 100644 --- a/docs/releases/1.9.txt +++ b/docs/releases/1.9.txt @@ -275,6 +275,9 @@ Management Commands * The :djadmin:`createcachetable` command now has a ``--dry-run`` flag to print out the SQL rather than execute it. +* The :djadmin:`startapp` command creates an ``apps.py`` file and adds + ``default_app_config`` in ``__init__.py``. + Models ^^^^^^ -- cgit v1.3