How it works...

In this recipe, you have seen how quick and efficient it is to assemble a back office application using Django, one of the most popular Python web frameworks; this is thanks to its object-relational mapper, which automatically created the database tables needed by your application and an automatic API to manage (insert, update, and delete) and query the entities without using SQL.

Thanks to the GeoDjango library, two of the application models, County and Sighting, have been geo-enabled with their introduction in the database tables of geometric PostGIS fields.

You have customized the powerful automatic administrative interface to quickly assemble the back-office pages of your application. Using the Django URL Dispatcher, you ...

Get PostGIS Cookbook - Second Edition 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.