Skip to content

Commit

Permalink
Docs formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
palewire committed Jun 19, 2014
1 parent 009d525 commit e3c3b2a
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Binary file modified docs/_build/doctrees/buildablemodels.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/environment.pickle
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/_build/html/_sources/buildablemodels.txt
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ AutoPublishingBuildableModel
.. attribute:: publication_status_field

The name of the field that this model will inspect to determine
the object's publication status. By default it is "is_published".
the object's publication status. By default it is ``is_published``.

.. method:: get_publication_status()

Expand All @@ -123,7 +123,7 @@ AutoPublishingBuildableModel
republish or unpublish the object when it is saved.

By default, it looks for a BooleanField with the name defined in
the model's 'publication_status_field'.
the model's ``publication_status_field``.

If your model uses a list of strings or other more complex
means to indicate publication status you need to override this method
Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/buildablemodels.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ <h3>AutoPublishingBuildableModel<a class="headerlink" href="#autopublishingbuild
<dt id="AutoPublishingBuildableModel.publication_status_field">
<tt class="descname">publication_status_field</tt><a class="headerlink" href="#AutoPublishingBuildableModel.publication_status_field" title="Permalink to this definition"></a></dt>
<dd><p>The name of the field that this model will inspect to determine
the object&#8217;s publication status. By default it is &#8220;is_published&#8221;.</p>
the object&#8217;s publication status. By default it is <tt class="docutils literal"><span class="pre">is_published</span></tt>.</p>
</dd></dl>

<dl class="method">
Expand All @@ -177,7 +177,7 @@ <h3>AutoPublishingBuildableModel<a class="headerlink" href="#autopublishingbuild
<p>Used to determine whether the save method should seek to publish,
republish or unpublish the object when it is saved.</p>
<p>By default, it looks for a BooleanField with the name defined in
the model&#8217;s &#8216;publication_status_field&#8217;.</p>
the model&#8217;s <tt class="docutils literal"><span class="pre">publication_status_field</span></tt>.</p>
<p>If your model uses a list of strings or other more complex
means to indicate publication status you need to override this method
and have it negotiate your object to return either True or False.</p>
Expand Down
Binary file modified docs/_build/html/objects.inv
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/_build/html/searchindex.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/buildablemodels.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ AutoPublishingBuildableModel
.. attribute:: publication_status_field

The name of the field that this model will inspect to determine
the object's publication status. By default it is "is_published".
the object's publication status. By default it is ``is_published``.

.. method:: get_publication_status()

Expand All @@ -123,7 +123,7 @@ AutoPublishingBuildableModel
republish or unpublish the object when it is saved.

By default, it looks for a BooleanField with the name defined in
the model's 'publication_status_field'.
the model's ``publication_status_field``.

If your model uses a list of strings or other more complex
means to indicate publication status you need to override this method
Expand Down

0 comments on commit e3c3b2a

Please sign in to comment.