mirror of
https://github.com/django/django.git
synced 2025-08-03 02:23:12 +00:00
Refs #32394 -- Changed STATIC_URL/MEDIA_URL to relative paths in tests and docs where appropriate.
This commit is contained in:
parent
9d05add447
commit
50a5f8840f
11 changed files with 20 additions and 20 deletions
|
@ -17,9 +17,9 @@ from .models import Person
|
|||
|
||||
TEST_ROOT = os.path.dirname(__file__)
|
||||
TEST_SETTINGS = {
|
||||
'MEDIA_URL': '/media/',
|
||||
'MEDIA_URL': 'media/',
|
||||
'MEDIA_ROOT': os.path.join(TEST_ROOT, 'media'),
|
||||
'STATIC_URL': '/static/',
|
||||
'STATIC_URL': 'static/',
|
||||
'STATIC_ROOT': os.path.join(TEST_ROOT, 'static'),
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue