kopia lustrzana https://github.com/wagtail/wagtail
Make WAGTAIL_ROOT point to the actual Wagtail root...
Ever since the test settings got their own file, this has pointed to the 'tests' folder instead. Luckily this had no ill effects, since it's only used as the base for the temporary STATIC_ROOT / MEDIA_ROOT folders.pull/2859/merge
rodzic
bd226fcedf
commit
832646eb25
|
@ -2,9 +2,9 @@ from __future__ import absolute_import, unicode_literals
|
|||
|
||||
import os
|
||||
|
||||
WAGTAIL_ROOT = os.path.dirname(__file__)
|
||||
STATIC_ROOT = os.path.join(WAGTAIL_ROOT, 'test-static')
|
||||
MEDIA_ROOT = os.path.join(WAGTAIL_ROOT, 'test-media')
|
||||
WAGTAIL_ROOT = os.path.dirname(os.path.dirname(__file__))
|
||||
STATIC_ROOT = os.path.join(WAGTAIL_ROOT, 'tests', 'test-static')
|
||||
MEDIA_ROOT = os.path.join(WAGTAIL_ROOT, 'tests', 'test-media')
|
||||
MEDIA_URL = '/media/'
|
||||
|
||||
DATABASES = {
|
||||
|
|
Ładowanie…
Reference in New Issue