comparison antispam/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 """URLs for the antispam application.""" 1 """URLs for the antispam application."""
2 from django.conf.urls import patterns, url 2 from django.conf.urls import url
3 3
4 urlpatterns = patterns('antispam.views', 4 import antispam.views
5 url(r'^suspended/$', 'suspended', name='antispam-suspended'), 5
6 ) 6
7 urlpatterns = [
8 url(r'^suspended/$', antispam.views.suspended, name='antispam-suspended'),
9 ]