Skip to content

Commit

Permalink
Change default manager for licences
Browse files Browse the repository at this point in the history
  • Loading branch information
hipek8 committed Oct 2, 2024
1 parent 84d3361 commit 9791949
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ralph/licences/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ class Licence(Regionalizable, AdminAbsoluteUrlMixin, PriceMixin, BaseObject):
)
)

objects = models.Manager()
polymorphic_objects = PolymorphicQuerySet.as_manager()
objects_used_free = LicencesUsedFreeManager()
objects_with_related = LicencesRelatedObjectsManager()
Expand Down

0 comments on commit 9791949

Please sign in to comment.