Skip to content

Commit 3f46072

Browse files
committed
cleanup
1 parent 5d8a04e commit 3f46072

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

netbox_custom_objects/models.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -626,9 +626,6 @@ def create_model(self):
626626
with connection.schema_editor() as schema_editor:
627627
schema_editor.create_model(model)
628628

629-
# Note: FK constraints for OBJECT fields are now created when the field is saved,
630-
# not when the model is first created (since there are no fields yet)
631-
632629
get_serializer_class(model)
633630
self.register_custom_object_search_index(model)
634631

0 commit comments

Comments
 (0)