new django.urls.path() function allows a simpler, more readable URL routing syntax.
This commit is contained in:
parent
308818bd5d
commit
a3169b50c2
2 changed files with 8 additions and 6 deletions
|
|
@ -2,8 +2,9 @@
|
|||
This structures the (simple) structure of the
|
||||
webpage 'application'.
|
||||
"""
|
||||
from django.conf.urls import *
|
||||
from django.urls import path
|
||||
from evennia.web.webclient import views as webclient_views
|
||||
|
||||
app_name = "webclient"
|
||||
urlpatterns = [url(r"^$", webclient_views.webclient, name="index")]
|
||||
|
||||
urlpatterns = [path("", webclient_views.webclient, name="index")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue