© David Ashley 2020
D. AshleyFoundation Dynamic Web Pages with Pythonhttps://doi.org/10.1007/978-1-4842-6339-6_6

6. Django

David Ashley1 
(1)
Austin, TX, USA
 

Django is a popular web development environment similar to Flask, but with some differences. The differences are significant in some circumstances. For instance, the Django APIs are a complete mechanism for managing all the parts including the database and template pieces. Flask, on the other hand, allows you to use the native API for these parts and thus gives you more choices for solving your problems. But if you are using pieces that Django supports, then this is the development environment you will want to use.

In this chapter, I will highlight the differences as they come up.

Django and WSGI ...

Get Foundation Dynamic Web Pages with Python: Create Dynamic Web Pages with Django and Flask 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.