Better way of doing that with less side effects. Thought it wasn't possible earlier because I misread something.

This commit is contained in:
Kelketek 2013-07-21 14:18:36 -05:00
parent 427dcc3985
commit 08ee399ea2
2 changed files with 2 additions and 5 deletions

View file

@ -596,8 +596,7 @@ class TypedObject(SharedMemoryModel):
help_text="locks limit access to an entity. A lock is defined as a 'lock string' on the form 'type:lockfunctions', defining what functionality is locked and how to determine access. Not defining a lock means no access is granted.")
# many2many relationships
db_attributes = models.ManyToManyField(Attribute, null=True,
help_text='attributes on this object. An attribute can hold any pickle-able python object (see docs for special cases).',
related_name='db_objects')
help_text='attributes on this object. An attribute can hold any pickle-able python object (see docs for special cases).')
db_liteattributes = models.ManyToManyField(LiteAttribute, null=True,
help_text='liteattributes on this object. A LiteAttribute holds a key, a category and a string field for simple lookups.')
db_tags = models.ManyToManyField(Tag, null=True,