Skip to content

Commit

Permalink
Updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Jan 19, 2024
1 parent 725960e commit 73cfc88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _modules/apis_core/apis_relations/tables.html
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ <h1>Source code for apis_core.apis_relations.tables</h1><div class="highlight"><
<span class="s2">&quot;model&quot;</span>
<span class="p">),</span> <span class="c1"># order retrieved objects within table cell</span>
<span class="c1"># use .name for model verbose name, .model for model class name</span>
<span class="n">transform</span><span class="o">=</span><span class="k">lambda</span> <span class="n">ent</span><span class="p">:</span> <span class="sa">f</span><span class="s2">&quot;</span><span class="si">{</span><span class="n">ent</span><span class="o">.</span><span class="n">model</span><span class="o">.</span><span class="n">title</span><span class="p">()</span><span class="si">}</span><span class="s2">&quot;</span><span class="p">,</span>
<span class="n">transform</span><span class="o">=</span><span class="k">lambda</span> <span class="n">ent</span><span class="p">:</span> <span class="sa">f</span><span class="s2">&quot;</span><span class="si">{</span><span class="n">ent</span><span class="o">.</span><span class="n">name</span><span class="o">.</span><span class="n">capitalize</span><span class="p">()</span><span class="si">}</span><span class="s2">&quot;</span><span class="p">,</span>
<span class="n">linkify_item</span><span class="o">=</span><span class="p">{</span>
<span class="s2">&quot;viewname&quot;</span><span class="p">:</span> <span class="s2">&quot;apis_core:apis_entities:generic_entities_list&quot;</span><span class="p">,</span>
<span class="s2">&quot;args&quot;</span><span class="p">:</span> <span class="p">[</span><span class="n">tables</span><span class="o">.</span><span class="n">A</span><span class="p">(</span><span class="s2">&quot;model&quot;</span><span class="p">)],</span>
Expand All @@ -181,7 +181,7 @@ <h1>Source code for apis_core.apis_relations.tables</h1><div class="highlight"><
<span class="s2">&quot;model&quot;</span>
<span class="p">),</span> <span class="c1"># order retrieved objects within table cell</span>
<span class="c1"># use .name for model verbose name, .model for model class name</span>
<span class="n">transform</span><span class="o">=</span><span class="k">lambda</span> <span class="n">ent</span><span class="p">:</span> <span class="sa">f</span><span class="s2">&quot;</span><span class="si">{</span><span class="n">ent</span><span class="o">.</span><span class="n">model</span><span class="o">.</span><span class="n">title</span><span class="p">()</span><span class="si">}</span><span class="s2">&quot;</span><span class="p">,</span>
<span class="n">transform</span><span class="o">=</span><span class="k">lambda</span> <span class="n">ent</span><span class="p">:</span> <span class="sa">f</span><span class="s2">&quot;</span><span class="si">{</span><span class="n">ent</span><span class="o">.</span><span class="n">name</span><span class="o">.</span><span class="n">capitalize</span><span class="p">()</span><span class="si">}</span><span class="s2">&quot;</span><span class="p">,</span>
<span class="n">linkify_item</span><span class="o">=</span><span class="p">{</span>
<span class="s2">&quot;viewname&quot;</span><span class="p">:</span> <span class="s2">&quot;apis_core:apis_entities:generic_entities_list&quot;</span><span class="p">,</span>
<span class="s2">&quot;args&quot;</span><span class="p">:</span> <span class="p">[</span><span class="n">tables</span><span class="o">.</span><span class="n">A</span><span class="p">(</span><span class="s2">&quot;model&quot;</span><span class="p">)],</span>
Expand Down

0 comments on commit 73cfc88

Please sign in to comment.