Add api customization templates

This commit is contained in:
Griatch 2021-05-23 17:00:02 +02:00
parent cc9f42a398
commit 4250ca1a29
24 changed files with 334 additions and 170 deletions

View file

@ -7,7 +7,7 @@ The main web/urls.py includes these routes for all urls starting with `admin/`
"""
from django.conf.urls import path
from django.urls import path
from evennia.web.admin.urls import urlpatterns as evennia_admin_urlpatterns
# add patterns here

View file

@ -0,0 +1,3 @@
# Evennia API static files
Overrides for API files.

View file

@ -0,0 +1,3 @@
# Static files for API
Override images here.

View file

@ -0,0 +1,3 @@
# Templates for the Evennia API
Override templates here.

View file

@ -12,8 +12,7 @@ should modify urls.py in those sub directories.
Search the Django documentation for "URL dispatcher" for more help.
"""
from django.conf.urls import path, include
from django.urls import path, include
# default evennia patterns
from evennia.web.urls import urlpatterns as evennia_default_urlpatterns

View file

@ -6,8 +6,7 @@ The main web/urls.py includes these routes for all urls starting with `webclient
"""
from django.conf.urls import path
from django.urls import path
from evennia.web.webclient.urls import urlpatterns as evennia_webclient_urlpatterns
# add patterns here

View file

@ -6,8 +6,7 @@ so it can reroute to all website pages.
"""
from django.conf.urls import path
from django.urls import path
from evennia.web.website.urls import urlpatterns as evennia_website_urlpatterns
# add patterns here