#23553: Incorrect LOCALE_PATHS settings doesn't raise any exception
--------------------------------------+--------------------
     Reporter:  elvard                |      Owner:  nobody
         Type:  Bug                   |     Status:  new
    Component:  Internationalization  |    Version:  1.7
     Severity:  Normal                |   Keywords:
 Triage Stage:  Unreviewed            |  Has patch:  0
Easy pickings:  0                     |      UI/UX:  0
--------------------------------------+--------------------
 I had following line in settings:


 {{{
 LOCALE_PATHS = os.path.join(PROJECT_ROOT, 'locale')
 }}}

 which is invalid. LOCALE_PATHS must be list or tuple of paths, not string.

 Runserver command doesn't raise any warning or error. System check doesn't
 find any issue. Still, runserver auto-reloading is broken with this
 settings and it's quiet difficult to spot this bug.

 Compared with other similar settings:
 - TEMPLATE_DIRS raises ImproperlyConfigured directly
 - STATICFILES_DIRS raises ImproperlyConfigured with command collectstatic,
 runserver works fine (even with reloading).

--
Ticket URL: <https://code.djangoproject.com/ticket/23553>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/049.47df5b06a466462c5e481bf07e4e724b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to