pretix-servicefees/pretix_servicefees/__init__.py

21 lines
564 B
Python

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'
description = ugettext_lazy('Allows you to impose a service fee on all non-free orders.')
visible = True
version = '1.0.0'
def ready(self):
from . import signals # NOQA
default_app_config = 'pretix_servicefees.PluginApp'