Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added DeprecationWarning for django.contrib.localflavor.

Note this is DeprecationWarning instead of PendingDeprecationWarning because we've decided
to accelerate this particular deprecation.
  • Loading branch information...
commit 05b849162266c0df355bccdf53bd1e0617a19bb0 1 parent 2236351
Adrian Holovaty adrianholovaty authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  django/contrib/localflavor/__init__.py
2  django/contrib/localflavor/__init__.py
View
@@ -0,0 +1,2 @@
+import warnings
+warnings.warn("django.contrib.localflavor is deprecated. Use the separate django-localflavor-* packages instead.", DeprecationWarning)
Please sign in to comment.
Something went wrong with that request. Please try again.