mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-28 21:07:04 -05:00
feat: Add user leaderboard API, Cloudflare Turnstile integration, and support ticket categorization.
This commit is contained in:
@@ -19,6 +19,7 @@ from .views import (
|
||||
from .views.discovery import DiscoveryAPIView
|
||||
from .views.stats import StatsAPIView, StatsRecalculateAPIView
|
||||
from .views.reviews import LatestReviewsAPIView
|
||||
from .views.leaderboard import leaderboard
|
||||
from django.urls import path, include
|
||||
from rest_framework.routers import DefaultRouter
|
||||
|
||||
@@ -61,6 +62,8 @@ urlpatterns = [
|
||||
),
|
||||
# Reviews endpoints
|
||||
path("reviews/latest/", LatestReviewsAPIView.as_view(), name="latest-reviews"),
|
||||
# Leaderboard endpoint
|
||||
path("leaderboard/", leaderboard, name="leaderboard"),
|
||||
# Ranking system endpoints
|
||||
path(
|
||||
"rankings/calculate/",
|
||||
|
||||
Reference in New Issue
Block a user