Skip to content
Snippets Groups Projects
Select Git revision
  • fca2916c71af4374e09ce7f8612c27df8f46294c
  • main default protected
  • feature/export-filtering
  • feature/clear-schedule-button
  • fix/responsive-cols-in-polls
  • feature/preference-polling-form
  • feature/json-export-via-rest-framework
  • feature/json-schedule-import-tests
  • fix/add-room-import-only-once
  • ak-import
  • renovate/django-simple-history-3.x
  • renovate/django-debug-toolbar-4.x
  • renovate/django-5.x
  • renovate/mysqlclient-2.x
14 results

README.md

Blame
  • Forked from KIF / AKPlanning
    Source project has a limited visibility.
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    apps.py 1.16 KiB
    from django.utils.translation import gettext_lazy
    
    from . import __version__
    
    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:
            name = gettext_lazy("Pretix public registrations")
            author = "Felix Schäfer, Dominik Weitz"
            description = gettext_lazy(
                "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."
            )
            visible = True
            version = __version__
            category = "FEATURE"
            compatibility = "pretix>=2.7.0"
            settings_links = [
                (
                    gettext_lazy("Public registrations"),
                    "plugins:pretix_public_reginstrations:settings",
                    {},
                ),
            ]
    
        def ready(self):
            from . import signals  # NOQA