feat(api/base): Implement base home/login page

This commit introduces the foundational home and login page for the API base application, establishing core routing and view logic.

**New Features**
*   Added `urls.py` to define routing for the base API application.
*   Introduced `views.py` with a `home` view function.
*   Configured the root URL (`/`) to be served by the `home` view.
*   The `home` view is responsible for rendering the `base/login.html` template.
This commit is contained in:
sankalp committed 2025-12-14 05:25:24 +05:45
1 parent 1953f8df04
commit fdb7255af3
2 files changed
+10

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
from django.urls import path
from .views import home
urlpatterns = [path("", home, name="home")]
+5
View File
@@ -0,0 +1,5 @@
from django.shortcuts import render
def home(request):
return render(request, "base/login.html")