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

Refs #32394 -- Changed STATIC_URL/MEDIA_URL to relative paths in tests and docs where appropriate.

This commit is contained in:
Markus Holtermann
2021-02-05 18:41:49 +01:00
committed by Mariusz Felisiak
parent 9d05add447
commit 50a5f8840f
11 changed files with 20 additions and 20 deletions

View File

@@ -142,7 +142,7 @@ class StaticHelperTest(StaticTests):
def setUp(self):
super().setUp()
self._old_views_urlpatterns = urls.urlpatterns[:]
urls.urlpatterns += static('/media/', document_root=media_dir)
urls.urlpatterns += static('media/', document_root=media_dir)
def tearDown(self):
super().tearDown()