from django.urls import re_path from .views import SettingsView urlpatterns = [ re_path( r"^control/event/(?P[^/]+)/(?P[^/]+)/pretix_digital_items/settings", SettingsView.as_view(), name="settings", ), ]