mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #23919 -- Removed Python 2 notes in docs.
This commit is contained in:
@@ -26,10 +26,6 @@ directory whose name doesn't begin with an underscore. For example::
|
||||
tests.py
|
||||
views.py
|
||||
|
||||
On Python 2, be sure to include ``__init__.py`` files in both the
|
||||
``management`` and ``management/commands`` directories as done above or your
|
||||
command will not be detected.
|
||||
|
||||
In this example, the ``closepoll`` command will be made available to any project
|
||||
that includes the ``polls`` application in :setting:`INSTALLED_APPS`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user