Skip to content

Commit

Permalink
update a bunch of references to the django tutorial to tell ppl to us…
Browse files Browse the repository at this point in the history
…e the 1.11 version
  • Loading branch information
hjwp committed Dec 30, 2017
1 parent a9b01b9 commit f062525
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 13 deletions.
3 changes: 2 additions & 1 deletion chapter_philosophy_and_refactoring.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,8 @@ HTML:footnote:[Some people like to use another subfolder named after the app
(i.e., 'lists/templates/lists') and then refer to the template as
'lists/home.html'. This is called "template namespacing". I figured it was
overcomplicated for this small project, but it may be worth it on larger
projects. There's more in the http://bit.ly/1iXxWZL[Django tutorial].]
projects. There's more in the
https://docs.djangoproject.com/en/1.11/intro/tutorial03/#write-views-that-actually-do-something[Django tutorial].]

[role="sourcecode"]
.lists/templates/home.html
Expand Down
2 changes: 1 addition & 1 deletion chapter_post_and_database.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ Django has many other field types, like `IntegerField`, `CharField`,
`DateField`, and so on. I've chosen `TextField` rather than `CharField` because
the latter requires a length restriction, which seems arbitrary at this point.
You can read more on field types in the Django
http://bit.ly/1slDAGH[tutorial]
https://docs.djangoproject.com/en/1.11/intro/tutorial01/#creating-models[tutorial]
and in the
https://docs.djangoproject.com/en/1.11/ref/models/fields/[documentation].

Expand Down
4 changes: 3 additions & 1 deletion part1.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ We'll be using Django, the Python world's most popular web framework
a time, and provide lots of links to further reading. If you're a total
beginner to Django, I thoroughly recommend taking the time to read them. If
you find yourself feeling a bit lost, take a couple of hours to go through
the official Django tutorial, and then come back to the book.
the official Django tutorial (make sure to use the
https://docs.djangoproject.com/en/1.11/intro/tutorial01/[1.11 version]) , and
then come back to the book.

You'll also get to meet the Testing Goat...

Expand Down
19 changes: 10 additions & 9 deletions part2.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,21 @@ to do your own reading around when you start to apply these topics in "real
life".

For example, if you weren't familiar with Django before starting on the book,
you may find that taking a little time to run through the official Django
tutorial at this point would complement what you've learned so far nicely,
you may find that taking a little time to run through the
https://docs.djangoproject.com/en/1.11/intro/tutorial01/#creating-models[official Django tutorial]
at this point would complement what you've learned so far nicely,
and will leave you more confident with the Django stuff over the next few
chapters, so you can focus on the core concepts.

////
IDEA:
TIP: I've heard from readers (usually who had only just started learning web
development), saying they got impatient at this point; they decided to stop
reading for now, and went off to get their hands dirty by building a real
app based on what they'd learned so far. If that's you then great!
Come back to this book in 6 months' time when you've earned a few bruises
from the real world, and you'll probably get even more out of the rest of
the book.
TIP: I've heard from readers (especially those who had only just started
learning web development), saying they got impatient at this point; they
decided to stop reading for now, and went off to get their hands dirty by
building a real app based on what they'd learned so far. If that's you
then great! Come back to this book in 6 months' time when you've earned a
few bruises from the real world, and you'll probably get even more out of
the rest of the book.
////

Oh, but there's lots of fun stuff coming up! Just you wait!
Expand Down
3 changes: 2 additions & 1 deletion pre-requisite-installations.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ the book, and taking a look at a Django tutorial.
https://tutorial.djangogirls.org/[DjangoGirls] is the best, most
beginner-friendly tutorial I know of. The
https://docs.djangoproject.com/en/1.11/intro/tutorial01/[official tutorial]
is also excellent for more experienced programmers.
is also excellent for more experienced programmers (make sure you follow the
1.11 tutorial rather than a 2.x one though).

Read on for instructions on installing Django.

Expand Down

0 comments on commit f062525

Please sign in to comment.