Skip to content

Commit e4c60c2

Browse files
committed
move django 4 warnings along
1 parent 2212e36 commit e4c60c2

File tree

3 files changed

+33
-13
lines changed

3 files changed

+33
-13
lines changed

chapter_14_simple_form.asciidoc

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,14 @@
11
[[chapter_14_simple_form]]
22
== A Simple Form
33

4-
.🚧 Warning, this Chapter is the 2e version, and uses Django 1.11
4+
.🚧 Warning, Chapter update in progress
55
*******************************************************************************
6-
This chapter and all the following ones are the second edition versions,
7-
so they still use Django 1.11, Python 3.8, and so on.
6+
This chapter is currently in the process of being rewritten for the 3e.
87
9-
To follow along with this chapter, it's probably easiest to reset your code
10-
to match my example code as it was in the 2e, by resetting to:
11-
https://github.com/hjwp/book-example/tree/chapter_automate_deployment_with_fabric
8+
The code listings should all be valid,
9+
and work with Python3.12 + Django 4,
10+
but I haven't reviewed the chapter text in detail yet.
1211
13-
And you should also probably delete and re-create your virtualenv with
14-
* Python 3.8 or 3.9
15-
* and Django 1.11 (`pip install "django <2"`)
16-
17-
Alternatively, you can muddle through and try and figure out
18-
how to make things work with Django 4 etc, but be aware that
19-
the listings below won't be quite right.
2012
*******************************************************************************
2113

2214

chapter_15_advanced_forms.asciidoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
More Advanced Forms
33
-------------------
44

5+
.🚧 Warning, Chapter update in progress
6+
*******************************************************************************
7+
This chapter is currently in the process of being rewritten for the 3e.
8+
9+
The code listings should all be valid,
10+
and work with Python3.12 + Django 4,
11+
but I haven't reviewed the chapter text in detail yet.
12+
13+
*******************************************************************************
14+
515

616
Now let's look at some more advanced forms usage. We've helped our users
717
to avoid blank list items, so now let's help them avoid duplicate items.

chapter_javascript.asciidoc

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,24 @@ his precious gift of relentless misery.
99
______________________________________________________________
1010

1111

12+
.🚧 Warning, this Chapter is the 2e version, and uses Django 1.11
13+
*******************************************************************************
14+
This chapter and all the following ones are the second edition versions,
15+
so they still use Django 1.11, Python 3.8, and so on.
16+
17+
To follow along with this chapter, it's probably easiest to reset your code
18+
to match my example code as it was in the 2e, by resetting to:
19+
https://github.com/hjwp/book-example/tree/chapter_automate_deployment_with_fabric
20+
21+
And you should also probably delete and re-create your virtualenv with
22+
* Python 3.8 or 3.9
23+
* and Django 1.11 (`pip install "django <2"`)
24+
25+
Alternatively, you can muddle through and try and figure out
26+
how to make things work with Django 4 etc, but be aware that
27+
the listings below won't be quite right.
28+
*******************************************************************************
29+
1230
Our new validation logic is good, but wouldn't it be nice if the duplicate item
1331
error messages disappeared once the user started fixing the problem? Just like
1432
our nice HTML5 validation errors do? For that we'd need a teeny-tiny bit of

0 commit comments

Comments
 (0)