from __future__ import print_function
from __future__ import unicode_literals
from __future__ import division

from django.conf.urls import patterns, include, url

from treemap.views import index, settings

urlpatterns = patterns(
    '',
    url(r'^/$', index),
    url(r'^config/settings.js$', settings)
)

from __future__ import print_function
from __future__ import unicode_literals
from __future__ import division

from django.conf.urls import patterns, include, url

from treemap.views import index, settings

urlpatterns = patterns(
    '',
    url(r'^$', index),
    url(r'^config/settings.js$', settings)
)

Fix url pattern to stop requiring two trailing slashes.
Fix url pattern to stop requiring two trailing slashes.

In order to match this urlpattern, I had to make a request
to localhost:6060/1// with two trailing slashes required.
