Skip to content

Commit 35bbf73

Browse files
committed
Point to Django's documentation for version 1.6 instead of dev.
1 parent 01b3cb3 commit 35bbf73

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

django_admin/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Make sure that at least two or three (but not all) have publish date set. It wil
2929

3030
![Django admin](images/edit_post.png)
3131

32-
If you want to know more about the Django admin, you should check Django's documentation: https://docs.djangoproject.com/en/dev/ref/contrib/admin/
32+
If you want to know more about the Django admin, you should check Django's documentation: https://docs.djangoproject.com/en/1.6/ref/contrib/admin/
3333

3434
It is probably a good moment to grab a coffee (or tea) and eat something sweet. You created your first Django model - you deserve a little treat!
3535

django_forms/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ Feel free to change the title or the text and save changes!
282282

283283
Congratulations! Your application is more and more complete!
284284

285-
If you need more information about Django forms you should read the documentation: https://docs.djangoproject.com/en/dev/topics/forms/
285+
If you need more information about Django forms you should read the documentation: https://docs.djangoproject.com/en/1.6/topics/forms/
286286

287287
We prepared some extra tasks for you, but they are not very hard. You can do them as a homework:
288288
- create a page with all __draft__ posts

django_models/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ Now we define properties we where talking about: `title`, `text`, `created_date`
133133
- `models.DateTimeField` - this is a date
134134
- `models.ForeignKey` - this is a link to another model
135135

136-
We will not explain every bit of code here, since it would take too much time. You should take a look at Django's documentation, if you need to know more about Model fields (properties) and how to define things other than things described above (https://docs.djangoproject.com/en/dev/ref/models/fields/#field-types).
136+
We will not explain every bit of code here, since it would take too much time. You should take a look at Django's documentation, if you need to know more about Model fields (properties) and how to define things other than things described above (https://docs.djangoproject.com/en/1.6/ref/models/fields/#field-types).
137137

138138
What about `def publish(self):`? It is exactly our `publish` method we were talking about. `def` means that this is a function/method. `publish` is a name of the method. You can change it, if you want. The rule is that we use lowercase and underscores instead of whitespaces (i.e. if you want to have method that calculates average price you could call it `calculate_average_price`).
139139

django_orm_querysets/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ So finally our `views.py` file should look like this:
6565

6666
That's it! Time to go back to our template and display this queryset!
6767

68-
If you want to read a little bit more about querysets in Django you should look here: https://docs.djangoproject.com/en/dev/ref/models/querysets/
68+
If you want to read a little bit more about querysets in Django you should look here: https://docs.djangoproject.com/en/1.6/ref/models/querysets/
6969

7070

7171

0 commit comments

Comments
 (0)