upgrade to new pretix, remove download, add page links
This commit is contained in:
@@ -1,28 +1 @@
|
||||
from django.utils.translation import gettext_lazy
|
||||
|
||||
try:
|
||||
from pretix.base.plugins import PluginConfig
|
||||
except ImportError:
|
||||
raise RuntimeError("Please use pretix 2.7 or above to run this plugin!")
|
||||
|
||||
__version__ = '1.0.0'
|
||||
|
||||
|
||||
class PluginApp(PluginConfig):
|
||||
name = 'pretix_digital_items'
|
||||
verbose_name = 'Digital Items'
|
||||
|
||||
class PretixPluginMeta:
|
||||
name = gettext_lazy('Digital Items')
|
||||
author = '_Bastler'
|
||||
description = gettext_lazy('Sell digital Items by using secrets as tokens. Adds secrets to email placeholders, output secret as simple TXT file.')
|
||||
visible = True
|
||||
version = __version__
|
||||
category = 'FEATURE'
|
||||
compatibility = "pretix>=2.7.0"
|
||||
|
||||
def ready(self):
|
||||
from . import signals # NOQA
|
||||
|
||||
|
||||
default_app_config = 'pretix_digital_items.PluginApp'
|
||||
__version__ = "2.0.0"
|
||||
|
||||
Reference in New Issue
Block a user