Thank you for joining me for this Real Python video series where you’ll be making a location-based web application with Django and GeoDjango. The app you’ll build will be a very simple one. You’ll have a data collection of shops in the city of Baltimore. This data will be queried to provide a subset of shops closest to a user’s location.
Let’s go over the list of tools you’ll be using in this tutorial:
Python version 3 will be the programming language you’ll use to create the application. You’ll code in a Python virtual environment and use pip to install required packages.
You need to store data for this project. This tutorial will walk you through installing PostGreSQL for that purpose. PostGreSQL is a relational database, and you’ll add the PostGIS extension to incorporate spatial data features.
For your backend web server, you will install the Django web framework and enable GeoDjango for spatial data support. GeoDjango is included with the Django installation.
GeoDjango will require some drivers for spatially modeling the data. These drivers can be tricky to install individually, so in the interest of time, this tutorial includes an installation of QGIS which is a great open source GIS application that as an added benefit, installs these drivers gracefully.
As an bonus, you’ll use Leaflet to produce a map with markers showing your user in a graphical way the shops that are nearby.
Downloadable Sample Project: This course includes a downloadable sample project that demonstrates the final state of the Django app you’ll build throughout the course. You can get the source code for it here on the