# Path: labshare/views.py
# def index(request):
# def update_gpu_info(request):
# def update_allocations(request):
# def send_message(request):
# def view_as(request):


from django.conf.urls import include, url
from django.contrib import admin
from django.contrib.auth import views as auth_views
from django.urls import path
from labshare import views


urlpatterns = [
    path('admin/', include(admin.site.urls[:2], namespace=admin.site.urls[-1])),
    path('', views.index, name="index"),
    path('message', views.send_message, name="send_message"),

# Path: labshare/views.py
# def index(request):
# def update_gpu_info(request):
# def update_allocations(request):
# def send_message(request):
# def view_as(request):


# Path: urls.py
from django.conf.urls import include, url
from django.contrib import admin
from django.contrib.auth import views as auth_views
from django.urls import path
from labshare import views



urlpatterns = [
    path('admin/', include(admin.site.urls[:2], namespace=admin.site.urls[-1])),
    path('', views.index, name="index"),
    path('message', views.send_message, name="send_message"),

    path('gpu/update', views.update_gpu_info, name="update_gpu_info"),