Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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 authored October 15, 2012

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. 2  django/contrib/localflavor/__init__.py
2  django/contrib/localflavor/__init__.py
... ...
@@ -0,0 +1,2 @@
  1
+import warnings
  2
+warnings.warn("django.contrib.localflavor is deprecated. Use the separate django-localflavor-* packages instead.", DeprecationWarning)

0 notes on commit 05b8491

Please sign in to comment.
Something went wrong with that request. Please try again.