mirror of
https://github.com/django/django.git
synced 2025-12-10 03:10:10 +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
|
|
@ -159,7 +159,7 @@ def setup(verbosity, test_labels, parallel, start_at, start_after):
|
|||
# Redirect some settings for the duration of these tests.
|
||||
settings.INSTALLED_APPS = ALWAYS_INSTALLED_APPS
|
||||
settings.ROOT_URLCONF = 'urls'
|
||||
settings.STATIC_URL = '/static/'
|
||||
settings.STATIC_URL = 'static/'
|
||||
settings.STATIC_ROOT = os.path.join(TMPDIR, 'static')
|
||||
settings.TEMPLATES = [{
|
||||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue