summaryrefslogtreecommitdiff
path: root/django/core
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2013-06-25 09:37:54 +0800
committerRussell Keith-Magee <russell@keith-magee.com>2013-06-25 09:37:54 +0800
commit0346563939396fb89dec8df31f82eaefaaeb8616 (patch)
treeb49b3365dabdf61f55a54ded7cb4516d62c352e7 /django/core
parent5a6f12182ef14883df6534dc3465059b78f54a1c (diff)
Fixed #20653 -- Renamed checksetup management command.
This is to allow future compatibility with work that is ongoing in the 2013 GSoC.
Diffstat (limited to 'django/core')
-rw-r--r--django/core/checks/__init__.py (renamed from django/core/compat_checks/__init__.py)0
-rw-r--r--django/core/checks/compatibility/__init__.py0
-rw-r--r--django/core/checks/compatibility/base.py (renamed from django/core/compat_checks/base.py)2
-rw-r--r--django/core/checks/compatibility/django_1_6_0.py (renamed from django/core/compat_checks/django_1_6_0.py)2
-rw-r--r--django/core/management/commands/check.py (renamed from django/core/management/commands/checksetup.py)2
5 files changed, 3 insertions, 3 deletions
diff --git a/django/core/compat_checks/__init__.py b/django/core/checks/__init__.py
index e69de29bb2..e69de29bb2 100644
--- a/django/core/compat_checks/__init__.py
+++ b/django/core/checks/__init__.py
diff --git a/django/core/checks/compatibility/__init__.py b/django/core/checks/compatibility/__init__.py
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/django/core/checks/compatibility/__init__.py
diff --git a/django/core/compat_checks/base.py b/django/core/checks/compatibility/base.py
index e54b50f287..7fe52d2af9 100644
--- a/django/core/compat_checks/base.py
+++ b/django/core/checks/compatibility/base.py
@@ -1,7 +1,7 @@
from __future__ import unicode_literals
import warnings
-from django.core.compat_checks import django_1_6_0
+from django.core.checks.compatibility import django_1_6_0
COMPAT_CHECKS = [
diff --git a/django/core/compat_checks/django_1_6_0.py b/django/core/checks/compatibility/django_1_6_0.py
index bb0dabedac..1998c5ba77 100644
--- a/django/core/compat_checks/django_1_6_0.py
+++ b/django/core/checks/compatibility/django_1_6_0.py
@@ -27,7 +27,7 @@ def check_test_runner():
def run_checks():
"""
- Required by the ``checksetup`` management command, this returns a list of
+ Required by the ``check`` management command, this returns a list of
messages from all the relevant check functions for this version of Django.
"""
checks = [
diff --git a/django/core/management/commands/checksetup.py b/django/core/management/commands/check.py
index d37e826757..05f48c82bc 100644
--- a/django/core/management/commands/checksetup.py
+++ b/django/core/management/commands/check.py
@@ -1,7 +1,7 @@
from __future__ import unicode_literals
import warnings
-from django.core.compat_checks.base import check_compatibility
+from django.core.checks.compatibility.base import check_compatibility
from django.core.management.base import NoArgsCommand