# -*- coding: utf-8 -*- from django.db import models class ProjectContext(models.Model): name = models.CharField(max_length=255) description = models.TextField() associated_filename = models.CharField(max_length=255,blank=True,null=True) def __unicode__(self): repr = self.name if self.associated_filename: repr += " (" + self.associated_filename + ")" return repr