Skip to content

Commit 239b9bc

Browse files
committed
Change "Postman" to gender-neutral "Mail Carrier".
1 parent 5ea7985 commit 239b9bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

en/django/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Imagine a mailbox (port) which is monitored for incoming letters (requests). Thi
1818

1919
When a request comes to a web server it's passed to Django which tries to figure out what actually is requested. It takes a webpage address first and tries to figure out what to do. This part is done by Django's __urlresolver__ (note that a website address is called a URL - Uniform Resource Locator - so the name *urlresolver* makes sense). It is not very smart - it takes a list of patterns and tries to match the URL. Django checks patterns from top to the bottom and if something is matched then Django passes the request to the associated function (which is called *view*).
2020

21-
Imagine a postman with a letter. She is walking down the street and checks each house number against the one on the letter. If it matches, she puts the letter there. This is how the urlresolver works!
21+
Imagine a mail carrier with a letter. She is walking down the street and checks each house number against the one on the letter. If it matches, she puts the letter there. This is how the urlresolver works!
2222

2323
In the *view* function all the interesting things are done: we can look at a database to look for some information. Maybe the user asked to change something in the data? Like a letter saying "Please change description of my job." The *view* can check if you are allowed to do that, then update the job description for you and send back a message: "Done!". Then the *view* generates a response and Django can send it to the user's web browser.
2424

en/django_start_project/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ In console you should run (remember that you don't type `(myvenv) ~/djangogirls$
3636

3737
The `settings.py` file contains the configuration of your website.
3838

39-
Remember when we talked about a postman checking where to deliver a letter? `urls.py` file contains a list of patterns used by `urlresolver`.
39+
Remember when we talked about a mail carrier checking where to deliver a letter? `urls.py` file contains a list of patterns used by `urlresolver`.
4040

4141
Let's ignore the other files for now - we won't change them. The only thing to remember is not to delete them by accident!
4242

0 commit comments

Comments
 (0)