zmiana string lenght

This commit is contained in:
Tomasz Boruc 2025-05-29 15:40:53 +02:00
parent c00174ce22
commit be7362cda2

View File

@ -6,7 +6,7 @@ from django.db import models
class Car(models.Model): class Car(models.Model):
marka = models.CharField(max_length=30) marka = models.CharField(max_length=30)
nr_rej = models.CharField(max_length=20) nr_rej = models.CharField(max_length=29)
data_przegladu = models.DateField() data_przegladu = models.DateField()
informacje = models.TextField(default="") informacje = models.TextField(default="")
zdjiecia = models.ImageField(upload_to='zdjiecia', null=True, blank=True) zdjiecia = models.ImageField(upload_to='zdjiecia', null=True, blank=True)