April 2018
Beginner to intermediate
440 pages
11h 36m
English
Adding an arena can be accomplished using both JSON data and using an HTML form. In this section, we'll create an HTML template, use the AddForm from forms.py, and use it to collect data from the Leaflet.js map included in Chapter 12, GeoDjango, code bundle. It also uses the library jQuery to allow the user to click on the map at any location, thus updating the longitude and latitude data from the map:
