aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Christie2013-01-26 08:14:10 -0800
committerTom Christie2013-01-26 08:14:10 -0800
commit452fd8e222e781389a09fba5ab93109e50800813 (patch)
treee52f95e78d9f7fbb9f780c5c67a8e7005754d74b
parentb783887c33fa149112469af788d9c1f000bc4a2e (diff)
parent25f2d3b561bee946209bf0efeb6dc263af5e3be8 (diff)
downloaddjango-rest-framework-452fd8e222e781389a09fba5ab93109e50800813.tar.bz2
Merge pull request #614 from guglielmo/patch-1
Update docs/tutorial/4-authentication-and-permissions.md
-rw-r--r--docs/tutorial/4-authentication-and-permissions.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorial/4-authentication-and-permissions.md b/docs/tutorial/4-authentication-and-permissions.md
index f5b4ce55..e9e5246a 100644
--- a/docs/tutorial/4-authentication-and-permissions.md
+++ b/docs/tutorial/4-authentication-and-permissions.md
@@ -22,7 +22,7 @@ We'd also need to make sure that when the model is saved, that we populate the h
We'll need some extra imports:
from pygments.lexers import get_lexer_by_name
- from pygments.formatters import HtmlFormatter
+ from pygments.formatters.html import HtmlFormatter
from pygments import highlight
And now we can add a `.save()` method to our model class: