implmented app

This commit is contained in:
owengavi2
2026-03-31 14:41:56 -04:00
parent 4a820741fa
commit 7c12f67d9f
6 changed files with 102 additions and 2 deletions

View File

@@ -0,0 +1,16 @@
from banjo.models import Model, StringField, IntegerField
class SpottingEvent(Model):
make = StringField()
model = StringField()
color = StringField()
bodystyle = StringField()
location = StringField()
instances = IntegerField()
note = StringField(blank=True, null=True)
def __repr__(self):
rep = self.to_dict()
return rep