diff --git a/how_internet_works/README.md b/01_how_internet_works/README.md similarity index 100% rename from how_internet_works/README.md rename to 01_how_internet_works/README.md diff --git a/how_internet_works/images/internet_1.png b/01_how_internet_works/images/internet_1.png similarity index 100% rename from how_internet_works/images/internet_1.png rename to 01_how_internet_works/images/internet_1.png diff --git a/how_internet_works/images/internet_2.png b/01_how_internet_works/images/internet_2.png similarity index 100% rename from how_internet_works/images/internet_2.png rename to 01_how_internet_works/images/internet_2.png diff --git a/how_internet_works/images/internet_3.png b/01_how_internet_works/images/internet_3.png similarity index 100% rename from how_internet_works/images/internet_3.png rename to 01_how_internet_works/images/internet_3.png diff --git a/how_internet_works/images/internet_4.png b/01_how_internet_works/images/internet_4.png similarity index 100% rename from how_internet_works/images/internet_4.png rename to 01_how_internet_works/images/internet_4.png diff --git a/intro_to_command_line/README.md b/02_intro_to_command_line/README.md similarity index 100% rename from intro_to_command_line/README.md rename to 02_intro_to_command_line/README.md diff --git a/python_installation/README.md b/03_python_installation/README.md similarity index 100% rename from python_installation/README.md rename to 03_python_installation/README.md diff --git a/python_introduction/README.md b/04_python_introduction/README.md similarity index 99% rename from python_introduction/README.md rename to 04_python_introduction/README.md index dc63e61b9b9c..1c0fac41cf75 100644 --- a/python_introduction/README.md +++ b/04_python_introduction/README.md @@ -6,7 +6,7 @@ Let's write some code! ## Python prompt -To start playing with Python, we need to open up a *command line* on your computer. You should have already knew how to do that -- you have learned it in the [Intro to Command Line](/intro_to_command_line/README.html) chapter. +To start playing with Python, we need to open up a *command line* on your computer. You should have already knew how to do that -- you have learned it in the [Intro to Command Line](/02_intro_to_command_line/README.html) chapter. Once you're ready, follow the instructions below. diff --git a/python_introduction/images/cupcake.png b/04_python_introduction/images/cupcake.png similarity index 100% rename from python_introduction/images/cupcake.png rename to 04_python_introduction/images/cupcake.png diff --git a/django/README.md b/05_django/README.md similarity index 100% rename from django/README.md rename to 05_django/README.md diff --git a/django_installation/README.md b/06_django_installation/README.md similarity index 100% rename from django_installation/README.md rename to 06_django_installation/README.md diff --git a/code_editor/README.md b/07_code_editor/README.md similarity index 100% rename from code_editor/README.md rename to 07_code_editor/README.md diff --git a/django_start_project/README.md b/08_django_start_project/README.md similarity index 100% rename from django_start_project/README.md rename to 08_django_start_project/README.md diff --git a/django_start_project/images/it_worked2.png b/08_django_start_project/images/it_worked2.png similarity index 100% rename from django_start_project/images/it_worked2.png rename to 08_django_start_project/images/it_worked2.png diff --git a/django_models/README.md b/09_django_models/README.md similarity index 100% rename from django_models/README.md rename to 09_django_models/README.md diff --git a/django_orm/README.md b/10_django_orm/README.md similarity index 100% rename from django_orm/README.md rename to 10_django_orm/README.md diff --git a/django_admin/README.md b/11_django_admin/README.md similarity index 100% rename from django_admin/README.md rename to 11_django_admin/README.md diff --git a/django_admin/images/django_admin3.png b/11_django_admin/images/django_admin3.png similarity index 100% rename from django_admin/images/django_admin3.png rename to 11_django_admin/images/django_admin3.png diff --git a/django_admin/images/edit_post3.png b/11_django_admin/images/edit_post3.png similarity index 100% rename from django_admin/images/edit_post3.png rename to 11_django_admin/images/edit_post3.png diff --git a/django_admin/images/login_page2.png b/11_django_admin/images/login_page2.png similarity index 100% rename from django_admin/images/login_page2.png rename to 11_django_admin/images/login_page2.png diff --git a/deploy/README.md b/12_deploy/README.md similarity index 100% rename from deploy/README.md rename to 12_deploy/README.md diff --git a/django_urls/README.md b/13_django_urls/README.md similarity index 100% rename from django_urls/README.md rename to 13_django_urls/README.md diff --git a/django_urls/images/error1.png b/13_django_urls/images/error1.png similarity index 100% rename from django_urls/images/error1.png rename to 13_django_urls/images/error1.png diff --git a/django_urls/images/url.png b/13_django_urls/images/url.png similarity index 100% rename from django_urls/images/url.png rename to 13_django_urls/images/url.png diff --git a/django_views/README.md b/14_django_views/README.md similarity index 100% rename from django_views/README.md rename to 14_django_views/README.md diff --git a/django_views/images/error.png b/14_django_views/images/error.png similarity index 100% rename from django_views/images/error.png rename to 14_django_views/images/error.png diff --git a/html/README.md b/15_html/README.md similarity index 100% rename from html/README.md rename to 15_html/README.md diff --git a/html/images/step1.png b/15_html/images/step1.png similarity index 100% rename from html/images/step1.png rename to 15_html/images/step1.png diff --git a/html/images/step3.png b/15_html/images/step3.png similarity index 100% rename from html/images/step3.png rename to 15_html/images/step3.png diff --git a/html/images/step4.png b/15_html/images/step4.png similarity index 100% rename from html/images/step4.png rename to 15_html/images/step4.png diff --git a/html/images/step6.png b/15_html/images/step6.png similarity index 100% rename from html/images/step6.png rename to 15_html/images/step6.png diff --git a/dynamic_data_in_templates/README.md b/16_dynamic_data_in_templates/README.md similarity index 97% rename from dynamic_data_in_templates/README.md rename to 16_dynamic_data_in_templates/README.md index 6d224a21b1d2..2dcaad790b0d 100644 --- a/dynamic_data_in_templates/README.md +++ b/16_dynamic_data_in_templates/README.md @@ -24,7 +24,7 @@ But what's next? To take actual blog posts from `Post` model we need something c ## QuerySet -You should already be familiar with how QuerySets work. We talked about it in [Django ORM (QuerySets) chapter](/django_orm/README.html). +You should already be familiar with how QuerySets work. We talked about it in [Django ORM (QuerySets) chapter](/10_django_orm/README.html). So now we are interested in a list of blog posts that are published and sorted by `published_date`, right? We already did that in QuerySets chapter! diff --git a/django_templates/README.md b/17_django_templates/README.md similarity index 100% rename from django_templates/README.md rename to 17_django_templates/README.md diff --git a/django_templates/images/donut.png b/17_django_templates/images/donut.png similarity index 100% rename from django_templates/images/donut.png rename to 17_django_templates/images/donut.png diff --git a/django_templates/images/step1.png b/17_django_templates/images/step1.png similarity index 100% rename from django_templates/images/step1.png rename to 17_django_templates/images/step1.png diff --git a/django_templates/images/step2.png b/17_django_templates/images/step2.png similarity index 100% rename from django_templates/images/step2.png rename to 17_django_templates/images/step2.png diff --git a/django_templates/images/step3.png b/17_django_templates/images/step3.png similarity index 100% rename from django_templates/images/step3.png rename to 17_django_templates/images/step3.png diff --git a/css/README.md b/18_css/README.md similarity index 100% rename from css/README.md rename to 18_css/README.md diff --git a/css/images/bootstrap1.png b/18_css/images/bootstrap1.png similarity index 100% rename from css/images/bootstrap1.png rename to 18_css/images/bootstrap1.png diff --git a/css/images/color2.png b/18_css/images/color2.png similarity index 100% rename from css/images/color2.png rename to 18_css/images/color2.png diff --git a/css/images/final.png b/18_css/images/final.png similarity index 100% rename from css/images/final.png rename to 18_css/images/final.png diff --git a/css/images/font.png b/18_css/images/font.png similarity index 100% rename from css/images/font.png rename to 18_css/images/font.png diff --git a/css/images/margin2.png b/18_css/images/margin2.png similarity index 100% rename from css/images/margin2.png rename to 18_css/images/margin2.png diff --git a/template_extending/README.md b/19_template_extending/README.md similarity index 100% rename from template_extending/README.md rename to 19_template_extending/README.md diff --git a/extend_your_application/README.md b/20_extend_your_application/README.md similarity index 100% rename from extend_your_application/README.md rename to 20_extend_your_application/README.md diff --git a/extend_your_application/images/404_2.png b/20_extend_your_application/images/404_2.png similarity index 100% rename from extend_your_application/images/404_2.png rename to 20_extend_your_application/images/404_2.png diff --git a/extend_your_application/images/attribute_error2.png b/20_extend_your_application/images/attribute_error2.png similarity index 100% rename from extend_your_application/images/attribute_error2.png rename to 20_extend_your_application/images/attribute_error2.png diff --git a/extend_your_application/images/does_not_exist2.png b/20_extend_your_application/images/does_not_exist2.png similarity index 100% rename from extend_your_application/images/does_not_exist2.png rename to 20_extend_your_application/images/does_not_exist2.png diff --git a/extend_your_application/images/no_reverse_match2.png b/20_extend_your_application/images/no_reverse_match2.png similarity index 100% rename from extend_your_application/images/no_reverse_match2.png rename to 20_extend_your_application/images/no_reverse_match2.png diff --git a/extend_your_application/images/post_detail2.png b/20_extend_your_application/images/post_detail2.png similarity index 100% rename from extend_your_application/images/post_detail2.png rename to 20_extend_your_application/images/post_detail2.png diff --git a/extend_your_application/images/post_list2.png b/20_extend_your_application/images/post_list2.png similarity index 100% rename from extend_your_application/images/post_list2.png rename to 20_extend_your_application/images/post_list2.png diff --git a/extend_your_application/images/template_does_not_exist2.png b/20_extend_your_application/images/template_does_not_exist2.png similarity index 100% rename from extend_your_application/images/template_does_not_exist2.png rename to 20_extend_your_application/images/template_does_not_exist2.png diff --git a/django_forms/README.md b/21_django_forms/README.md similarity index 100% rename from django_forms/README.md rename to 21_django_forms/README.md diff --git a/django_forms/images/csrf2.png b/21_django_forms/images/csrf2.png similarity index 100% rename from django_forms/images/csrf2.png rename to 21_django_forms/images/csrf2.png diff --git a/django_forms/images/drafts.png b/21_django_forms/images/drafts.png similarity index 100% rename from django_forms/images/drafts.png rename to 21_django_forms/images/drafts.png diff --git a/django_forms/images/edit_button2.png b/21_django_forms/images/edit_button2.png similarity index 100% rename from django_forms/images/edit_button2.png rename to 21_django_forms/images/edit_button2.png diff --git a/django_forms/images/edit_form2.png b/21_django_forms/images/edit_form2.png similarity index 100% rename from django_forms/images/edit_form2.png rename to 21_django_forms/images/edit_form2.png diff --git a/django_forms/images/form_validation2.png b/21_django_forms/images/form_validation2.png similarity index 100% rename from django_forms/images/form_validation2.png rename to 21_django_forms/images/form_validation2.png diff --git a/django_forms/images/new_form2.png b/21_django_forms/images/new_form2.png similarity index 100% rename from django_forms/images/new_form2.png rename to 21_django_forms/images/new_form2.png diff --git a/django_forms/images/post_create_error.png b/21_django_forms/images/post_create_error.png similarity index 100% rename from django_forms/images/post_create_error.png rename to 21_django_forms/images/post_create_error.png diff --git a/domain/README.md b/22_domain/README.md similarity index 100% rename from domain/README.md rename to 22_domain/README.md diff --git a/domain/images/1.png b/22_domain/images/1.png similarity index 100% rename from domain/images/1.png rename to 22_domain/images/1.png diff --git a/domain/images/2.png b/22_domain/images/2.png similarity index 100% rename from domain/images/2.png rename to 22_domain/images/2.png diff --git a/domain/images/3.png b/22_domain/images/3.png similarity index 100% rename from domain/images/3.png rename to 22_domain/images/3.png diff --git a/domain/images/4.png b/22_domain/images/4.png similarity index 100% rename from domain/images/4.png rename to 22_domain/images/4.png diff --git a/domain/images/5.png b/22_domain/images/5.png similarity index 100% rename from domain/images/5.png rename to 22_domain/images/5.png diff --git a/domain/images/6.png b/22_domain/images/6.png similarity index 100% rename from domain/images/6.png rename to 22_domain/images/6.png diff --git a/whats_next/README.md b/23_whats_next/README.md similarity index 100% rename from whats_next/README.md rename to 23_whats_next/README.md diff --git a/README.md b/README.md index f8c0198b1f5f..2d0d16b21761 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ It will (more or less) look like this: ![Figure 0.1](images/application.png) -OK, [let's start at the beginning...](how_internet_works/README.md) +OK, [let's start at the beginning...](01_how_internet_works/README.md) ## About and contributing diff --git a/SUMMARY.md b/SUMMARY.md index 071404d579b1..e66ec7c6d617 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -1,27 +1,27 @@ # Summary * [Introduction](README.md) -* [How the Internet works?](how_internet_works/README.md) -* [Intro to Command Line](intro_to_command_line/README.md) -* [Python installation](python_installation/README.md) -* [Introduction to Python](python_introduction/README.md) -* [What is Django?](django/README.md) -* [Django installation](django_installation/README.md) -* [Code editor](code_editor/README.md) -* [Starting Django project](django_start_project/README.md) -* [Django models](django_models/README.md) -* [Django ORM (Querysets)](django_orm/README.md) -* [Django admin](django_admin/README.md) -* [Deploy!](deploy/README.md) -* [Django urls](django_urls/README.md) -* [Django views - time to create!](django_views/README.md) -* [Introduction to HTML](html/README.md) -* [Dynamic data in templates](dynamic_data_in_templates/README.md) -* [Django templates](django_templates/README.md) -* [CSS - make it pretty](css/README.md) -* [Template extending](template_extending/README.md) -* [Extend your application](extend_your_application/README.md) -* [Django Forms](django_forms/README.md) -* [Domain](domain/README.md) -* [What's next?](whats_next/README.md) +* [How the Internet works?](01_how_internet_works/README.md) +* [Intro to Command Line](02_intro_to_command_line/README.md) +* [Python installation](03_python_installation/README.md) +* [Introduction to Python](04_python_introduction/README.md) +* [What is Django?](05_django/README.md) +* [Django installation](06_django_installation/README.md) +* [Code editor](07_code_editor/README.md) +* [Starting Django project](08_django_start_project/README.md) +* [Django models](09_django_models/README.md) +* [Django ORM (Querysets)](10_django_orm/README.md) +* [Django admin](11_django_admin/README.md) +* [Deploy!](12_deploy/README.md) +* [Django urls](13_django_urls/README.md) +* [Django views - time to create!](14_django_views/README.md) +* [Introduction to HTML](15_html/README.md) +* [Dynamic data in templates](16_dynamic_data_in_templates/README.md) +* [Django templates](17_django_templates/README.md) +* [CSS - make it pretty](18_css/README.md) +* [Template extending](19_template_extending/README.md) +* [Extend your application](20_extend_your_application/README.md) +* [Django Forms](21_django_forms/README.md) +* [Domain](22_domain/README.md) +* [What's next?](23_whats_next/README.md)