completed ch 2

This commit is contained in:
2022-02-04 15:04:47 -06:00
parent ac3b0eefaa
commit 981cac30c7
+12
View File
@@ -0,0 +1,12 @@
from django.db import models
from levelupapi.models.gamer import Gamer
from models import Game
class Game(models.Model):
game= models.ForeignKey(Game)
description = models.CharField(max_length=256)
date = models.DateField()
time = models.TimeField(_(""), auto_now=False, auto_now_add=False)
organizer = models.ForeignKey(Gamer)