Add completed/abandoned shelves with status transitions
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Items can be moved to Completed or Abandoned via card buttons. Only active items appear in the default/category tabs; completed and abandoned items are visible only in their respective shelf tabs. Restore button moves items back to active. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
20
backlogger/migrations/0005_item_status.py
Normal file
20
backlogger/migrations/0005_item_status.py
Normal file
@@ -0,0 +1,20 @@
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('backlogger', '0004_item_hltb_fields'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='item',
|
||||
name='status',
|
||||
field=models.CharField(
|
||||
choices=[('active', 'Active'), ('completed', 'Completed'), ('abandoned', 'Abandoned')],
|
||||
default='active',
|
||||
max_length=10,
|
||||
),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user