Mark this as a python code-block

This commit is contained in:
Alex Gaynor 2013-10-29 07:26:06 -07:00
parent ffcfb4cdcc
commit 6b560b50b9
1 changed files with 3 additions and 1 deletions

View File

@ -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):