├── Chapter01 ├── django.zip └── requirements.dev.txt ├── Chapter02 ├── django.zip ├── logged_out.html └── requirements.dev.txt ├── Chapter03 └── requirements.dev.zip ├── Chapter04 └── requirements.dev.zip ├── Chapter05 └── media_root.zip ├── Chapter06 └── docker.zip ├── Chapter07 └── elasticsearch.zip ├── Chapter08 └── solr.zip ├── Chapter09 └── postgres.zip ├── Chapter10 └── requirements.zip ├── Chapter11 └── docker.zip ├── Chapter12 └── docker.zip ├── Chapter13 └── docker.zip ├── LICENSE └── README.md /Chapter01/django.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Django-2.0-Web-Applications/91b0d70d59ae5c4287b1b304fc3b7af82d2c86db/Chapter01/django.zip -------------------------------------------------------------------------------- /Chapter01/requirements.dev.txt: -------------------------------------------------------------------------------- 1 | django<2.1.0 2 | psycopg2 3 | -------------------------------------------------------------------------------- /Chapter02/django.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Django-2.0-Web-Applications/91b0d70d59ae5c4287b1b304fc3b7af82d2c86db/Chapter02/django.zip -------------------------------------------------------------------------------- /Chapter02/logged_out.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% block title %} 4 | Logged out 5 | {% endblock %} 6 | 7 | {% block main %} 8 | 9 |
It's been reel!
11 | 12 | {% endblock %} -------------------------------------------------------------------------------- /Chapter02/requirements.dev.txt: -------------------------------------------------------------------------------- 1 | django<2.1.0 2 | psycopg2 3 | -------------------------------------------------------------------------------- /Chapter03/requirements.dev.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Django-2.0-Web-Applications/91b0d70d59ae5c4287b1b304fc3b7af82d2c86db/Chapter03/requirements.dev.zip -------------------------------------------------------------------------------- /Chapter04/requirements.dev.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Django-2.0-Web-Applications/91b0d70d59ae5c4287b1b304fc3b7af82d2c86db/Chapter04/requirements.dev.zip -------------------------------------------------------------------------------- /Chapter05/media_root.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Django-2.0-Web-Applications/91b0d70d59ae5c4287b1b304fc3b7af82d2c86db/Chapter05/media_root.zip -------------------------------------------------------------------------------- /Chapter06/docker.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Django-2.0-Web-Applications/91b0d70d59ae5c4287b1b304fc3b7af82d2c86db/Chapter06/docker.zip -------------------------------------------------------------------------------- /Chapter07/elasticsearch.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Django-2.0-Web-Applications/91b0d70d59ae5c4287b1b304fc3b7af82d2c86db/Chapter07/elasticsearch.zip -------------------------------------------------------------------------------- /Chapter08/solr.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Django-2.0-Web-Applications/91b0d70d59ae5c4287b1b304fc3b7af82d2c86db/Chapter08/solr.zip -------------------------------------------------------------------------------- /Chapter09/postgres.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Django-2.0-Web-Applications/91b0d70d59ae5c4287b1b304fc3b7af82d2c86db/Chapter09/postgres.zip -------------------------------------------------------------------------------- /Chapter10/requirements.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Django-2.0-Web-Applications/91b0d70d59ae5c4287b1b304fc3b7af82d2c86db/Chapter10/requirements.zip -------------------------------------------------------------------------------- /Chapter11/docker.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Django-2.0-Web-Applications/91b0d70d59ae5c4287b1b304fc3b7af82d2c86db/Chapter11/docker.zip -------------------------------------------------------------------------------- /Chapter12/docker.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Django-2.0-Web-Applications/91b0d70d59ae5c4287b1b304fc3b7af82d2c86db/Chapter12/docker.zip -------------------------------------------------------------------------------- /Chapter13/docker.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Django-2.0-Web-Applications/91b0d70d59ae5c4287b1b304fc3b7af82d2c86db/Chapter13/docker.zip -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Packt 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Building Django 2.0 Web Applications 2 | This is the code repository for [Building Django 2.0 Web Applications](https://www.packtpub.com/web-development/building-django-20-web-applications?utm_source=github&utm_medium=repository&utm_campaign=9781787286214), published by [Packt](https://www.packtpub.com/?utm_source=github). It contains all the supporting project files necessary to work through the book from start to finish. 3 | ## About the Book 4 | Who doesn't have an idea for the next great app or service they want to launch? However, most apps, services, and websites ultimately rely on a server being able to accept requests and then create, read, update, and delete records based on those requests. Django makes it easy to build and launch websites, services, and backends for your great idea. However, despite the history of being used at large-scale successful start-ups and enterprises, it can be difficult to gather all the resources necessary to actually take an idea from empty directory to running production server. 5 | ## Instructions and Navigation 6 | All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02. 7 | 8 | 9 | 10 | The code will look like the following: 11 | ``` 12 | INSTALLED_APPS = [ 13 | 'django.contrib.admin', 14 | 'django.contrib.auth', 15 | 'django.contrib.contenttypes', 16 | 'django.contrib.sessions', 17 | 'django.contrib.messages', 18 | 'django.contrib.staticfiles', 19 | ] 20 | ``` 21 | 22 | To get the most out of this book book you should: 23 | 24 | Have some familiarity with Python and have Python3.6+ installed 25 | Be able to install Docker or other new software on your computer 26 | Know how to connect to a Postgres server from your computer 27 | Have access to a Bash shell 28 | 29 | ## Related Products 30 | * [C# 7 and .NET Core 2.0 High Performance](https://www.packtpub.com/application-development/c-7-and-net-core-20-high-performance?utm_source=github&utm_medium=repository&utm_campaign=9781788470049) 31 | 32 | * [Building Microservices with .NET Core 2.0 - Second Edition](https://www.packtpub.com/application-development/building-microservices-net-core-20-second-edition?utm_source=github&utm_medium=repository&utm_campaign=9781788393331) 33 | 34 | * [RESTful Web API Design with Node.js 10 - Third Edition](https://www.packtpub.com/web-development/restful-web-api-design-nodejs-10-third-edition?utm_source=github&utm_medium=repository&utm_campaign=9781788623322) 35 | --------------------------------------------------------------------------------