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>
10 lines
271 B
Python
10 lines
271 B
Python
from django.contrib import admin
|
|
from django.contrib.auth.admin import UserAdmin as DjangoUserAdmin
|
|
|
|
from .models import User
|
|
|
|
|
|
@admin.register(User)
|
|
class UserAdmin(DjangoUserAdmin):
|
|
fieldsets = DjangoUserAdmin.fieldsets + (("Evection", {"fields": ("timezone",)}),)
|