simplify example proposal models

This commit is contained in:
Luke Hatcher 2012-10-30 20:46:08 -04:00
parent 2966f6534a
commit cabae1394d

View file

@ -3,19 +3,6 @@ from django.db import models
from symposion.proposals.models import ProposalBase
class ProposalCategory(models.Model):
name = models.CharField(max_length=100)
slug = models.SlugField()
def __unicode__(self):
return self.name
class Meta:
verbose_name = "proposal category"
verbose_name_plural = "proposal categories"
class Proposal(ProposalBase):
AUDIENCE_LEVEL_NOVICE = 1
@ -28,7 +15,6 @@ class Proposal(ProposalBase):
(AUDIENCE_LEVEL_EXPERIENCED, "Experienced"),
]
category = models.ForeignKey(ProposalCategory)
audience_level = models.IntegerField(choices=AUDIENCE_LEVELS)
recording_release = models.BooleanField(