1
# Copyright (C) 2010, 2011, 2013 Francois Marier <francois@libravatar.org>
1
# Copyright (C) 2010, 2011, 2013, 2016 Francois Marier <francois@libravatar.org>
3
3
# This file is part of Libravatar
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/>.
18
# pylint: disable=W0401,W0614
19
from django.conf.urls.defaults import patterns, include, handler404, handler500
18
from django.conf.urls import url, patterns, include, handler404, handler500
21
20
handler404 # make pyflakes happy, pylint: disable=W0104
22
21
handler500 # make pyflakes happy, pylint: disable=W0104
23
# pylint: disable=invalid-name
24
24
urlpatterns = patterns('',
25
(r'^account/', include('libravatar.account.urls')),
27
(r'^openid/', include('django_openid_auth.urls')),
29
(r'^tools/', include('libravatar.tools.urls')),
31
(r'^$', 'libravatar.public.views.home'),
32
(r'^resize/', 'libravatar.public.views.resize'),
33
(r'^resolve/', 'libravatar.public.views.resolve'),
25
url(r'^account/', include('libravatar.account.urls')),
27
url(r'^openid/', include('django_openid_auth.urls')),
29
url(r'^tools/', include('libravatar.tools.urls')),
31
url(r'^$', 'libravatar.public.views.home'),
32
url(r'^resize/', 'libravatar.public.views.resize'),
33
url(r'^resolve/', 'libravatar.public.views.resolve'),