Mercurial > public > sg101
view gpp/antispam/urls.py @ 231:a2d388ed106e
Guard against the request object not having a user attribute in my Who's online middleware. This can happen if a redirect is issued before the authentication middleware gets to run.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 14 Jul 2010 02:35:39 +0000 |
parents | 8c1832b9d815 |
children | ddd69a8e07c7 |
line wrap: on
line source
"""URLs for the antispam application.""" from django.conf.urls.defaults import * urlpatterns = patterns('antispam.views', url(r'^suspended/$', 'suspended', name='antispam-suspended'), )