We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d8a04e commit 3f46072Copy full SHA for 3f46072
netbox_custom_objects/models.py
@@ -626,9 +626,6 @@ def create_model(self):
626
with connection.schema_editor() as schema_editor:
627
schema_editor.create_model(model)
628
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
-
632
get_serializer_class(model)
633
self.register_custom_object_search_index(model)
634
0 commit comments