diff options
author | ankitjavalkar | 2017-06-21 20:07:12 +0530 |
---|---|---|
committer | GitHub | 2017-06-21 20:07:12 +0530 |
commit | e7e0724b39e45518fbb22371710bc48b74286353 (patch) | |
tree | f78c51c36051891d1d0223cbfa7f572c1aec7fbc | |
parent | 8789e0fe4b55ede66ae549f0e804dacbc7c0fcd5 (diff) | |
download | learn_django-e7e0724b39e45518fbb22371710bc48b74286353.tar.gz learn_django-e7e0724b39e45518fbb22371710bc48b74286353.tar.bz2 learn_django-e7e0724b39e45518fbb22371710bc48b74286353.zip |
Update slides based on PR suggestions
-rw-r--r-- | tutorial_3_django_models/slides.md | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/tutorial_3_django_models/slides.md b/tutorial_3_django_models/slides.md index bca76bc..3e3bdcd 100644 --- a/tutorial_3_django_models/slides.md +++ b/tutorial_3_django_models/slides.md @@ -40,9 +40,9 @@ Slide 4: What is a Django Model [00:30 | 01:12] - Every Django app has one or more models - A Django model is a pythonic representation of a Database Table - A Model Class represents a database table - - A Model attribute represents a column - - Each model instance is table row - - All django models are stored in a models.py + - A Model attribute represents a table field (each column in the table) + - Each model instance is a table record (each row in the table) + - All django models are written in a models.py - models.py represents a Database Slide 5: Creating Django Models for Blog app [00:12 | 01:24] @@ -51,14 +51,13 @@ Slide 5: Creating Django Models for Blog app [00:12 | 01:24] - We will create two tables 'blog' and 'article' - The blog model will have 3 fields: - name - - creator - - create_date + - created_on - the 'article' model will have 5 fields: - blog + - created_on - title - - create_date - - author - body + - draft - **(Not for narration) Note: Explain this in detail during demonstration** @@ -179,7 +178,7 @@ Slide 6 [00:17 | 11:13] **What is a web application**  -** Can be used for narration for this slide ** +**Can be used for narration for this slide** - An application stored on a remote computer i.e. server - A server can be accessed by a user through a web browser - The browser communicates with the server by sending a 'request' |