urls.py 258 B

1234567891011
  1. # -*- coding: utf-8 -*-
  2. from __future__ import unicode_literals
  3. from django.conf.urls import url
  4. from . import views
  5. urlpatterns = [
  6. url(r'^$', views.loan_list, name='loan-list'),
  7. url(r'^(?P<pk>[0-9]+)$', views.loan_detail, name='loan-detail'),
  8. ]