Mercurial > public > sg101
annotate gpp/antispam/urls.py @ 574:ddd69a8e07c7
For Django 1.4, use django.conf.urls instead of django.conf.urls.defaults.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 03 May 2012 20:45:16 -0500 |
parents | 8c1832b9d815 |
children |
rev | line source |
---|---|
bgneal@215 | 1 """URLs for the antispam application.""" |
bgneal@574 | 2 from django.conf.urls import patterns, url |
bgneal@215 | 3 |
bgneal@215 | 4 urlpatterns = patterns('antispam.views', |
bgneal@215 | 5 url(r'^suspended/$', 'suspended', name='antispam-suspended'), |
bgneal@215 | 6 ) |