Django Programming, In 8 Hours, For Beginners!
- Length: 130 pages
- Edition: 1
- Language: English
- Publisher: Ray Yao 's eBooks & Books
- Publication Date: 2020-03-20
- ISBN-10: B0867HCRQW
- Sales Rank: #389213 (See Top 100 Books)
This is a zero-risk investment, if you are not satisfied with this ebook, you can get a full refund within 7 days!
About this book:
Absolutely for Beginners
This book covers all essential Django knowledge. You can learn complete primary skills of Django fast and easily. The book includes more than 60 practical examples for beginners and includes tests & answers for the college exam, the engineer certification exam, and the job interview exam.
Source Code for Download
This book provides source code for download; you can download the source code for better study, or copy the source code to your favorite editor to test the programs.
Table of Content
Chapter 1
Django Introduction
Install Django
Chapter 2
Creating Project
Project Structure
Start up Server
Preview Web Page
Create a View File
Create an URL File
View the Web Page
Template
Template Path
Modify view.py
View the Web Page
Chapter 3
Django Template Tags
If/Endif Tag
Elif/Endif Tag
For Tag
Comment Tag
Include Tag
Convert to Lower Case
Convert to Upper Case
String Length
Truncating Tag
Block & Extend Tag
Chapter 4
Models
Create an App
Modify the models.py
Modify the setting.py
Create a Data Table
Modify urls.py
Create a file testdb.py
Test Database
Retrieve Data
Update the Data
Delete the Data
Chapter 5
Django Form
Get Method
Test the Form
Calculation
Post Method
Test the Form
Redirection
Chapter 6
Administration Tools
Activation of Management Tools
Create a Super User
Manage Database
Another Database
Modify the models.py
Register the New Database
Back-End Sample
Appendix 1 Python Basic
What is Python?
First Python Program
The Shell Prompt
Configure Editor
Variables
Variables & Comment
Arithmetic Operator
Assignment Operators
Comparison Operators
Logical Operators
Conditional Operator
Convert Data Type
Triple Quotes
Exercise: Ticket Fare
Summary
Appendix 2 Texts & Answers
Tests
Answers