Skip to content

Commit

Permalink
Merge branch 'cabinet-search-result-documentation' into 'master'
Browse files Browse the repository at this point in the history
Add documentation to CabinetSearchResult class

See merge request mayan-edms/mayan-edms!83
  • Loading branch information
siloraptor committed May 11, 2020
2 parents b3a2cc6 + 8d42269 commit 802abeb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mayan/apps/cabinets/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,11 @@ def validate_unique(self, exclude=None):


class CabinetSearchResult(Cabinet):
"""
Represent a cabinet's search result. This model is a proxy model from
Cabinet and is used as an alias to map columns to it without having to
map them to the base Cabinet model.
"""
class Meta:
proxy = True
verbose_name = _('Cabinet')
Expand Down

0 comments on commit 802abeb

Please sign in to comment.