Private
Public Access
Sets up the Evection project structure: split settings supporting both SQLite and PostgreSQL via DATABASE_URL, Celery+Redis wiring, and the planned app layout (accounts, feeds, articles, rules, search, reader, pwa, core). Implements multi-user auth with a FreshRSS-style first-run setup wizard, login/logout, and admin-only user management, covered by automated tests. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
19 lines
519 B
Python
19 lines
519 B
Python
from django.contrib.auth import views as auth_views
|
|
from django.urls import path
|
|
|
|
from . import views
|
|
|
|
app_name = "accounts"
|
|
|
|
urlpatterns = [
|
|
path("setup/", views.setup, name="setup"),
|
|
path(
|
|
"login/",
|
|
auth_views.LoginView.as_view(template_name="accounts/login.html"),
|
|
name="login",
|
|
),
|
|
path("logout/", auth_views.LogoutView.as_view(), name="logout"),
|
|
path("users/", views.manage_users, name="manage_users"),
|
|
path("users/create/", views.create_user, name="create_user"),
|
|
]
|