Skip to content

Commit 4ab5fdb

Browse files
authored
Merge pull request #1826 from zahidkizmaz/update-versions
Update versions
2 parents c3473f9 + f56c64d commit 4ab5fdb

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

book.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"gitbook": ">=3.2.0",
33
"variables": {
4-
"py_version": "3.8",
5-
"py_release": "3.8.6",
6-
"py_min_version": "3.6",
7-
"py_min_release": "3.6.8",
8-
"pa_py_version": "3.8",
9-
"django_version": "3.2.10"
4+
"py_version": "3.12",
5+
"py_release": "3.12.3",
6+
"py_min_version": "3.9",
7+
"py_min_release": "3.9.19",
8+
"pa_py_version": "3.10",
9+
"django_version": "4.2.11"
1010
},
1111
"links": {
1212
"sidebar": {

en/django_admin/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ Make sure that at least two or three posts (but not all) have the publish date s
5252

5353
![Django admin](images/edit_post3.png)
5454

55-
If you want to know more about Django admin, you should check Django's documentation: https://docs.djangoproject.com/en/3.2/ref/contrib/admin/
55+
If you want to know more about Django admin, you should check Django's documentation: https://docs.djangoproject.com/en/4.2/ref/contrib/admin/
5656

5757
This is probably a good moment to grab a coffee (or tea) or something to eat to re-energize yourself. You created your first Django model – you deserve a little break!

en/django_forms/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class PostForm(forms.ModelForm):
2727

2828
class Meta:
2929
model = Post
30-
fields = ('title', 'text',)
30+
fields = ('title', 'text')
3131
```
3232

3333
We need to import Django forms first (`from django import forms`) and our `Post` model (`from .models import Post`).
@@ -374,7 +374,7 @@ Feel free to change the title or the text and save the changes!
374374

375375
Congratulations! Your application is getting more and more complete!
376376

377-
If you need more information about Django forms, you should read the documentation: https://docs.djangoproject.com/en/3.2/topics/forms/
377+
If you need more information about Django forms, you should read the documentation: https://docs.djangoproject.com/en/4.2/topics/forms/
378378

379379
## Security
380380

en/django_start_project/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ In `settings.py`, find the line that contains `TIME_ZONE` and modify it to choos
8888
TIME_ZONE = 'Europe/Berlin'
8989
```
9090

91-
A language code consist of the language, e.g. `en` for English or `de` for German, and the country code, e.g. `de` for Germany or `ch` for Switzerland. If English is not your native language, you can add this to change the default buttons and notifications from Django to be in your language. So you would have "Cancel" button translated into the language you defined here. [Django comes with a lot of prepared translations](https://docs.djangoproject.com/en/3.2/ref/settings/#language-code).
91+
A language code consist of the language, e.g. `en` for English or `de` for German, and the country code, e.g. `de` for Germany or `ch` for Switzerland. If English is not your native language, you can add this to change the default buttons and notifications from Django to be in your language. So you would have "Cancel" button translated into the language you defined here. [Django comes with a lot of prepared translations](https://docs.djangoproject.com/en/4.2/ref/settings/#language-code).
9292

9393
If you want a different language, change the language code by changing the following line:
9494

en/django_urls/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,4 @@ Your console is showing an error, but don't worry – it's actually pretty usefu
112112
If you see a different error message, try restarting your web server. To do that, in the console window that is running the web server, stop it by pressing Ctrl+C (the Control and C keys together). On Windows, you might have to press Ctrl+Break. Then you need to restart the web server by running a `python manage.py runserver` command.
113113

114114

115-
> If you want to know more about Django URLconfs, look at the official documentation: https://docs.djangoproject.com/en/3.2/topics/http/urls/
115+
> If you want to know more about Django URLconfs, look at the official documentation: https://docs.djangoproject.com/en/4.2/topics/http/urls/

en/django_views/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ Another error! Read what's going on now:
3939

4040
This shows that the server is running again, at least, but it still doesn't look right, does it? Don't worry, it's just an error page, nothing to be scared of! Just like the error messages in the console, these are actually pretty useful. You can read that the *TemplateDoesNotExist*. Let's fix this bug and create a template in the next chapter!
4141

42-
> Learn more about Django views by reading the official documentation: https://docs.djangoproject.com/en/3.2/topics/http/views/
42+
> Learn more about Django views by reading the official documentation: https://docs.djangoproject.com/en/4.2/topics/http/views/

en/whats_next/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Yes! There are a _lot_ of resources online for learning all kinds of programming
1414

1515
#### Django
1616
- Our other book, [Django Girls Tutorial: Extensions](https://tutorial-extensions.djangogirls.org/)
17-
- [Django's official tutorial](https://docs.djangoproject.com/en/3.2/intro/tutorial01/)
17+
- [Django's official tutorial](https://docs.djangoproject.com/en/4.2/intro/tutorial01/)
1818
- [Getting Started With Django video lessons](http://www.gettingstartedwithdjango.com/)
1919
- [Django for Everybody Specialization](https://www.coursera.org/specializations/django) – some video lectures can be audited for free and you can earn a Coursera Certificate by taking these courses
2020

0 commit comments

Comments
 (0)