Build a Location-Based Web App With Django and GeoDjango

Throughout this course, you’ll learn how to use Django and GeoDjango to build a location-based web application from scratch. You’ll be building a simple nearby shops application that lists the shops closest to a user’s location.

By the end of this course, you’ll be able to:

  • Use Django to build a simple web application from scratch

  • Use the GeoDjango sub-framework to implement geolocation features in your Django application

  • Use a spatial database (PostgreSQL and PostGIS) to get benefits from the spatial features and easily implement location-aware web apps

What’s Included:

Related Learning Paths:

About Jackie Wilson

Jackie teaches computer science full-time for Cecil College, and fell in love with Python many years ago when she realized it wasn't pseudocode, but an actual language.

» More about Jackie

Each tutorial at Real Python is created by a team of developers so that it meets our high quality standards. The team members who worked on this tutorial are:

Participant Comments

Avatar image for mikesult

mikesult on Aug. 12, 2020

This was a great tutorial. I really enjoyed the connection of the many different parts in this application: Postgres, Django, GeoDjango, Leafletjs. Plus the data source of overpass-turbo.eu was interesting and a great learning experience for me. I echo the comments of others to encourage more tutorials along this line. Thank you.

Avatar image for Abby Jones

Abby Jones on Aug. 4, 2019

This is so awesome!!!!!!!!!!!!!!!!!!

Avatar image for erikjamesmason

erikjamesmason on May 8, 2019

Thanks for the tutorial! It definitely piqued my interest!

Avatar image for Peter T

Peter T on May 4, 2019

This is an exceptional course and a extremely professional approach to teaching. It’s obvious to me that Jackie has finely honed her college teaching experience and it shows throughout these videos. Her thought process is completely easy to follow and she doesn’t leave any gaps for the readers to Google the answers for themselves. She has also transposed many of her video words into written words for the readers to peruse. Maybe these will turn into a fully complete written tutorial. (hint) Excellent course!

Avatar image for Milan NIkolic

Milan NIkolic on May 1, 2019

Thank you Jackie, That was flawless. I truly enjoyed the course and finally signed up for RealPython. It was a matter of time. Just couldn’t resist finishing this series. After checking out the site, I am extremely happy I made that decision. Thanks and all the best to you and everybody at RealPython! M

← Browse All Courses