mirror of
https://github.com/evennia/evennia.git
synced 2026-03-29 03:57:17 +02:00
Updated HTML docs.
This commit is contained in:
parent
3b1e2bebbe
commit
a470f178bb
62 changed files with 156 additions and 151 deletions
|
|
@ -214,7 +214,7 @@ be named such to allow override of the original REST framework templates).</p></
|
|||
<li><p>The api code is located in <code class="docutils literal notranslate"><span class="pre">evennia/web/api/</span></code> - the <code class="docutils literal notranslate"><span class="pre">url.py</span></code> file here is responsible for
|
||||
collecting all view-classes.</p></li>
|
||||
</ul>
|
||||
<p>Contrary to other web components, there is no pre-made <a class="reference external" href="http://urls.py">urls.py</a> set up for
|
||||
<p>Contrary to other web components, there is no pre-made <code class="docutils literal notranslate"><span class="pre">urls.py</span></code> set up for
|
||||
<code class="docutils literal notranslate"><span class="pre">mygame/web/api/</span></code>. This is because the registration of models with the api is
|
||||
strongly integrated with the REST api functionality. Easiest is probably to
|
||||
copy over <code class="docutils literal notranslate"><span class="pre">evennia/web/api/urls.py</span></code> and modify it in place.</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue