Files
k-boris-website/backlogger/admin.py
Boris a8ab5f6ce1
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Add backlogger app at /backlogger/ with login protection
Django app with Item model (games/books/films/other categories), CRUD
views, and login-required access. Login page at /accounts/login/ uses
custom dark-themed template consistent with the site design.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-29 22:18:32 +03:00

10 lines
275 B
Python

from django.contrib import admin
from .models import Item
@admin.register(Item)
class ItemAdmin(admin.ModelAdmin):
list_display = ['name', 'category', 'progress_percent', 'favorite', 'created_at']
list_filter = ['category', 'favorite']
search_fields = ['name']