from django.urls import path from redirect.views import home, redirect_view urlpatterns = [ path("", home, name="home"), path("", redirect_view, name="redirect"), ]