pretix-servicefees/pretix_servicefees/__init__.py

21 lines
558 B
Python
Raw Normal View History

2018-02-27 23:12:01 +01:00
from django.apps import AppConfig
from django.utils.translation import ugettext_lazy
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:
2019-11-20 13:11:11 +01:00
name = ugettext_lazy('Service Fees')
2018-02-27 23:12:01 +01:00
author = 'Raphael Michel'
2018-03-06 16:25:07 +01:00
description = ugettext_lazy('This plugin allows to charge a service fee on all non-free orders.')
2018-02-27 23:12:01 +01:00
visible = True
2019-06-05 16:16:45 +02:00
version = '1.3.1'
2018-02-27 23:12:01 +01:00
def ready(self):
from . import signals # NOQA
default_app_config = 'pretix_servicefees.PluginApp'