Skip to content
Snippets Groups Projects
__init__.py 920 B
Newer Older
  • Learn to ignore specific revisions
  • Felix Schäfer's avatar
    Felix Schäfer committed
    from django.utils.translation import ugettext_lazy as _
    
    try:
        from pretix.base.plugins import PluginConfig
    except ImportError:
        raise RuntimeError("Please use pretix 2.7 or above to run this plugin!")
    
    
    class PluginApp(PluginConfig):
        name = 'pretix_public_registrations'
        verbose_name = 'Pretix public registrations'
    
        class PretixPluginMeta:
    
    Felix Schäfer's avatar
    Felix Schäfer committed
            name = _('Pretix public registrations')
    
            author = 'Felix Schäfer, Dominik Weitz'
    
    Felix Schäfer's avatar
    Felix Schäfer committed
            description = _('This plugin will give the option to attendees of an event to mark their registration as public. Public registrations will be shown along their answers to questions marked as public by the organizers on a world-readable page.')
    
    Felix Schäfer's avatar
    Felix Schäfer committed
            version = '1.1.1'
    
            compatibility = "pretix>=2.7.0"
    
        def ready(self):
            from . import signals  # NOQA
    
    
    default_app_config = 'pretix_public_registrations.PluginApp'