fix - distribution description blank=True

This commit is contained in:
2025-11-02 15:42:49 +03:30
parent 97570b285c
commit a45cdc2678
2 changed files with 3 additions and 1 deletions

View File

@@ -714,7 +714,7 @@ class QuotaDistribution(BaseModel):
related_name='distributions',
null=True
)
description = models.TextField(max_length=1000, null=True)
description = models.TextField(max_length=1000, null=True, blank=True)
distribution_id = models.CharField(max_length=20, null=True)
quota = models.ForeignKey(
Quota,

View File

@@ -688,3 +688,5 @@ AssertionError: .validate() should return the validated data
[2025-11-02 15:01:55,002] INFO django.utils.autoreload | IP: - | Path: - | D:\Project\Rasaddam_Backend\apps\core\visibility_registry.py changed, reloading.
[2025-11-02 15:01:59,909] INFO django.utils.autoreload | IP: - | Path: - | Watching for file changes with StatReloader
[2025-11-02 15:33:11,579] INFO django.utils.autoreload | IP: - | Path: - | D:\Project\Rasaddam_Backend\apps\product\web\api\v1\serializers\quota_distribution_serializers.py changed, reloading.
[2025-11-02 15:33:14,976] INFO django.utils.autoreload | IP: - | Path: - | Watching for file changes with StatReloader
[2025-11-02 15:42:30,151] INFO django.utils.autoreload | IP: - | Path: - | D:\Project\Rasaddam_Backend\apps\product\models.py changed, reloading.