Skip to content

Commit

Permalink
Merge pull request #594 from ProtixIT/joinmanager
Browse files Browse the repository at this point in the history
Remove redundant definition of `JoinManager` from tests
  • Loading branch information
foarsitter authored Mar 22, 2024
2 parents 1e481c4 + b767716 commit 281c520
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from model_utils import Choices
from model_utils.fields import MonitorField, SplitField, StatusField, UUIDField
from model_utils.managers import InheritanceManager, JoinManagerMixin, QueryManager
from model_utils.managers import InheritanceManager, JoinManager, QueryManager
from model_utils.models import (
SoftDeletableModel,
StatusModel,
Expand Down Expand Up @@ -418,10 +418,6 @@ class ModelWithCustomDescriptor(models.Model):
tracker = FieldTracker(fields=['tracked_custom_field', 'tracked_regular_field'])


class JoinManager(JoinManagerMixin, models.Manager):
pass


class BoxJoinModel(models.Model):
name = models.CharField(max_length=32)
objects = JoinManager()
Expand Down

0 comments on commit 281c520

Please sign in to comment.