Update web/illustrations/urls.py
This commit is contained in:
parent
4fa84601ad
commit
35f3170405
@ -39,12 +39,11 @@ urlpatterns = [
|
||||
|
||||
# Export/Import/etc (keep what you use)
|
||||
path("export/", core_views.export_csv, name="export_csv"),
|
||||
# path("import/", core_views.import_wizard, name="import_wizard"), # if you expose it
|
||||
|
||||
# Auth
|
||||
path("login/", core_views.login_view, name="login"),
|
||||
path("logout/", auth_views.LogoutView.as_view(next_page="/login/"), name="logout"),
|
||||
path('admin/', admin.site.urls),
|
||||
path("admin/", admin.site.urls),
|
||||
|
||||
# --- NEW: per-user features APIs ---
|
||||
path("api/set-font-size/", feat_views.api_set_font_size, name="api_set_font_size"),
|
||||
@ -54,6 +53,7 @@ urlpatterns = [
|
||||
path("api/log-view/<int:entry_id>/", feat_views.api_log_view, name="api_log_view"),
|
||||
path("api/get-recent-views/", feat_views.api_get_recent_views, name="api_get_recent_views"),
|
||||
path("settings/", core_views.settings_home, name="settings_home"),
|
||||
path("settings/theme/", core_views.set_theme, name="set_theme"), # ✅ FIXED
|
||||
|
||||
# --- NEW (PWA) ---
|
||||
re_path(
|
||||
@ -78,4 +78,3 @@ urlpatterns = [
|
||||
name="offline",
|
||||
),
|
||||
]
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user