mirror of
https://github.com/evennia/evennia.git
synced 2026-03-30 20:47:17 +02:00
Updated HTML docs.
This commit is contained in:
parent
b9423169d8
commit
4cd97e630f
54 changed files with 745 additions and 587 deletions
|
|
@ -175,7 +175,7 @@ Django parlance). You can specify such places in your settings (see the <code cl
|
|||
field to figure out which page you want to go to. You tell it which patterns are relevant in the
|
||||
file
|
||||
<a class="reference external" href="https://github.com/evennia/evennia/blob/master/evennia/game_template/web/urls.py">mygame/web/urls.py</a>.
|
||||
Open it now.</p>
|
||||
Open it now</p>
|
||||
<p>Django looks for the variable <code class="docutils literal notranslate"><span class="pre">urlpatterns</span></code> in this file. You want to add your new pattern to the
|
||||
<code class="docutils literal notranslate"><span class="pre">custom_patterns</span></code> list we have prepared - that is then merged with the default <code class="docutils literal notranslate"><span class="pre">urlpatterns</span></code>. Here’s
|
||||
how it could look:</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue