1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #29796 -- Added system check for STATICFILES_DIRS prefix ending with a slash.

This commit is contained in:
Paweł Kołodziej
2018-09-28 01:49:37 +02:00
committed by Tim Graham
parent 40c8ffad72
commit 05c578bc1f
3 changed files with 19 additions and 1 deletions

View File

@@ -731,3 +731,5 @@ configured:
or list.
* **staticfiles.E002**: The :setting:`STATICFILES_DIRS` setting should not
contain the :setting:`STATIC_ROOT` setting.
* **staticfiles.E003**: The prefix ``<prefix>`` in the
:setting:`STATICFILES_DIRS` setting must not end with a slash.