Skip to content

Commit 48ca563

Browse files
committed
Make model required on get_through_model
1 parent bb4e14e commit 48ca563

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netbox_custom_objects/field_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ def get_joining_columns(self, reverse_join=False):
672672

673673

674674
class MultiObjectFieldType(FieldType):
675-
def get_through_model(self, field, model=None):
675+
def get_through_model(self, field, model):
676676
"""
677677
Creates a through model with deferred model references
678678
"""

0 commit comments

Comments
 (0)