Skip to content

Commit 0de8cb5

Browse files
committed
Moved images into chapter directory
1 parent 8a71c72 commit 0de8cb5

7 files changed

Lines changed: 63 additions & 5 deletions

File tree

how_the_internet_works/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@ We bet you use the Internet every day. But do you actually know what happens whe
66

77
The Internet looks like this:
88

9-
![Figure 1.1](internet_1.png)
9+
![Figure 1.1](images/internet_1.png)
1010

1111
Looks like a mess, right? But in fact it is a net of connected machines. Hundreds of thousands of machines. Many, many kilometers of cables around the world! You should check out Submarine Cable Map (http://submarinecablemap.com/) to see how complicated the net is. Here is a screenshot from the website:
1212

13-
![Figure 1.2](internet_3.png)
13+
![Figure 1.2](images/internet_3.png)
1414

1515
It is fascinating, isn't it? But obviously, it is not possible to have a wire between every machine connected to the Internet. So to reach a machine (for example the one where djangogirls.org is) we need to pass a request through many different machines.
1616

1717
It looks like this:
1818

19-
![Figure 1.3](internet_2.png)
19+
![Figure 1.3](images/internet_2.png)
2020

2121
Imagine that when you type djangogirls.org you send a letter that says: "Dear DjangoGirls, I want to see djangogirls.org website. Send it to me, please!"
2222

2323
Your letter goes to the post office. Then it goes to another that is nearer your addressee, then to another and another till it is delivered to the destination. The only difference is that if you send letters (data packets) frequently to the same place, each letter could go through totally different post offices (routers), depending how they are distributed in each office.
2424

25-
![Figure 1.4](internet_4.png)
25+
![Figure 1.4](images/internet_4.png)
2626

2727
Yes, it is as simple as that. You send messages and you expect some response. Of course, instead of paper and pen you use bytes of data, but the idea is the same!
2828

internet_1.png renamed to how_the_internet_works/images/internet_1.png

File renamed without changes.

internet_2.png renamed to how_the_internet_works/images/internet_2.png

File renamed without changes.

internet_3.png renamed to how_the_internet_works/images/internet_3.png

File renamed without changes.

internet_4.png renamed to how_the_internet_works/images/internet_4.png

File renamed without changes.

next_chapters/README.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,56 @@
11
# Next chapters
2+
3+
3. Django - why you even need a web framework?
4+
5+
What is Django? Why it’s useful? What does it do?
6+
7+
4. Start virtualenv, create django project - see files
8+
9+
5. Models, views, urls - how it works together
10+
11+
Explains workflow in Django - from receiving request to rendering template.
12+
13+
6. Setting everything up to see “It works!”.
14+
15+
Db, urls, admin, etc.
16+
17+
7. Models - how to model things in Django
18+
19+
M2M, One2Many, different fields, relations between objects. Syncdb.
20+
21+
8. Admin - let’s play with our models!
22+
23+
Add admin, register models. Play around with add/edit/delete in admin.
24+
25+
9. Urls
26+
27+
Explain that is hard. Show some popular regex (without explaining regex - only mentioning that it’s complicated): integers, slugs. Show that you can have many of those. Add names to urls.
28+
29+
10. View - time to create!
30+
31+
How to write simple functional view. It always needs to return HttpResponse (mention HttpResponse, render). Writing super easy template - without HTML. Just displaying values with django template language ({{ }})
32+
33+
11. Templates - make the structure with HTML
34+
35+
Starting from basics of HTML (if they will do a tutorial it will save us time to explain the concept). Some useful templatetags: for, if, filters.
36+
37+
12. Querysets
38+
Introduce filter, exclude, underscore notation to access related objects.
39+
40+
13. Forms
41+
42+
How to create a form? Ways to display form. Exposing only some fields.
43+
44+
14. CSS - make it pretty
45+
46+
Download Bootstrap or something else which we can use easily. Talk about static files.
47+
48+
15. Customize a blog
49+
50+
Time for attendees to play a little bit on their own with a code. Try to add something, change something, etc..
51+
52+
16. Deploy!
53+
54+
Heroku
55+
56+
17. How I can get a nice domain name for my blog?

try_python/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
# Try Python!
1+
# Let’s start with Python
2+
3+
http://try-python.appspot.com/
4+

0 commit comments

Comments
 (0)