Skip to content

Commit

Permalink
Fix admin url, refactor admin pages
Browse files Browse the repository at this point in the history
  • Loading branch information
smartspot2 committed Aug 7, 2023
1 parent aed030a commit 614d0e1
Show file tree
Hide file tree
Showing 2 changed files with 697 additions and 396 deletions.
10 changes: 8 additions & 2 deletions csm_web/frontend/urls.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
from django.urls import re_path
from django.urls import path, re_path

from . import views

urlpatterns = [re_path(r"^(?!api/)", views.index)]
urlpatterns = [
# catch index path
path("", views.index),
# catch all other subpaths
re_path(r"^.*/$", views.index),
]
Loading

0 comments on commit 614d0e1

Please sign in to comment.