Skip to content

Commit a1eb648

Browse files
committed
Merge branch 'master' into restructuting-proposal
2 parents 7520fbf + de6ea47 commit a1eb648

File tree

136 files changed

+1259
-629
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+1259
-629
lines changed

README.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The Django Girls Tutorial is licensed under a [*Creative Commons Attribution-Sha
1111

1212
The source code of the tutorial is [hosted on GitHub](https://github.com/DjangoGirls/tutorial). The GitHub [Fork & Pull workflow](https://help.github.com/articles/using-pull-requests) is used to accept and review changes.
1313

14-
The tutorial uses the [GitBook](https://legacy.gitbook.com/) service for publishing its documentation. [See more information about how GitBook works](https://help.gitbook.com/).
14+
The tutorial uses the [HonKit](https://github.com/honkit/honkit) project for publishing its documentation. [See more information about how HonKit works](https://honkit.netlify.app/).
1515

1616
The tutorial is written in [Markdown mark up language](https://help.github.com/articles/markdown-basics).
1717

@@ -60,15 +60,24 @@ Either use the GitHub app for your operating system (mentioned above) or `git` c
6060

6161
git clone git@github.com:yourgithubusername/tutorial.git
6262

63+
Move to the folder containing the project, to run the following commands.
64+
65+
cd tutorial
66+
6367
Then, create a branch for your new changes to sit in. It helps to call the branch something related to the changes you are going to make.
6468

6569
git checkout -b contributing
6670

67-
Download the [GitBook Editor](https://legacy.gitbook.com/editor) app to your computer.
71+
Install the project's requirements using [`npm`](https://docs.npmjs.com/cli/v8/configuring-npm/install).
72+
73+
npm install
6874

69-
Then you can open the tutorial in GitBook Editor (*File* > *Open book*).
75+
To preview and serve local files, with auto-reload capabilities, run HonKit using:
7076

71-
Make any changes in the tutorial using GitBook and then save changes (*Book* > *Save all*).
77+
npx honkit serve
78+
79+
The local server will be available at http://localhost:4000.
80+
If auto-reload is slow, you can temporarily remove unwanted languages from `LANGS.md`, to speed up the process.
7281

7382
Then commit the changes using `git` and push the changes to your remote GitHub repository.
7483

@@ -97,8 +106,6 @@ Example:
97106
To git@github.com:miohtama/tutorial.git
98107
b37ca59..fe36152 contributing -> contributing
99108

100-
If you don't want to download the GitBook Editor app you can also go to the [GitBook website](https://legacy.gitbook.com/), sign up for free and work directly in your browser.
101-
102109
# Making a pull request
103110

104111
After you have finished your changes you need to create [a pull request](https://help.github.com/articles/using-pull-requests) on GitHub. DjangoGirls will get notified about the pull request, review your changes, suggest any corrections if needed and then *pull* your changes to the master version.

bg/code_editor/instructions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ Gedit е безплатен редактор с отворен код, дост
1414

1515
[Изтеглете го тук](https://wiki.gnome.org/Apps/Gedit#Download)
1616

17-
## Sublime Text 3
17+
## Sublime Text
1818

1919
Sublime Text е много популярен редактор с безплатен период за ползване и е достъпен за всички операционни системи.
2020

21-
[Изтеглете го тук](https://www.sublimetext.com/3)
21+
[Изтеглете го тук](https://www.sublimetext.com/)
2222

2323
## Atom
2424

@@ -34,4 +34,4 @@ Atom е друг популярен редактор. Той е безплате
3434

3535
Втората причина е, че редакторите на код са специализирани за редактиране на код, така че те могат да предоставят полезни функции като подчертаване на код с цвят според значението му или автоматично затваряне на кавички.
3636

37-
Ще видим всичко това в действие по-късно. Скоро ще помислите за надеждния си стар редактор на код като за един от любимите си инструменти. :)
37+
Ще видим всичко това в действие по-късно. Скоро ще помислите за надеждния си стар редактор на код като за един от любимите си инструменти. :)

bg/django_start_project/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
└── requirements.txt
5757

5858

59-
> **Забележка**: в структурата на вашата директория ще видите и вашата `venv` директория, която създадохме преди.
59+
> **Забележка**: в структурата на вашата директория ще видите и вашата `myvenv` директория, която създадохме преди.
6060
6161
`manage.py` е скрипт, който помага при управлението на сайта. С него ще можем (освен всичко друго) да стартираме уеб сървър на нашия компютър, без да инсталираме нищо друго.
6262

bg/installation/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424

2525
# Кратко въведение в командния прозорец {#command-line}
2626

27-
Много от стъпките по-долу се позовават на "конзолата", "терминала", "командния прозорец" или "командния ред" - всичко това означава едно и също нещо: прозорец на вашия компютър, в който можете да въведете команди. Когато стигнете до главния урок, ще научите повече за командния ред. Засега основното, което трябва да знаете, е как да отворите команден прозорец и как изглежда: {% include "/intro_to_command_line/open_instructions.md" %}
27+
Много от стъпките по-долу се позовават на "конзолата", "терминала", "командния прозорец" или "командния ред" - всичко това означава едно и също нещо: прозорец на вашия компютър, в който можете да въведете команди. Когато стигнете до главния урок, ще научите повече за командния ред. Засега основното, което трябва да знаете, е как да отворите команден прозорец и как изглежда:
28+
{% include "/intro_to_command_line/open_instructions.md" %}
2829

2930
# Инсталиране на Python {#python}
3031

@@ -64,4 +65,4 @@
6465

6566
# Насладете се на уъркшопа!
6667

67-
Когато започнете семинара, ще можете да преминете направо към [първия си проект на Django!](../django_start_project/README.md), защото вече сте обхванали материала в по-ранните глави.
68+
Когато започнете семинара, ще можете да преминете направо към [първия си проект на Django!](../django_start_project/README.md), защото вече сте обхванали материала в по-ранните глави.

bg/intro_to_command_line/open_instructions.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
<!--sec data-title="Opening: Windows" data-id="windows_prompt" data-collapse=true ces-->
23

34
В зависимост от вашата версия на Windows и клавиатурата ви, едно от следните трябва да отвори команден прозорец (може да се наложи да експериментирате малко, но не е нужно да изпробвате всички тези предложения):
@@ -25,4 +26,4 @@
2526

2627
Вероятно е под Applications → Accessories → Terminal или Applications → System → Terminal, но това може да зависи от вашата система. Ако не е там, можете да опитате да го потърсите в Google. :)
2728

28-
<!--endsec-->
29+
<!--endsec-->

book.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"py_min_version": "3.6",
77
"py_min_release": "3.6.8",
88
"pa_py_version": "3.8",
9-
"django_version": "2.2.4"
9+
"django_version": "3.2.10"
1010
},
1111
"links": {
1212
"sidebar": {

cs/code_editor/instructions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ Gedit je open-source editor. Je k dispozici zdarma pro všechny operační syst
88

99
[Stáhnout si jej můžeš zde](https://wiki.gnome.org/Apps/Gedit#Download)
1010

11-
## Sublime Text 3
11+
## Sublime Text
1212

1313
Sublime Text je velmi oblíbený editor s bezplatnou zkušební dobou. Lze jej snadno nainstalovat a používat. Je k dispozici pro všechny operační systémy.
1414

15-
[Stáhnout si jej můžeš zde](https://www.sublimetext.com/3)
15+
[Stáhnout si jej můžeš zde](https://www.sublimetext.com/)
1616

1717
## Atom
1818

@@ -28,4 +28,4 @@ První důvod je, že kód musí být **prostý text** a programy jako Word a Te
2828

2929
Druhým důvodem je, že editory kódu se specializují na editaci kódu, takže mohou poskytovat užitečné funkce, jako je barevné zvýraznění kódu podle jeho významu nebo automatické ukončování uvozovek apod.
3030

31-
Vše to uvidíme v akci později. Brzy ti přijde tvůj oblíbený editor kódu jako jeden z tvých nejlepších nástrojů :)
31+
Vše to uvidíme v akci později. Brzy ti přijde tvůj oblíbený editor kódu jako jeden z tvých nejlepších nástrojů :)

cs/django_models/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,13 @@ V souboru `blog/models.py` budeme definovat všechny objekty nazývané `modely`
110110
Otevři `blog/models.py`, odstraň vše, co v něm je, a vlož následující kód:
111111

112112
```python
113+
from django.conf import settings
113114
from django.db import models
114115
from django.utils import timezone
115116

116117

117118
class Post(models.Model):
118-
author = models.ForeignKey('auth.User', on_delete=models.CASCADE)
119+
author = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.CASCADE)
119120
title = models.CharField(max_length=200)
120121
text = models.TextField()
121122
created_date = models.DateTimeField(

de/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
77
## Willkommen
88

9-
Willkommen beim Django Girls Tutorial! Wir freuen uns, dass du hier bist :) In diesem Tutorial schauen wir gemeinsam unter die Haube der Technologien im Internet, geben dir einen Einblick in die Bits und Bytes, die zusammen das Internet bilden, wie wir es heute kennen.
9+
Willkommen beim Django Girls Tutorial! Wir freuen uns, dass du hier bist. :) In diesem Tutorial schauen wir gemeinsam unter die Haube der Technologien im Internet, geben dir einen Einblick in die Bits und Bytes, die zusammen das Internet bilden, wie wir es heute kennen.
1010

11-
Wie alles Unbekannte wird das ein Abenteuer sein - aber keine Sorge: Da du bereits den Mut aufgebracht hast, hier zu sein, wirst du das schon meistern :)
11+
Wie alles Unbekannte wird das ein Abenteuer sein aber keine Sorge: Da du bereits den Mut aufgebracht hast, hier zu sein, wirst du das schon meistern. :)
1212

1313
## Einleitung
1414

de/SUMMARY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
* [Virtuelle Umgebung](installation/README.md#virtualenv)
99
* [Django](installation/README.md#django)
1010
* [Git](installation/README.md#git)
11-
* [GitHub](installation/README.md#github)
12-
* [PythonAnywhere](installation/README.md#pythonanywhere)
11+
* [GitHub](installation/README.md#github-account)
12+
* [PythonAnywhere](installation/README.md#pythonanywhere-account)
1313
* [Installation (Chromebook)](chromebook_setup/README.md)
1414
* [Wie das Internet funktioniert](how_the_internet_works/README.md)
1515
* [Einführung in die Kommandozeile](intro_to_command_line/README.md)

0 commit comments

Comments
 (0)