Django 2 by Example, published by Packt
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
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
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 django.core.management 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](https://www.packtpub.com/web-development/building-django-20-web-applications?utm_source=GitHub&utm_medium=repo&utm_campaign=9781787286214)