Kaydet (Commit) 6b560b50 authored tarafından Alex Gaynor's avatar Alex Gaynor

Mark this as a python code-block

üst ffcfb4cd
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment