This commit is contained in:
pacnpal
2024-10-29 01:09:14 -04:00
parent 74a1b730b9
commit 158f25b24b
195 changed files with 5000 additions and 1213 deletions

View File

@@ -43,12 +43,10 @@ class Ride(models.Model):
default='OT'
)
manufacturer = models.ForeignKey(
'companies.Manufacturer',
on_delete=models.SET_NULL,
related_name='rides',
null=True,
blank=True
)
'companies.manufacturer', on_delete=models.CASCADE, null=False, blank=False
)
# other fields...
model_name = models.CharField(max_length=255, blank=True)
status = models.CharField(
max_length=20,