<reponame>csbok/github-trending<filename>trend_django/trend/urls.py
from django.conf.urls import url
from . import views

urlpatterns = [
    url(r'^$', views.TodayTrendListView.as_view(), name='todaytrend-list'),
    url(r'^(?P<pk>[0-9]+)/$', views.OneItemListView.as_view(), name='oneitem-list'),
]
from django.conf.urls import url
from . import views

urlpatterns = [
    url(r'^$', views.TodayTrendListView.as_view(), name='todaytrend-list'),
    url(r'^(?P<pk>[0-9]+)/$', views.OneItemListView.as_view(), name='oneitem-list'),
]