mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 23:00:18 +00:00
Merge branch 'master' of github.com:kennethreitz/python-guide
This commit is contained in:
@@ -366,7 +366,7 @@ into the corresponding block in the :file:`base.html` page.
|
|||||||
|
|
||||||
.. code-block:: html
|
.. code-block:: html
|
||||||
|
|
||||||
<!{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<p class="important">
|
<p class="important">
|
||||||
<div id="content">
|
<div id="content">
|
||||||
|
|||||||
@@ -76,6 +76,7 @@ signal that no argument was provided (:py:data:`None` is often a good choice).
|
|||||||
to.append(element)
|
to.append(element)
|
||||||
return to
|
return to
|
||||||
|
|
||||||
|
Do not forget, you are passing a *list* object as the second argument.
|
||||||
|
|
||||||
When the Gotcha Isn't a Gotcha
|
When the Gotcha Isn't a Gotcha
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|||||||
Reference in New Issue
Block a user