mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-26 19:43:59 +03:00
Merge pull request #577 from Wackerbarth/tutorial
A minor gramatical correction
This commit is contained in:
commit
9d47c32f44
|
@ -29,7 +29,7 @@ And now we can add a `.save()` method to our model class:
|
||||||
|
|
||||||
def save(self, *args, **kwargs):
|
def save(self, *args, **kwargs):
|
||||||
"""
|
"""
|
||||||
Use the `pygments` library to create an highlighted HTML
|
Use the `pygments` library to create a highlighted HTML
|
||||||
representation of the code snippet.
|
representation of the code snippet.
|
||||||
"""
|
"""
|
||||||
lexer = get_lexer_by_name(self.language)
|
lexer = get_lexer_by_name(self.language)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user