Running the application

Open, the command prompt and change directories to the root folder (C:\Projects\chapter12). Start the local development server with the following command:

C:\Projects\chapter12>python manage.py runserver

The result should look like this:

Open a browser and go to: http://127.0.0.1:8000. The initial GET request will be redirected to the arenas view and processed, returning a random arena. Selecting another arena from the list and pushing the Find Data button will perform a POST request and will locate the selected arena. Each time an arena is selected, the text of the arena name will change, along with the map location ...

Get Mastering Geospatial Analysis with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.