QR code handling (#1896)

This commit is contained in:
Greg Kaleka
2025-08-23 14:13:43 -04:00
committed by GitHub
parent e9f93befcd
commit a5e455a236
3 changed files with 118 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ from core.views import (
UserGuideTemplateView,
BoostDevelopmentView,
ModernizedDocsView,
QRCodeView,
)
from libraries.api import LibrarySearchView
from libraries.views import (
@@ -116,6 +117,14 @@ urlpatterns = (
path("feed/news.rss", RSSNewsFeed(), name="news_feed_rss"),
path("feed/news.atom", AtomNewsFeed(), name="news_feed_atom"),
path("LICENSE_1_0.txt", BSLView, name="license"),
path(
"qrc/<str:campaign_identifier>/", QRCodeView.as_view(), name="qr_code_root"
), # just in case
path(
"qrc/<str:campaign_identifier>/<path:main_path>",
QRCodeView.as_view(),
name="qr_code",
),
path(
"accounts/social/signup/",
CustomSocialSignupViewView.as_view(),