Add unending category for session-based games
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

For games like Dota 2 that have no completion state — shows hours
played on the card, reuses the games fields in the form (hours played
/ total hours), and gets its own cyan badge. No DB column change,
only choices metadata update.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-01 23:25:41 +03:00
parent da11a056ed
commit b765067c5b
4 changed files with 35 additions and 1 deletions

View File

@@ -6,11 +6,13 @@ class Item(models.Model):
GAMES = 'games'
BOOKS = 'books'
FILMS = 'films'
UNENDING = 'unending'
OTHER = 'other'
CATEGORY_CHOICES = [
(GAMES, 'Games'),
(BOOKS, 'Books'),
(FILMS, 'Films'),
(UNENDING, 'Unending'),
(OTHER, 'Other'),
]