pretalx-musicrate/pretalx_musicrate/urls.py

13 lines
301 B
Python

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