{{{
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.
* status: new => closed
* needs_better_patch: => 0
* resolution: => duplicate
* needs_tests: => 0
* needs_docs: => 0
Comment:
Sorry, it's duplicate of #22780... Bug is already fixed in master.
--
Ticket URL: <https://code.djangoproject.com/ticket/23553#comment:1>