saving final changes to ch. 2

This commit is contained in:
2022-02-04 15:38:05 -06:00
parent 8724494e8b
commit 3913b3f73e
5 changed files with 25 additions and 4 deletions
+4 -1
View File
@@ -1,10 +1,13 @@
from django.db import models
from django.contrib.auth.models import User
from django.db import models
from models import Gamer
from models import Game_Type
class Game(models.Model):
game_type = models.ForeignKey(game_type)
game_type = models.ForeignKey(Game_Type)
title = models.CharField(max_length=256)
maker = models.CharField(max_length=256)
gamer = models.ForeignKey(Gamer)