mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Frontend modified to new django asgi standard
This commit is contained in:
@@ -20,6 +20,7 @@ from django.contrib.auth.models import User
|
||||
from django.shortcuts import HttpResponse
|
||||
from django.urls import include, path, re_path
|
||||
from django.conf.urls.static import static
|
||||
from asgiref.sync import sync_to_async
|
||||
from interface import views
|
||||
|
||||
urlpatterns = [
|
||||
@@ -27,6 +28,7 @@ urlpatterns = [
|
||||
path("", views.index, name="index"),
|
||||
path("home", views.home, name="home"),
|
||||
re_path("^live$", views.live, name="live"),
|
||||
re_path("^menu$", views.menu, name="menu"),
|
||||
path("sort/<_order>", views.index, name="index"),
|
||||
path("flip_sort/<_order>", views.flip_sort, name="index"),
|
||||
path("download/<pk>", views.download, name="download"),
|
||||
|
||||
Reference in New Issue
Block a user