src/core/urls.py
author ymh <ymh.work@gmail.com>
Thu, 30 Jan 2014 13:22:37 +0100
changeset 324 70e8d83f8530
parent 67 5d9223bb3aab
child 334 169b7cfd1f58
permissions -rw-r--r--
Replace re.escape to avoid unneccessary escaping on unicode strings

# -*- coding: utf-8 -*-
'''
Created on Jul 17, 2013

@author: ymh
'''
from core.views import SparqlEndpointProxy
from django.conf.urls import patterns, url
from django.contrib.auth.decorators import login_required


urlpatterns = patterns('',    
    url(r'^proxy-sparql/(?P<wp_lang>\w{2})/', login_required(SparqlEndpointProxy.as_view()), name='wp_sparql_proxy'),
)