Eugene Pankov 079af8cf5c
.
2021-10-25 09:14:05 +02:00

18 lines
386 B
Python

from django.urls import path, include
from . import api
from . import views
urlpatterns = [
*[
path(p, views.IndexView.as_view())
for p in ['', 'login', 'app', 'about', 'about/features']
],
path('app-dist/<version>/<path:path>', views.AppDistView.as_view()),
path('terminal', views.TerminalView.as_view()),
path('', include(api.urlpatterns)),
]