1. from django.urls import re_path
    
  2. 
    
  3. urlpatterns = [
    
  4.     re_path("^$", lambda x: x, name="name_with:colon"),
    
  5. ]