Mercurial > public > sg101
comparison membermap/urls.py @ 1028:5ba2508939f7
Django 1.8 changes; first batch.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 15 Dec 2015 21:01:07 -0600 |
parents | ee87ea74d46b |
children |
comparison
equal
deleted
inserted
replaced
1027:cd4db27c90e3 | 1028:5ba2508939f7 |
---|---|
1 """ | 1 """ |
2 URLs for the member map application. | 2 URLs for the member map application. |
3 """ | 3 """ |
4 from django.conf.urls import patterns, url | 4 from django.conf.urls import url |
5 | 5 |
6 urlpatterns = patterns('membermap.views', | 6 import membermap.views |
7 url(r'^$', 'index', name='membermap-index'), | 7 |
8 url(r'^add/$', 'add', name='membermap-add'), | 8 urlpatterns = [ |
9 url(r'^delete/$', 'delete', name='membermap-delete'), | 9 url(r'^$', membermap.views.index, name='membermap-index'), |
10 url(r'^query/$', 'query', name='membermap-query'), | 10 url(r'^add/$', membermap.views.add, name='membermap-add'), |
11 ) | 11 url(r'^delete/$', membermap.views.delete, name='membermap-delete'), |
12 url(r'^query/$', membermap.views.query, name='membermap-query'), | |
13 ] |