10 lines
278 B
Python
10 lines
278 B
Python
from django.urls import path
|
|
from trends.views import TrendDetailView, TrendListView
|
|
|
|
app_name = "trends"
|
|
|
|
urlpatterns = [
|
|
path("trends/", TrendListView.as_view(), name="trends-home"),
|
|
path("trends/<slug:trend_slug>/", TrendDetailView.as_view(), name="trend-detail"),
|
|
]
|