diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-10-29 07:26:06 -0700 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-10-29 07:26:06 -0700 |
| commit | 6b560b50b9b02691f712bbf1380d20d8eb103a4a (patch) | |
| tree | d93fae8a2a27330db25cba307ce57aa1d17c72a6 /docs/ref | |
| parent | ffcfb4cdccefaf3b8d3a1e2e7adbfbd2539bbb32 (diff) | |
Mark this as a python code-block
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/utils.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt index 1e1ea4467c..e03a775d60 100644 --- a/docs/ref/utils.txt +++ b/docs/ref/utils.txt @@ -432,7 +432,9 @@ Atom1Feed Consider a typical case, where a view might need to call a model's method to perform some computation, before placing the model instance into the - context, where the template might invoke the method once more:: + context, where the template might invoke the method once more: + + .. code-block:: python # the model class Person(models.Model): |
