urls.py 993 B

12345678910111213141516
  1. from django.urls import path
  2. from . import views
  3. urlpatterns = [
  4. path('login/', views.login_view, name='login'),
  5. path('logout/', views.logout_view, name='logout'),
  6. path('', views.dashboard, name='dashboard'),
  7. path('registry/add/', views.registry_create, name='registry_create'),
  8. path('registry/<int:pk>/edit/', views.registry_edit, name='registry_edit'),
  9. path('registry/<int:pk>/delete/', views.registry_delete, name='registry_delete'),
  10. path('registry/<int:pk>/repositories/', views.registry_repositories, name='registry_repositories'),
  11. path('registry/<int:pk>/repo/<path:repo_name>/tags/', views.repository_tags, name='repository_tags'),
  12. path('registry/<int:pk>/repo/<path:repo_name>/tag/<path:tag>/delete/', views.image_delete, name='image_delete'),
  13. path('registry/<int:pk>/repo/<path:repo_name>/tag/<path:tag>/', views.image_detail, name='image_detail'),
  14. path('api/check-connection/', views.api_check_connection, name='api_check_connection'),
  15. ]