diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index cd4834f3..23c58c63 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -19,7 +19,7 @@ jobs: uses: technote-space/get-diff-action@v6 id: git-diff with: - PATTERNS: /**/*.py + PATTERNS: +/**/*.py - name: Set up python if: steps.git-diff.outputs.diff diff --git a/subscription/models.py b/subscription/models.py index 54700611..f0ea0907 100644 --- a/subscription/models.py +++ b/subscription/models.py @@ -76,8 +76,6 @@ class Subscription(models.Model): class Meta: ordering = ["subscription_start"] - - def clean(self): try: for s in ( @@ -99,8 +97,6 @@ class Subscription(models.Model): # TODO see SubscriptionForm's clean method raise ValidationError(_("Subscription error")) - - def save(self): super(Subscription, self).save() from counter.models import Customer