bird status cannot be empty
This commit is contained in:
parent
11d233afd3
commit
46d082b715
1 changed files with 1 additions and 3 deletions
|
@ -25,9 +25,7 @@ class FallenBird(models.Model):
|
|||
Rescuer, on_delete=models.SET_NULL, blank=True, null=True
|
||||
)
|
||||
user = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.CASCADE)
|
||||
status = models.ForeignKey(
|
||||
"BirdStatus", on_delete=models.SET_NULL, blank=True, null=True
|
||||
)
|
||||
status = models.ForeignKey("BirdStatus", on_delete=models.CASCADE)
|
||||
aviary = models.ForeignKey(Aviary, on_delete=models.SET_NULL, blank=True, null=True)
|
||||
|
||||
class Meta:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue