feat: add public homepage and downloads

This commit is contained in:
QiuSW
2026-07-06 23:18:08 +08:00
parent 8283573ddc
commit f158a08b9d
18 changed files with 1166 additions and 96 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
from allauth.account.views import LoginView, LogoutView, SignupView
from django.urls import path
from django.views.generic import RedirectView
from .views import (
ApiKeyDeleteView,
ApiKeyListCreateView,
DashboardView,
HomeView,
ModelCatalogView,
RechargePageView,
RechargeRecordListView,
@@ -13,7 +13,7 @@ from .views import (
)
urlpatterns = [
path("", RedirectView.as_view(pattern_name="portal-dashboard", permanent=False), name="portal-home"),
path("", HomeView.as_view(), name="portal-home"),
path("signup", SignupView.as_view(), name="portal-signup"),
path("login", LoginView.as_view(), name="portal-login"),
path("logout", LogoutView.as_view(), name="portal-logout"),