forked from CGM_Public/pretix_original
Cut test time by 65% by caching templates and not compiling sass
This commit is contained in:
@@ -18,9 +18,16 @@ atexit.register(tmpdir.cleanup)
|
||||
EMAIL_BACKEND = 'django.core.mail.outbox'
|
||||
|
||||
COMPRESS_ENABLED = COMPRESS_OFFLINE = False
|
||||
COMPRESS_CACHE_BACKEND = 'testcache'
|
||||
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
|
||||
PRETIX_INSTANCE_NAME = 'pretix.eu'
|
||||
|
||||
COMPRESS_PRECOMPILERS_ORIGINAL = COMPRESS_PRECOMPILERS
|
||||
COMPRESS_PRECOMPILERS = ()
|
||||
TEMPLATES[0]['OPTIONS']['loaders'] = (
|
||||
('django.template.loaders.cached.Loader', template_loaders),
|
||||
)
|
||||
|
||||
DEBUG = True
|
||||
DEBUG_PROPAGATE_EXCEPTIONS = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user