diff options
Diffstat (limited to 'apps/projects/models/code.py')
-rw-r--r-- | apps/projects/models/code.py | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/apps/projects/models/code.py b/apps/projects/models/code.py deleted file mode 100644 index 14a66f0..0000000 --- a/apps/projects/models/code.py +++ /dev/null @@ -1,25 +0,0 @@ -from django.db import models - - -PUB_STATUS = ( - (0, 'Draft'), - (1, 'Published'), - ) - - - -class Code(models.Model): - name = models.CharField(max_length=254) - slug = models.SlugField() - date_created = models.DateField('Date Created') - status = models.IntegerField(choices=PUB_STATUS, default=0) - body_html = models.TextField(blank=True) - - class Meta: - verbose_name_plural = "Code" - app_label = 'projects' - ordering = ('-date_created',) - # Returns the string representation of the model. - def __unicode__(self): - return self.slug - |