#19482: django.contrib.localflavor in INSTALLED_APPS raises DeprecationWarning
-------------------------------+--------------------
     Reporter:  andreas_pelme  |      Owner:  nobody
         Type:  Bug            |     Status:  new
    Component:  Uncategorized  |    Version:  master
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  1              |      UI/UX:  0
-------------------------------+--------------------
 The documentation states that "If you want localflavor's texts to be
 translated, like form fields error messages, you must include
 django.contrib.localflavor in the INSTALLED_APPS setting, ...".

 Adding django.contrib.localflavor to INSTALLED_APPS will make that module
 automatically imported, which will raise a deprecation warning.

 The deprecation warning located in django/contrib/localflavor/__init__.py
 should probably be moved to django/contrib/localflavor/XX/__init__.py.
 That would make the deprecation warning appear when there is some actual
 code that is imported.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19482>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to