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