From 317fd13c7ac25db94d3dabf8ee115acbfbd3e5a7 Mon Sep 17 00:00:00 2001 From: Alasdair Nicol Date: Thu, 5 Dec 2013 13:45:49 +0000 Subject: [PATCH] Fixed #21562 -- Warned against using the same app name as a django contrib app. Thanks yourcelf for the report. --- docs/intro/reusable-apps.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/intro/reusable-apps.txt b/docs/intro/reusable-apps.txt index 99b383585f..04a8ea7417 100644 --- a/docs/intro/reusable-apps.txt +++ b/docs/intro/reusable-apps.txt @@ -128,6 +128,13 @@ this. For a small app like polls, this process isn't too difficult. This helps others looking for Django apps identify your app as Django specific. + The application names (that is, the final dotted part of the + path to the module containing ``models.py``) defined in + :setting:`INSTALLED_APPS` *must* be unique. Avoid using the + same name as any of the Django :doc:`contrib packages + `, for example ``auth``, ``admin`` or + ``messages``. + 2. Move the ``polls`` directory into the ``django-polls`` directory. 3. Create a file ``django-polls/README.rst`` with the following contents: