g214/news/urls.py

10 lines
230 B
Python
Raw Normal View History

2018-08-20 08:21:25 +00:00
from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^$', views.index, name='news'),
url(r'^details/', views.details, name='news_details'),
url(r'^search/', views.search, name="news_search"),
]