from django.urls import include, path from utilities.urls import get_model_urls from . import views app_name = 'netbox_rack_concept' urlpatterns = [ # Rack concepts path('concepts/', include(get_model_urls('netbox_rack_concept', 'rackconcept', detail=False))), path('concepts//', include(get_model_urls('netbox_rack_concept', 'rackconcept'))), # Planned devices path('devices/', include(get_model_urls('netbox_rack_concept', 'conceptdevice', detail=False))), path('devices//', include(get_model_urls('netbox_rack_concept', 'conceptdevice'))), # Entry point from a real rack path('racks//copy/', views.RackCopyView.as_view(), name='rack_copy'), ]