From 05b849162266c0df355bccdf53bd1e0617a19bb0 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Mon, 15 Oct 2012 09:37:29 -0500 Subject: [PATCH] Added DeprecationWarning for django.contrib.localflavor. Note this is DeprecationWarning instead of PendingDeprecationWarning because we've decided to accelerate this particular deprecation. --- django/contrib/localflavor/__init__.py | 2 ++ 1 file changed, 2 insertions(+) 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)