pretalx-musicrate/pretalx_musicrate/urls.py

13 lines
309 B
Python

from django.urls import re_path
from pretalx.event.models.event import SLUG_REGEX
from .views import MusicrateSettingsView
urlpatterns = [
re_path(
rf"^orga/event/(?P<event>{SLUG_REGEX})/settings/p/pretalx_musicrate/$",
MusicrateSettingsView.as_view(),
name="settings",
),
]