Database schema has changed. Run migrations if you use South. Started work on tidying up admin interface.

This commit is contained in:
Griatch 2011-09-14 22:34:10 +02:00
parent 60e980be67
commit 399919a8a9
14 changed files with 562 additions and 25 deletions

View file

@ -96,7 +96,7 @@ class Attribute(SharedMemoryModel):
# access through the value property
db_value = models.TextField(blank=True, null=True)
# Lock storage
db_lock_storage = models.TextField(blank=True)
db_lock_storage = models.CharField(max_length=512, blank=True)
# references the object the attribute is linked to (this is set
# by each child class to this abstact class)
db_obj = None # models.ForeignKey("RefencedObject")
@ -411,9 +411,9 @@ class TypedObject(SharedMemoryModel):
# Creation date
db_date_created = models.DateTimeField(editable=False, auto_now_add=True)
# Permissions (access these through the 'permissions' property)
db_permissions = models.CharField(max_length=512, blank=True)
db_permissions = models.CharField(max_length=255, blank=True)
# Lock storage
db_lock_storage = models.TextField(blank=True)
db_lock_storage = models.CharField(max_length=512, blank=True)
# Database manager
objects = managers.TypedObjectManager()