mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-03-25 04:14:23 +03:00
fixed typo
This commit is contained in:
parent
bcfb46eedc
commit
abf7f11619
|
@ -19,7 +19,7 @@ Add the following two fields to the model.
|
||||||
|
|
||||||
We'd also need to make sure that when the model is saved, that we populate the highlighted field, using the `pygments` code higlighting library.
|
We'd also need to make sure that when the model is saved, that we populate the highlighted field, using the `pygments` code higlighting library.
|
||||||
|
|
||||||
We'll ned some extra imports:
|
We'll need some extra imports:
|
||||||
|
|
||||||
from pygments.lexers import get_lexer_by_name
|
from pygments.lexers import get_lexer_by_name
|
||||||
from pygments.formatters import HtmlFormatter
|
from pygments.formatters import HtmlFormatter
|
||||||
|
|
Loading…
Reference in New Issue
Block a user