pretix-servicefees/pretix_servicefees/__init__.py

22 lines
584 B
Python
Raw Normal View History

2018-02-27 23:12:01 +01:00
from django.apps import AppConfig
2020-03-09 14:12:09 +01:00
from django.utils.translation import gettext_lazy
2018-02-27 23:12:01 +01:00
class PluginApp(AppConfig):
name = 'pretix_servicefees'
2019-11-20 13:11:11 +01:00
verbose_name = 'Service Fees'
2018-02-27 23:12:01 +01:00
class PretixPluginMeta:
2020-03-09 14:12:09 +01:00
name = gettext_lazy('Service Fees')
2018-02-27 23:12:01 +01:00
author = 'Raphael Michel'
2020-02-08 13:05:09 +01:00
category = 'FEATURE'
2020-03-09 14:12:09 +01:00
description = gettext_lazy('This plugin allows to charge a service fee on all non-free orders.')
2018-02-27 23:12:01 +01:00
visible = True
2020-02-17 17:00:32 +01:00
version = '1.3.2'
2018-02-27 23:12:01 +01:00
def ready(self):
from . import signals # NOQA
default_app_config = 'pretix_servicefees.PluginApp'