from django.db import models
from django.contrib.auth.models import User


class Player(models.Model):
    user = models.OneToOneField(User)


class Avatar(models.Model):
    player = models.ForeignKey(User)
    code = models.TextField()
from django.db import models
from django.contrib.auth.models import User


class Player(models.Model):
    user = models.OneToOneField(User)
    code = models.TextField()


class Avatar(models.Model):
    player = models.ForeignKey(User)
    
Move code into player (if only for now)
Move code into player (if only for now)
