from django.urls import path
from .import views

urlpatterns = [
    path('weather', views.index, name='weather'), # the function to call weather page
    path('delete/<city_name>', views.delete_city, name='delete_city') # the function for delete
]

23b01ad79940c8f8398620457588a6a9ffb0c5f0
<mask token>

<mask token>
urlpatterns = [path('weather', views.index, name='weather'), path(
    'delete/<city_name>', views.delete_city, name='delete_city')]

from django.urls import path
from . import views
urlpatterns = [path('weather', views.index, name='weather'), path(
    'delete/<city_name>', views.delete_city, name='delete_city')]

from django.urls import path
from .import views

urlpatterns = [
    path('weather', views.index, name='weather'), # the function to call weather page
    path('delete/<city_name>', views.delete_city, name='delete_city') # the function for delete
]
