~libravatar/libravatar/master

« back to all changes in this revision

Viewing changes to libravatar/tools/urls.py

  • Committer: Francois Marier
  • Date: 2016-01-19 05:15:53 UTC
  • mfrom: (938.1.35)
  • Revision ID: git-v1:37eed3b35265f0401db473e2ceedea9859e86703
Merge branch 'django1.7'

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2010, 2011  Francois Marier <francois@libravatar.org>
 
1
# Copyright (C) 2010, 2011, 2016  Francois Marier <francois@libravatar.org>
2
2
#
3
3
# This file is part of Libravatar
4
4
#
15
15
# You should have received a copy of the GNU Affero General Public License
16
16
# along with Libravatar.  If not, see <http://www.gnu.org/licenses/>.
17
17
 
18
 
# pylint: disable=W0401,W0614
19
 
from django.conf.urls.defaults import patterns
 
18
from django.conf.urls import url, patterns
20
19
 
 
20
# pylint: disable=invalid-name
21
21
urlpatterns = patterns('',
22
 
    ('check/$', 'libravatar.tools.views.check'),
23
 
    ('check_domain/$', 'libravatar.tools.views.check_domain'),
24
 
)
 
22
                       url('check/$', 'libravatar.tools.views.check'),
 
23
                       url('check_domain/$',
 
24
                           'libravatar.tools.views.check_domain'),
 
25
                      )