diff options
| author | Guglielmo | 2013-01-25 18:16:14 +0100 | 
|---|---|---|
| committer | Guglielmo | 2013-01-25 18:16:14 +0100 | 
| commit | 25f2d3b561bee946209bf0efeb6dc263af5e3be8 (patch) | |
| tree | e52f95e78d9f7fbb9f780c5c67a8e7005754d74b /docs/tutorial/4-authentication-and-permissions.md | |
| parent | b783887c33fa149112469af788d9c1f000bc4a2e (diff) | |
| download | django-rest-framework-25f2d3b561bee946209bf0efeb6dc263af5e3be8.tar.bz2 | |
Update docs/tutorial/4-authentication-and-permissions.md
HTMLFormatter is in pygments.formatters.html
Diffstat (limited to 'docs/tutorial/4-authentication-and-permissions.md')
| -rw-r--r-- | docs/tutorial/4-authentication-and-permissions.md | 2 | 
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: | 
