Add Project Files
This commit is contained in:
8
hosts/urls.py
Normal file
8
hosts/urls.py
Normal 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'),
|
||||
]
|
||||
Reference in New Issue
Block a user