From 578b3046e3b4adc43655bb5dd955054b7bf19f89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Fleschenberg?= Date: Mon, 1 Jun 2020 10:23:29 +0200 Subject: [PATCH] Reverted "Refs #23919 -- Removed obsolete __init__.py files in management command directories." This reverts commit ccc25bfe4f0964a00df3af6f91c2d9e20159a0c2. https://groups.google.com/d/topic/django-developers/GVHMH2ciAnk/discussion --- django/contrib/auth/management/commands/__init__.py | 0 django/contrib/contenttypes/management/commands/__init__.py | 0 django/contrib/gis/management/__init__.py | 0 django/contrib/gis/management/commands/__init__.py | 0 django/contrib/sessions/management/__init__.py | 0 django/contrib/sessions/management/commands/__init__.py | 0 django/contrib/sitemaps/management/__init__.py | 0 django/contrib/sitemaps/management/commands/__init__.py | 0 django/contrib/staticfiles/management/__init__.py | 0 django/contrib/staticfiles/management/commands/__init__.py | 0 django/core/management/commands/__init__.py | 0 docs/howto/custom-management-commands.txt | 2 ++ tests/admin_scripts/complex_app/management/__init__.py | 0 tests/admin_scripts/complex_app/management/commands/__init__.py | 0 tests/admin_scripts/management/__init__.py | 0 tests/admin_scripts/management/commands/__init__.py | 0 tests/admin_scripts/simple_app/management/__init__.py | 0 tests/admin_scripts/simple_app/management/commands/__init__.py | 0 tests/bash_completion/management/__init__.py | 0 tests/bash_completion/management/commands/__init__.py | 0 tests/user_commands/management/__init__.py | 0 tests/user_commands/management/commands/__init__.py | 0 22 files changed, 2 insertions(+) create mode 100644 django/contrib/auth/management/commands/__init__.py create mode 100644 django/contrib/contenttypes/management/commands/__init__.py create mode 100644 django/contrib/gis/management/__init__.py create mode 100644 django/contrib/gis/management/commands/__init__.py create mode 100644 django/contrib/sessions/management/__init__.py create mode 100644 django/contrib/sessions/management/commands/__init__.py create mode 100644 django/contrib/sitemaps/management/__init__.py create mode 100644 django/contrib/sitemaps/management/commands/__init__.py create mode 100644 django/contrib/staticfiles/management/__init__.py create mode 100644 django/contrib/staticfiles/management/commands/__init__.py create mode 100644 django/core/management/commands/__init__.py create mode 100644 tests/admin_scripts/complex_app/management/__init__.py create mode 100644 tests/admin_scripts/complex_app/management/commands/__init__.py create mode 100644 tests/admin_scripts/management/__init__.py create mode 100644 tests/admin_scripts/management/commands/__init__.py create mode 100644 tests/admin_scripts/simple_app/management/__init__.py create mode 100644 tests/admin_scripts/simple_app/management/commands/__init__.py create mode 100644 tests/bash_completion/management/__init__.py create mode 100644 tests/bash_completion/management/commands/__init__.py create mode 100644 tests/user_commands/management/__init__.py create mode 100644 tests/user_commands/management/commands/__init__.py diff --git a/django/contrib/auth/management/commands/__init__.py b/django/contrib/auth/management/commands/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/django/contrib/contenttypes/management/commands/__init__.py b/django/contrib/contenttypes/management/commands/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/django/contrib/gis/management/__init__.py b/django/contrib/gis/management/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/django/contrib/gis/management/commands/__init__.py b/django/contrib/gis/management/commands/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/django/contrib/sessions/management/__init__.py b/django/contrib/sessions/management/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/django/contrib/sessions/management/commands/__init__.py b/django/contrib/sessions/management/commands/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/django/contrib/sitemaps/management/__init__.py b/django/contrib/sitemaps/management/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/django/contrib/sitemaps/management/commands/__init__.py b/django/contrib/sitemaps/management/commands/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/django/contrib/staticfiles/management/__init__.py b/django/contrib/staticfiles/management/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/django/contrib/staticfiles/management/commands/__init__.py b/django/contrib/staticfiles/management/commands/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/django/core/management/commands/__init__.py b/django/core/management/commands/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/docs/howto/custom-management-commands.txt b/docs/howto/custom-management-commands.txt index eda7b2a42c1..56db507689e 100644 --- a/docs/howto/custom-management-commands.txt +++ b/docs/howto/custom-management-commands.txt @@ -18,7 +18,9 @@ whose name doesn't begin with an underscore. For example:: __init__.py models.py management/ + __init__.py commands/ + __init__.py _private.py closepoll.py tests.py diff --git a/tests/admin_scripts/complex_app/management/__init__.py b/tests/admin_scripts/complex_app/management/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/admin_scripts/complex_app/management/commands/__init__.py b/tests/admin_scripts/complex_app/management/commands/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/admin_scripts/management/__init__.py b/tests/admin_scripts/management/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/admin_scripts/management/commands/__init__.py b/tests/admin_scripts/management/commands/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/admin_scripts/simple_app/management/__init__.py b/tests/admin_scripts/simple_app/management/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/admin_scripts/simple_app/management/commands/__init__.py b/tests/admin_scripts/simple_app/management/commands/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/bash_completion/management/__init__.py b/tests/bash_completion/management/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/bash_completion/management/commands/__init__.py b/tests/bash_completion/management/commands/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/user_commands/management/__init__.py b/tests/user_commands/management/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/user_commands/management/commands/__init__.py b/tests/user_commands/management/commands/__init__.py new file mode 100644 index 00000000000..e69de29bb2d