move to new domain
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-03-31 19:33:16 +03:00
parent 959f0aa9d7
commit ce3fdfffa1
6 changed files with 96 additions and 4 deletions

View File

@@ -1,3 +1,4 @@
from django.contrib.auth.models import User
from django.db import models
@@ -13,6 +14,8 @@ class Item(models.Model):
(OTHER, 'Other'),
]
user = models.ForeignKey(User, on_delete=models.CASCADE, related_name='items', null=True)
category = models.CharField(max_length=10, choices=CATEGORY_CHOICES)
name = models.CharField(max_length=200)
progress_percent = models.FloatField(default=0.0)