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.
6 lines
99 B
Python
6 lines
99 B
Python
from django.urls import path
|
|
|
|
from .views import home
|
|
|
|
urlpatterns = [path("", home, name="home")]
|