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'
|
|
|
|
verbose_name = 'pretix Service Fees'
|
|
|
|
|
|
|
|
class PretixPluginMeta:
|
|
|
|
name = ugettext_lazy('pretix Service Fees')
|
|
|
|
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-05-09 16:05:25 +02:00
|
|
|
version = '1.2.0'
|
2018-02-27 23:12:01 +01:00
|
|
|
|
|
|
|
def ready(self):
|
|
|
|
from . import signals # NOQA
|
|
|
|
|
|
|
|
|
|
|
|
default_app_config = 'pretix_servicefees.PluginApp'
|