9 lines
252 B
Python
9 lines
252 B
Python
from django.urls import path
|
|
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
path("", views.news, name="home"),
|
|
path('url/<int:id>/', views.url_detail_view, name='url_detail'),
|
|
path('url/<int:id>/fetch/', views.fetch_details, name='fetch_details'),]
|