diff options
Diffstat (limited to 'objectapp/models.py')
-rw-r--r-- | objectapp/models.py | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/objectapp/models.py b/objectapp/models.py index b554059..41d6639 100644 --- a/objectapp/models.py +++ b/objectapp/models.py @@ -128,12 +128,6 @@ attr_counter = -1 class Author(User): """Proxy Model around User""" - def __init__(self): - self.identifier = models.CharField(("identifier"), - default="Author", - help_text=("class' id"), - max_length=255) - objects = models.Manager() published = AuthorPublishedManager() @@ -161,12 +155,6 @@ class Gbobject(Node): base. System and Process classes also inherit this class. """ - def __init__(self): - self.identifier = models.CharField(("identifier"), - default="Gbobject", - help_text=("class' id"), - max_length=255) - STATUS_CHOICES = ((DRAFT, _('draft')), (HIDDEN, _('hidden')), (PUBLISHED, _('published'))) @@ -891,12 +879,6 @@ class Process(Gbobject): A store processes, events or changes described as changes in attributes and relations """ - def __init__(self): - self.identifier = models.CharField(("identifier"), - default="Process", - help_text=("class' id"), - max_length=255) - processtypes = models.ManyToManyField(Processtype, verbose_name=_('member of process type'), related_name='member_processes', blank=True, null=True) @@ -949,12 +931,6 @@ class System(Gbobject): instance of a Systemtype """ - def __init__(self): - self.identifier = models.CharField(("identifier"), - default="System", - help_text=("class' id"), - max_length=255) - systemtypes = models.ManyToManyField(Systemtype, verbose_name=_('member of systemtype'), related_name='member_systems', blank=True, null=True) |