Archived
saving final changes to ch. 2
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user