summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2012-10-15 09:37:29 -0500
committerAdrian Holovaty <adrian@holovaty.com>2012-10-15 09:37:29 -0500
commit05b849162266c0df355bccdf53bd1e0617a19bb0 (patch)
tree5b31a9cf93f3299c3d79f4eaf120485e358042e8
parent2236351b9ea7b6822fee2d0c49eb8f3094a4bb29 (diff)
Added DeprecationWarning for django.contrib.localflavor.
Note this is DeprecationWarning instead of PendingDeprecationWarning because we've decided to accelerate this particular deprecation.
-rw-r--r--django/contrib/localflavor/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/django/contrib/localflavor/__init__.py b/django/contrib/localflavor/__init__.py
index e69de29bb2..785186fd28 100644
--- a/django/contrib/localflavor/__init__.py
+++ b/django/contrib/localflavor/__init__.py
@@ -0,0 +1,2 @@
+import warnings
+warnings.warn("django.contrib.localflavor is deprecated. Use the separate django-localflavor-* packages instead.", DeprecationWarning)