g214/news/urls.py

10 lines
230 B
Python

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"),
]