1 2 3 4 5 6 7
from django.urls import re_path from . import views urlpatterns = [ re_path(r'(regex_error/$', views.empty_view), ]