Add Project Files

This commit is contained in:
2022-06-20 13:41:51 +03:00
parent a5aecd6dda
commit 09e209b988
24 changed files with 388 additions and 51 deletions

8
hosts/urls.py Normal file
View File

@@ -0,0 +1,8 @@
from django.urls import path
from . import views
urlpatterns = [
path('hosts/', views.Index.as_view(), name='index'),
path('hosts/<int:pk>/', views.HostDetail.as_view(), name='host-info'),
path('add/', views.HostCreate.as_view(), name='add'),
]