mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
18 lines
415 B
Python
18 lines
415 B
Python
import os
|
|
|
|
from pretix.settings import * # NOQA
|
|
|
|
TEST_DIR = os.path.dirname(__file__)
|
|
|
|
TEMPLATES[0]['DIRS'].append(os.path.join(TEST_DIR, 'templates')) # NOQA
|
|
|
|
INSTALLED_APPS.append('tests.testdummy') # NOQA
|
|
|
|
MEDIA_ROOT = os.path.join(TEST_DIR, 'media')
|
|
|
|
EMAIL_BACKEND = 'django.core.mail.outbox'
|
|
|
|
COMPRESS_ENABLED = COMPRESS_OFFLINE = False
|
|
|
|
PASSWORD_HASHERS = ['django.contrib.auth.hashers.MD5PasswordHasher']
|