add/remove items from list
This commit is contained in:
parent
fe9d19c6ad
commit
15d0a14d59
3 changed files with 7 additions and 6 deletions
|
|
@ -117,3 +117,4 @@ class Annotation(models.Model):
|
|||
|
||||
def __unicode__(self):
|
||||
return u"%s/%s-%s" %(self.item, self.start, self.end)
|
||||
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@ class List(models.Model):
|
|||
modified = models.DateTimeField(auto_now=True)
|
||||
user = models.ForeignKey(User, related_name='lists')
|
||||
name = models.CharField(max_length=255)
|
||||
status = models.CharField(max_length=20, default='private')
|
||||
_status = ['private', 'public', 'featured']
|
||||
status = models.CharField(max_length=20, default='personal')
|
||||
_status = ['personal', 'public', 'featured']
|
||||
query = DictField(default={"static": True})
|
||||
type= models.CharField(max_length=255, default='static')
|
||||
description = models.TextField(default='')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue