update editor js to only use the REST API.

This commit is contained in:
Laura Klünder 2016-09-11 22:11:28 +02:00
parent 26c82ccb80
commit c9eb98166c
3 changed files with 48 additions and 56 deletions

View file

@ -1,8 +1,7 @@
from django.conf.urls import url
from django.views.generic import TemplateView
from . import views
urlpatterns = [
url(r'^$', views.index, name='editor.index'),
url(r'^sources/image/(?P<source>[^/]+)$', views.source, name='editor.sources.image'),
url(r'^$', TemplateView.as_view(template_name='editor/map.html'), name='editor.index')
]