# Path: hosts/views.py
# def host_list(request):
# def host_detail(request, hostname):
# def host_edit(request, hostname):
# def host_delete(request, hostname):
# class HostViewSet(viewsets.ModelViewSet):
# class HostRepoViewSet(viewsets.ModelViewSet):


from django.urls import path
from hosts import views
# Copyright 2012 VPAC, http://www.vpac.org
# Copyright 2013-2021 Marcus Furlong <furlongm@gmail.com>
#
# This file is part of Patchman.
#
# Patchman is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3 only.
#
# Patchman is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Patchman. If not, see <http://www.gnu.org/licenses/>



app_name = 'hosts'

urlpatterns = [
    path('', views.host_list, name='host_list'),

# Path: hosts/views.py
# def host_list(request):
# def host_detail(request, hostname):
# def host_edit(request, hostname):
# def host_delete(request, hostname):
# class HostViewSet(viewsets.ModelViewSet):
# class HostRepoViewSet(viewsets.ModelViewSet):


# Path: hosts/urls.py
from django.urls import path
from hosts import views

# Copyright 2012 VPAC, http://www.vpac.org
# Copyright 2013-2021 Marcus Furlong <furlongm@gmail.com>
#
# This file is part of Patchman.
#
# Patchman is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3 only.
#
# Patchman is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Patchman. If not, see <http://www.gnu.org/licenses/>



app_name = 'hosts'

urlpatterns = [
    path('', views.host_list, name='host_list'),

    path('<str:hostname>/', views.host_detail, name='host_detail'),