Skip to content
Snippets Groups Projects
Select Git revision
  • 254491e5f5690928042468460f88810da6b8ec6d
  • master default
  • renovate/django-split-settings-1.x
  • renovate/djangorestframework-3.x
  • main
  • 520-improve-trackmanager
  • 520-fix-scheduling
  • 520-akowner
  • 520-status
  • 520-message-resolved
  • 520-improve-scheduling-2
  • renovate/django-bootstrap5-24.x
  • 520-improve-submission
  • 520-improve-scheduling
  • 520-improve-wall
  • 520-fix-event-wizard-datepicker
  • 520-upgrades
  • renovate/tzdata-2023.x
  • renovate/django-5.x
  • renovate/fontawesomefree-6.x
  • renovate/sphinx-rtd-theme-2.x
  • renovate/sphinxcontrib-apidoc-0.x
22 results

admin.py

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 845 B
    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_matrix_inviter"
        verbose_name = "pretix Matrix inviter"
    
        class PretixPluginMeta:
            name = gettext_lazy("Matrix inviter")
            author = "Felix Schäfer"
            description = gettext_lazy("Invite participants to a Matrix Room or Space.")
            visible = True
            version = __version__
            category = "FEATURE"
            compatibility = "pretix>=2.7.0"
            settings_links = [
                (gettext_lazy("Matrix inviter"), "plugins:pretix_matrix_inviter:settings", {}),
            ]
    
        def ready(self):
            from . import signals  # NOQA