- Whether STATICFILES_DIRS is a list or tuple, failing if it's not
- Whether STATICFILES_DIRS contains a directory equivalent to STATIC_ROOT
I'd like to suggest moving both of those checks to the Django system
checks framework. As it is, they happen at runtime which delays when the
error shows up.
--
Ticket URL: <https://code.djangoproject.com/ticket/27661>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/27661#comment:1>
* owner: nobody => Ling-Xiao Yang
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/27661#comment:2>
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/7781 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/27661#comment:3>
* needs_better_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/27661#comment:4>
* needs_better_patch: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/27661#comment:5>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"0ec4dc91e0e7befdd06aa0613b5d0fbe3c785ee7" 0ec4dc9]:
{{{
#!CommitTicketReference repository=""
revision="0ec4dc91e0e7befdd06aa0613b5d0fbe3c785ee7"
Fixed #27661 -- Moved FileSystemFinder's ImproperlyConfigured exceptions
to system checks.
Thanks Simon Charette, Mariusz Felisiak, Tim Graham, and Adam Johnson
for review.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/27661#comment:6>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"b23e3a1caa10f824b6a0f8bbfaaab7fe53ac3abf" b23e3a1c]:
{{{
#!CommitTicketReference repository=""
revision="b23e3a1caa10f824b6a0f8bbfaaab7fe53ac3abf"
Refs #27661 -- Added Tags.staticfiles.
Follow up to 0ec4dc91e0e7befdd06aa0613b5d0fbe3c785ee7.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/27661#comment:7>