daybook/daybook_project/urls.py
peter 940a703cd7 Initial public commit
Daybook: a self-hosted, multi-user Django + DRF app where agents, scripts,
or people publish artifacts and each logged-in user browses their own
time-ordered, label-filterable feed.

This squashes prior local development history (kept privately on a separate
branch) into a single clean starting point for the public repository.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-01 21:55:02 +01:00

13 lines
433 B
Python

from django.contrib import admin
from django.contrib.auth import views as auth_views
from django.urls import include, path
from artifacts.views import DaybookLoginView
urlpatterns = [
path("admin/", admin.site.urls),
path("accounts/login/", DaybookLoginView.as_view(), name="login"),
path("accounts/logout/", auth_views.LogoutView.as_view(next_page="login"), name="logout"),
path("", include("artifacts.urls")),
]