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

@@ -0,0 +1,25 @@
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('backlogger', '0005_item_status'),
]
operations = [
migrations.AlterField(
model_name='item',
name='category',
field=models.CharField(
choices=[
('games', 'Games'),
('books', 'Books'),
('films', 'Films'),
('unending', 'Unending'),
('other', 'Other'),
],
max_length=10,
),
),
]