pretix-servicefees/pretix_servicefees/apps.py

24 lines
624 B
Python
Raw Normal View History

2022-12-17 18:18:51 +01:00
from django.apps import AppConfig
from django.utils.translation import gettext_lazy
2024-05-31 16:41:47 +02:00
2022-12-17 18:18:51 +01:00
from . import __version__
class PluginApp(AppConfig):
2024-05-31 16:41:47 +02:00
name = "pretix_servicefees"
verbose_name = "Service Fees"
2022-12-17 18:18:51 +01:00
class PretixPluginMeta:
2024-05-31 16:41:47 +02:00
name = gettext_lazy("Service Fees")
author = "Raphael Michel"
category = "FEATURE"
description = gettext_lazy(
"This plugin allows to charge a service fee on all non-free orders."
)
2022-12-17 18:18:51 +01:00
visible = True
version = __version__
2023-01-30 15:24:04 +01:00
compatibility = "pretix>=4.16.0"
2022-12-17 18:18:51 +01:00
def ready(self):
from . import signals # NOQA