To get the most out of this book

To develop with Django 3.0 using the examples in these pages, you will need the following:

  • Python 3.6 or higher
  • The Pillow library for image manipulation
  • Either the MySQL database and the mysqlclient binding library, or the PostgreSQL database with the psycopg2-binary binding library
  • Docker Desktop or Docker Toolbox for complete system virtualization, or a built-in virtual environment to keep each project's Python modules separated
  • Git for version control

        
Software/hardware covered in the book
Python 3.6 or higher
Django 3.0.X
PostgreSQL 11.4 or higher/MySQL 5.6 or higher
OS recommendations
Any recent Unix-based operating system, such as macOS or Linux (although it is possible to develop on Windows too)

All other specific requirements are mentioned separately in each recipe.

If you are using the digital version of this book, we advise you to type the code yourself or access the code via the GitHub repository (link available in the next section). Doing so will help you avoid any potential errors related to the copy/pasting of code or incorrect indentation.

For editing project files you can use any code editor, but we recommend PyCharm (https://www.jetbrains.com/pycharm/) or Visual Studio Code (https://code.visualstudio.com/).

I would be thrilled if, after successfully publishing your Django project, you would share your results, learnings, and outcomes with me by email at aidas@bendoraitis.lt

All code examples have been tested using Django 3. However, they should work with future version releases as well.