mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-26 11:33:59 +03:00
Minor gramatical correction
This commit is contained in:
parent
da85bb1ab3
commit
0987bed2f7
|
@ -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