Skip to content

PacktPublishing/Django-2-Web-Development-Cookbook-Third-Edition

Repository files navigation

Django 2 Web Development Cookbook - Third Edition

Django 2 Web Development Cookbook - Third Edition

This is the code repository for Django 2 Web Development Cookbook - Third Edition, published by Packt.

100 practical recipes on building scalable Python web apps with Django 2

What is this book about?

Django is a framework designed to balance rapid web development with high performance. It handles high levels of user traffic and interaction, integrates with a variety of databases, and collects and processes data in real time. This book follows a task-based approach to guide you through developing with the Django 2.1 framework, starting with setting up and configuring Docker containers and a virtual environment for your project.

This book covers the following exciting features:

  • Get started with the basic configuration necessary to start any Django project
  • Build a database structure out of reusable model mixins
  • Secure web applications against malicious usage and address common performance bottlenecks
  • Integrate with, and extend, the Django CMS
  • Construct and manage complex and deep hierarchies

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Errata

  • Page 6 - About the reviewers (Mayank Sharma): He has been with Microsoft for 5 years, worked as Project Manager for Azure Integration Services. should be He has been with Microsoft for 5 years, worked in the role of Program Manager for Azure Integration Services.

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

# settings.py or config/base.py
INSTALLED_APPS = ( 
    # ... 
    'django.contrib.contenttypes',
) 

Following is what you need for this book: This book is designed for Python developers working on fast and secure web apps that can scale over time. You’ll also find this book useful if you want to upgrade to latest Django framework. A background in Python 3 along with basic knowledge of the Django framework will be useful.

With the following software and hardware list you can run all code files present in the book (Chapter 1-12).

Software and Hardware List

Chapter Software required OS required
1-12 Python 3.6+ Windows, Mac OS X, and Linux (Any)
1-12 pip Windows, Mac OS X, and Linux (Any)
1-12 Docker Engine v18+ Community Edition Windows 10, Mac OS X, and Linux (Any)
1-12 Docker Toolbox Older Mac/Windows Pre-10
1-12 virtualenv v16+ Windows, Mac OS X, and Linux (Any)
1 Subversion Windows, Mac OS X, and Linux (Any)
1 Git Windows, Mac OS X, and Linux (Any)
1 MySQL Community Server v8+ Windows, Mac OS X, and Linux (Any)
4, 6 Google Maps Platform account Windows, Mac OS X, and Linux (Any)
4 Picturefill Windows, Mac OS X, and Linux (Any)
4 JScroll Windows, Mac OS X, and Linux (Any)
7 Auth0 Plan and API Key Windows, Mac OS X, and Linux (Any)
7 Memcached Server Windows, Mac OS X, and Linux (Any)
7 Redis Server Windows, Mac OS X, and Linux (Any)

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Related products

Get to Know the Authors

Jake Kronika is a senior software engineer with nearly 25 years' experience, has been working with Python since 2005, and Django since 2007. Evolving alongside the web development space, his skillset encompasses HTML5, CSS3, and ECMAScript 6 on the frontend, plus Python, Django, Ruby on Rails, Node.js, and much more besides on the server side. Currently a senior software engineer and development team lead, he collaborates with skilled designers, business stakeholders, and developers around the world to architect robust web applications. In his spare time, he also provides full-spectrum web services as sole proprietor of Gridline Design and Development. Prior to this book, he has acted as a technical reviewer for several other Packt titles.

Aidas Bendoraitis has been professionally working with web technologies for over a decade. Over the last 10 years at a Berlin-based company, studio 38 pure communication GmbH, together with a creative team, he has developed a number of small and large-scale Django projects, mostly in the cultural area. At the moment he is also working as software architect at a London-based mobile startup, Hype. Aidas regularly attends the meetups of the Django User Group in Berlin, occasionally visits Django and Python conferences, and writes a blog about Django.

Other books by the authors

Suggestions and Feedback

Click here if you have any feedback or suggestions.

About

Django 2 Web Development Cookbook - Third Edition, by Packt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published