from django.urls import path from . import views urlpatterns = [ path( r'///', views.nav_json, name="admin_links" ), ]