text: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  
  from django.conf.urls import url
  from django.contrib.staticfiles import views as static_views
  from django.conf.urls.static import static
  from django.conf import settings
  
  import library.views as views
  
  urlpatterns = [
                    url(r'^$', views.index, name='index'),
                    url(r'^login/', views.user_login, name='user_login'),
                    url(r'^logout/', views.user_logout, name='user_logout'),
                    url(r'^register/', views.user_register, name='user_register'),
                    url(r'^set_password/', views.set_password, name='set_password'),
                    url(r'^static/(?P<path>.*)$', static_views.serve, name='static'),
                    url(r'^book/detail$', views.book_detail, name='book_detail'),
                    url(r'^book/action$', views.reader_operation, name='reader_operation'),
                    url(r'^search/', views.book_search, name='book_search'),
                    url(r'^profile/', views.profile, name='profile'),
                    url(r'^statistics/', views.statistics, name='statistics'),
                    url(r'^about/', views.about, name='about'),
                    url(r'^calendar/', views.calendar, name='calendar'),
                    url(r'^userData/', views.userData, name='userData'),
                    url(r'^suConfig/', views.suConfig, name='suConfig'),
                ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
  