mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 17:11:09 -05:00
yay
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user