ENGLISH

Django - The Easy Way A step-by-step guide on building Django websites

Book information

Publisher
Independently published
Year
2019
ISBN
169188801X, 9781691888016
Language
english
Format
PDF
Filesize
4 MB (3732155 bytes)
Edition
3
Pages
361\349
Time added
2020-07-10 13:07:18

Description

[Updated 2020.03.14] Learn how to build and deploy web applications with Python and Django. Table of contents: Blogging PlatformCreating A Django ProjectCreating AppsTemplatesStatic Files (CSS)ModelsForeignKey And DatesForms With ModelFormAuthenticationAuthorizationTaggingPaginationImagesContext processors: Latest postsStyling With SassDeployment: HerokuAmazon S3 Storage And CloudFrontMiscellaneous TopicsDeployment: Digitalocean (PostgeSQL, Nginx, Gunicorn)Deployment: PythonAnywherePyCharm and DjangoOne App ProjectBuilding APIsTesting Table of Contents Introduction About the author About Python About Django Who is this book for What this book covers GitHub repository and feedback Installing Python I Blogging Platform Creating A Django Project Creating virtual environments Installing Django Creating a new Django project Summary Creating Apps Adding features with apps Configuring URLs Creating views Creating templates Summary Templates Templates Template inheritance Summary Static Files (CSS) Adding CSS stylesheets Configuration Template Highlighting active links Summary Models Creating models Listing blog posts Creating a blog detail page Summary ForeignKey And Dates Summary Forms With ModelForm Creating posts Editing posts Deleting posts Summary Authentication Implementing authentication Overriding templates Summary Authorization Assigning permissions with groups Checking permissions in templates Restricting access to views Summary Tagging Tagging blog posts Filtering blog posts by a tag Summary Pagination Paginator class Including templates Summary Images Uploading images Processing images Summary Context processors: Latest posts Context processors Summary Styling With Sass node-sass browser-sync Normalize Google Fonts Header Layout Post Latest posts block Forms Pagination Summary Deployment: Heroku Creating a new app Configuring Heroku Settings Updating the production site Summary Amazon S3 Storage And CloudFront Creating an Amazon S3 bucket Setting up permissions Configuration Installing packages CloudFront Summary II Miscellaneous Topics Deployment: Digitalocean Local vs production configuration SSH keys Git repository Creating a droplet Configuring the droplet PostgreSQL Django application and production settings Staticfiles Gunicorn Nginx Updating the production site Summary Deployment: PythonAnywhere Local vs production configuration SSH keys Git repository Adding a web app Updating the production site Summary PyCharm and Django Setup One App Project Configuration Models & URLs View & template Add content and run the development server Summary Building APIs Setup Serializers GET (all) and POST GET (detail), PUT and DELETE Authorization Custom permissions Authentication Pagination Summary Testing Introduction Unit tests Test view context data Test data and database queries Fixtures Functional tests Summary Attribution

Similar books