1 2 3 4 5 6 7 8 9 10 11 12
from django.urls import path from . import views urlpatterns = [ path( r'<str:app>/<str:model>/<int:pk>/', views.nav_json, name="admin_links" ), ]