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

Fixed #27626 -- Moved MEDIA_URL/STATIC_URL validation to a system check.

This commit is contained in:
Adam Chainz
2016-12-23 15:55:00 +00:00
committed by Tim Graham
parent 8d94d575f8
commit 8669cf0e68
6 changed files with 53 additions and 93 deletions

View File

@@ -675,3 +675,5 @@ The following checks are performed on your URL configuration:
``urlpatterns`` is a list of :func:`~django.conf.urls.url()` instances.
* **urls.W005**: URL namespace ``<namespace>`` isn't unique. You may not be
able to reverse all URLs in this namespace.
* **urls.E006**: The :setting:`MEDIA_URL`/ :setting:`STATIC_URL` setting must
end with a slash.