Initial commit

This commit is contained in:
Trever Fischer
2012-02-17 15:04:42 -05:00
commit 548de830f0
14 changed files with 150 additions and 0 deletions

15
minecraft/models.py Normal file
View File

@@ -0,0 +1,15 @@
from django.db import models
from django.contrib.auth.models import User
class MinecraftProfile(models.Model):
user = models.OneToOneField(User)
mc_username = models.CharField(max_length=30)
def __unicode__(self):
return self.mc_username
class Quote(models.Model):
text = models.CharField(max_length=50)
def __unicode__(self):
return self.text