from django.urls import path

from core import views


app_name = "core"

urlpatterns = [
    path("home/", views.home, name="home"),
    path("about/", views.about, name="about"),
]

from core import views
from django.urls import path

app_name = "core"

urlpatterns = [
    path("", views.home, name="home"),
    path("about/", views.about, name="about"),
]

Fix route for main page
Fix route for main page

+ from core import views
  from django.urls import path
- 
- from core import views
- 
  
  app_name = "core"
  
  urlpatterns = [
-     path("home/", views.home, name="home"),
+     path("", views.home, name="home"),
      path("about/", views.about, name="about"),
  ]
  
Fix route for main page
## Code Before:
from django.urls import path

from core import views


app_name = "core"

urlpatterns = [
    path("home/", views.home, name="home"),
    path("about/", views.about, name="about"),
]

## Instruction:
Fix route for main page
## Code After:
from core import views
from django.urls import path

app_name = "core"

urlpatterns = [
    path("", views.home, name="home"),
    path("about/", views.about, name="about"),
]
