Actually, I want to move this URL to the settings.py, and then render it to javascript in the base template. But moving it to base_leaflet_app.js is a step in the right direction.