|
# home/urls.py
|
|
|
|
from django.urls import path
|
|
from . import views # import views from the current app
|
|
|
|
# Define the URL patterns for the 'home' app
|
|
urlpatterns = [
|
|
path('', views.index, name='home-index'), # Map the URL '' to the index view with the name 'home-index'
|
|
] |