Exemplo n.º 1
0
 class Meta(AbstractDocumentManagementModel.Meta):
     """Meta class definition"""
     abstract = False
     db_table = db_table(app_label, _annotation)
     verbose_name = _(_annotation_verbose)
     verbose_name_plural = _(pluralize(_annotation_verbose))
     unique_together = ('client', 'name')
Exemplo n.º 2
0
 class Meta(AbstractClassification.Meta):
     """Meta class definition"""
     db_table = db_table(app_label, _category)
     verbose_name = _(_category_verbose)
     verbose_name_plural = _(pluralize(_category_verbose))
Exemplo n.º 3
0
 class Meta(AbstractDerivedDocumentModel.Meta):
     """Meta class definition"""
     db_table = db_table(app_label, _reference_document)
     verbose_name = _(_reference_document_verbose)
     verbose_name_plural = _(pluralize(_reference_document_verbose))
Exemplo n.º 4
0
 class Meta(AbstractDocumentManagementModel.Meta):
     """Model meta class definition"""
     db_table = db_table(app_label, _document_tag)
     verbose_name = _(_document_tag_verbose)
     verbose_name_plural = _(pluralize(_document_tag_verbose))
     unique_together = ('document', 'tag')
Exemplo n.º 5
0
 class Meta(AbstractDocumentManagementModel.Meta):
     """ClientUser meta class"""
     db_table = db_table(app_label, _client_user)
     verbose_name = _(_client_user_verbose)
     verbose_name_plural = _(pluralize(_client_user_verbose))
Exemplo n.º 6
0
 class Meta(AbstractDocumentManagementModel.Meta):
     """Model meta class declaration."""
     db_table = db_table(app_label, _client)
     verbose_name = _(_client_verbose)
     verbose_name_plural = _(pluralize(_client_verbose))
Exemplo n.º 7
0
 class Meta(AbstractDocumentManagementModel.Meta):
     """Model meta class definition"""
     db_table = db_table(app_label, _document_association)
     verbose_name = _(_document_association_verbose)
     verbose_name_plural = _(pluralize(_document_association_verbose))
     unique_together = ('from_document', 'to_document', 'purpose')
 class Meta(AbstractResultsModel.Meta):
     """Meta class definition"""
     db_table = db_table(app_label, _analysis_results)
     verbose_name = _(_analysis_results_verbose)
     verbose_name_plural = _(pluralize(_analysis_results_verbose))