You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the integration with openwisp-controller, instead of using a data migration to create the initial DeviceNode objects, we should use a management command, because the logic to create the initial DeviceNode objects is in a method which cannot be used during a migration because concrete models cannot be used during data migrations without risking future issues when adding/removing fields.
We'll also need to add a few lines in the readme regarding this command (when to use it and an example).
The text was updated successfully, but these errors were encountered:
When using the integration with openwisp-controller, instead of using a data migration to create the initial DeviceNode objects, we should use a management command, because the logic to create the initial DeviceNode objects is in a method which cannot be used during a migration because concrete models cannot be used during data migrations without risking future issues when adding/removing fields.
We'll also need to add a few lines in the readme regarding this command (when to use it and an example).
The text was updated successfully, but these errors were encountered: