base setup

This commit is contained in:
2026-01-07 12:09:20 +05:30
commit 0c275efea1
278 changed files with 11228 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
# at_django_boilerplate/core/urls.py
from django.urls import path
from . import views
import at_django_boilerplate.core.logging.views as logger_views
urlpatterns = [
path("", views.IndexView.as_view(), name='index'), # Root URL for unauthenticated users
path("home/", views.IndexView.as_view(), name='home'),
path("dashboard/", views.DashboardView.as_view(), name='dashboard'), # Dashboard for authenticated users
path("faq/", views.FaqView.as_view(), name="faq"),
path("terms-conditions/", views.TermsView.as_view(), name="terms_conditions"),
path("privacy-policy/", views.PrivacyPolicyView.as_view(), name="privacy"),
path("cookie-policy/", views.CookiePolicy.as_view(), name="cookie"),
path("about/", views.AboutUsView.as_view(), name="about"),
path("blog_list/", views.BlogsView.as_view(), name="blog_list"),
path("careers/", views.CareersView.as_view(), name="careers"),
path("our_core_team/", views.OurCoreTeam.as_view(), name="our-core-team"),
path("subscribe/", views.subscribe_view, name="subscribe"),
path("unsubscribe/<uuid:id>", views.unsubscribe_view, name="unsubscribe"),
path("robots.txt", views.robots_txt, name="robots_txt"),
################################## LOGS VIEWER #################################################
path("logs/list", logger_views.log_list, name="log_list"),
path("logs/<str:filename>/", logger_views.log_detail, name="log_detail"),
]