def __init__(self, *args, **kwargs): super(Project, self).__init__(*args, **kwargs) assign_code(self)
def __init__(self, *args, **kwargs): super(Milestone, self).__init__(*args, **kwargs) assign_code(self)
def __init__(self, *args, **kwargs): super(Document, self).__init__(*args, **kwargs) if self.content_type: assign_code( self, Document.objects.filter(content_type=self.content_type))
def __init__(self, *args, **kwargs): super(Document, self).__init__(*args, **kwargs) if self.content_type: assign_code(self, Document.objects.filter(content_type=self.content_type))