Skip to content

Commit

Permalink
Fix description of ActionCountCondition and ActionFrequencyCondition
Browse files Browse the repository at this point in the history
  • Loading branch information
pauk-slon committed Dec 24, 2022
1 parent dc90bda commit 60fe643
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "dj-triggers"
version = "0.8.0"
version = "0.9.0"
description = ""
authors = []
readme = "README.md"
Expand Down
4 changes: 2 additions & 2 deletions triggers/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ class Meta:
verbose_name_plural = _('action count')

def __str__(self):
return f'{super().__str__()} less than {self.limit}'
return f'{super().__str__()} no more than {self.limit}'

@property
def exclude_users_q(self) -> Optional[models.Q]:
Expand All @@ -225,7 +225,7 @@ class Meta:
verbose_name_plural = _('action frequency')

def __str__(self):
return f'{super().__str__()} less than {self.limit}'
return f'{super().__str__()} no less than {self.limit}'

@property
def exclude_users_q(self) -> Optional[models.Q]:
Expand Down

0 comments on commit 60fe643

Please sign in to comment.