summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorankitjavalkar2017-05-19 19:06:28 +0530
committerGitHub2017-05-19 19:06:28 +0530
commitec25525da6aab2be565d033719f9fa280c2eb1b4 (patch)
tree35505460c4a7fd68750d0f1fe9f163824a07671b
parent09c000f5c51ef6e418f917dcf582ece0a057bf34 (diff)
downloadlearn_django-ec25525da6aab2be565d033719f9fa280c2eb1b4.tar.gz
learn_django-ec25525da6aab2be565d033719f9fa280c2eb1b4.tar.bz2
learn_django-ec25525da6aab2be565d033719f9fa280c2eb1b4.zip
Remove detailed explanation of migrations
-rw-r--r--tutorial_3_django_models/slides.md14
1 files changed, 2 insertions, 12 deletions
diff --git a/tutorial_3_django_models/slides.md b/tutorial_3_django_models/slides.md
index 012a8be..6c4e51a 100644
--- a/tutorial_3_django_models/slides.md
+++ b/tutorial_3_django_models/slides.md
@@ -12,7 +12,7 @@ Slide 2 [00:13 | 00:21]
In this tutorial, we will learn to;
- Create a django model
- - Database migration
+ - Perform Database migration
- Use Admin app
Slide 3 [00:13 | 00:34]
@@ -81,17 +81,6 @@ Demonstration [03:00 | 04:54]
- **(Not for narration) Note: For this demonstration there should explanation about each field **
-Slide 6: What is a database migration [00:45| 05:39]
----------------------------------------
- - A database migration is a technique that allows you to update your database, including
- - Adding & Removing columns
- - Altering columns (& the type of data that they can hold)
- - Adding & Removing tables
- - Migrations makes such changes easy since;
- - No need to rebuild the database for every change
- - Avoids loss of data
- - Django handles migrations by creating a migration *.py* file
-
Demonstration [01:00| 06:39]
--------------------
- Run python manage.py --help
@@ -108,6 +97,7 @@ Demonstration [01:00| 06:39]
- *Show command line output for makemigrations and migrate*
- Observe that a *db.sqlite3* has been created.
- Check the /blog/migrations/ directory and you will observe that a new file has been created.
+ - We will be revisiting *migrations* in more detail later
Slide 5: What is Django Admin App [00:13| 06:52]
-------------------------------------------