All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
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>
10 lines
275 B
Python
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']
|