# Path: kraut_sharing/views.py
# def home(request):
# def manage_osint_feeds(request):
# def manage_servers(request):
# def delete_server(request, server_id):
# def list_collections(request):
# def refresh_collection(request, server_id):
# def delete_collection(request, collection_id):
# def poll_now(request, collection_id):
# def poll(request):


from django.conf.urls import url
from kraut_sharing import views

urlpatterns = [
    url(r'^$', views.home, name='home'),
    url(r'^poll/$', views.poll, name='poll'),
    url(r'^collections/$', views.list_collections, name='collections'),

# Path: kraut_sharing/views.py
# def home(request):
# def manage_osint_feeds(request):
# def manage_servers(request):
# def delete_server(request, server_id):
# def list_collections(request):
# def refresh_collection(request, server_id):
# def delete_collection(request, collection_id):
# def poll_now(request, collection_id):
# def poll(request):


# Path: kraut_sharing/urls.py
from django.conf.urls import url
from kraut_sharing import views


urlpatterns = [
    url(r'^$', views.home, name='home'),
    url(r'^poll/$', views.poll, name='poll'),
    url(r'^collections/$', views.list_collections, name='collections'),

    url(r'^collections/(?P<collection_id>\d+)/poll/$', views.poll_now, name='poll_now'),