added aviary

This commit is contained in:
gw3000 2023-06-28 21:55:23 +02:00
parent f8545a26fe
commit 6af0a15f9e
10 changed files with 50 additions and 6 deletions

12
aviary/models.py Normal file
View file

@ -0,0 +1,12 @@
from uuid import uuid4
from django.db import models
class Aviary(models.Model):
id = models.UUIDField(primary_key=True, default=uuid4, editable=False)
description = models.CharField(max_length=256)
condition = models.CharField(max_length=256)
last_ward_round = models.DateTimeField(auto_now_add=True)
def __str__(self):
return self.description