mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
* Drag-and-drop: Force csrf_token to be present * Rough design * Missing file * b.visble * Forms * Docs * Tests * Fix variable
19 lines
438 B
Python
19 lines
438 B
Python
import os
|
|
from pretix.testutils.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
|
|
|
|
PRETIX_AUTH_BACKENDS = [
|
|
'pretix.base.auth.NativeAuthBackend',
|
|
'tests.testdummy.auth.TestFormAuthBackend',
|
|
'tests.testdummy.auth.TestRequestAuthBackend',
|
|
]
|
|
|
|
for a in PLUGINS:
|
|
INSTALLED_APPS.remove(a)
|