2014-07-25 13:53:01 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
2014-07-25 11:20:10 +02:00
|
|
|
from django.db import models
|
|
|
|
|
2014-07-28 13:20:13 +02:00
|
|
|
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
|