from django.urls import re_path from . import views urlpatterns = [ re_path(r'^more/(?P\w+)/$', views.empty_view, name='inner-more'), ]