Skip to content

Commit ab6d0e1

Browse files
committed
update warnings at tops of chapters
1 parent a6c334c commit ab6d0e1

File tree

3 files changed

+35
-2
lines changed

3 files changed

+35
-2
lines changed

chapter_17_second_deploy.asciidoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,17 @@ NOTE: At this point I want to say a huge thanks to Andrew Godwin and the whole
1414
drop it altogether. Thanks for all the great work, gang!
1515

1616

17+
.🚧 Warning, Content not updated
18+
*******************************************************************************
19+
20+
This chapter has not been rewritten as part of the third edition.
21+
22+
By all means refer back to <<chapter_11_ansible>>
23+
and try and do a deployment,
24+
but otherwise, go ahead and check out <<chapter_18_spiking_custom_au,the next chapter>>, which has been (mostly) updated.
25+
26+
*******************************************************************************
27+
1728

1829
Staging Deploy
1930
~~~~~~~~~~~~~~

chapter_18_spiking_custom_auth.asciidoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
[[chapter_18_spiking_custom_auth]]
22
== User Authentication, Spiking, and [keep-together]#De-Spiking#
33

4+
.🚧 Warning, Recently Updated
5+
*******************************************************************************
6+
7+
This chapter has recently been updated for the third edition.
8+
Its listings now use Django 4.2 and Python 3.12.
9+
10+
It's still an early draft though,
11+
so please send feedback! [email protected]
12+
13+
*******************************************************************************
414

515
((("authentication", id="Adespike18")))
616
Our beautiful lists site has been live for a few days, and our users are

chapter_mocking.asciidoc

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
[[chapter_mocking]]
2-
Using Mocks to Test External Dependencies or Reduce Duplication
3-
---------------------------------------------------------------
2+
== Using Mocks to Test External Dependencies or Reduce Duplication
3+
4+
*******************************************************************************
5+
🚧 Warning, this Chapter is the 2e version, and uses Django 1.11
6+
7+
This chapter and all the following ones are the second edition versions, so they still use Django 1.11, Python 3.8, and so on.
8+
9+
To follow along with this chapter, it’s probably easiest to reset your code to match my example code as it was in the 2e, by resetting to: https://github.com/hjwp/book-example/tree/chapter_mocking
10+
11+
And you should also probably delete and re-create your virtualenv with * Python 3.8 or 3.9 * and Django 1.11 (pip install "django <2")
12+
13+
Alternatively, you can muddle through and try and figure out how to make things work with Django 4 etc, but be aware that the listings below won’t be quite right.
14+
*******************************************************************************
15+
416

517
((("Django framework", "sending emails")))((("emails, sending from Django")))((("mail.out box attribute")))
618
In this chapter we'll start testing the parts of our code that send emails.

0 commit comments

Comments
 (0)