Need help with Django-2-by-Example?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

541 Stars 497 Forks MIT License 21 Commits 13 Opened issues


Django 2 by Example, published by Packt

Services available


Need anything else?

Contributors list

Django 2 by Example

This is the code repository for Django 2 by Example, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.

About the Book

If you want to learn about the entire process of developing professional web applications with Django, then this book is for you. This book will walk you through the creation of four professional Django projects, teaching you how to solve common problems and implement best practices.

You will learn how to build a blog application, a social image-bookmarking website, an online shop, and an e-learning platform. The book will teach you how to enhance your applications with AJAX, create RESTful APIs, and set up a production environment for your Django projects. The book walks you through the creation of real-world applications, while solving common problems and implementing best practices. By the end of this book, you will have a deep understanding of Django and how to build advanced web applications

Instructions and Navigations

All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter01.

The code will look like the following: ```

if name == "main": os.environ.setdefault("DJANGOSETTINGSMODULE", "mysite.settings") try: from import executefromcommandline except ImportError as exc: raise ImportError( "Couldn't import Django. Are you sure it's installed and " "available on your PYTHONPATH environment variable? Did you " "forget to activate a virtual environment?" ) from exc executefromcommandline(sys.argv)

## Related Products
* [Building Django 2.0 Web Applications](

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.