mirror of
https://github.com/pretix/pretix.git
synced 2026-05-03 14:54:04 +00:00
19 lines
464 B
Python
19 lines
464 B
Python
from django.apps import AppConfig
|
|
|
|
|
|
class PretixBaseConfig(AppConfig):
|
|
name = 'pretix.base'
|
|
label = 'pretixbase'
|
|
|
|
def ready(self):
|
|
from . import exporter # NOQA
|
|
from . import payment # NOQA
|
|
from .services import export, mail, tickets, cart, orders # NOQA
|
|
|
|
try:
|
|
from .celery import app as celery_app # NOQA
|
|
except ImportError:
|
|
pass
|
|
|
|
default_app_config = 'pretix.base.PretixBaseConfig'
|