Database Reference
In-Depth Information
How it works...
YoucreatedanHTMLfrontpageforthewebapplicationyoudevelopedintheprevi-
ousrecipe.TheHTMLisdynamicallycreatedusingtheDjangoTemplatelanguage
(
https://docs.djangoproject.com/en/dev/topics/templates/
), and the map was imple-
mented with the Leaflet JavaScript library.
TheDjangotemplatelanguageusestheresponsefromthehomeviewtogeneratea
list of all of the sightings in the system.