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
This relationship causes a ProtectedError when attempting to delete a cycle that had Analysis or AT events.
django.db.models.deletion.ProtectedError: ("Cannot delete some instances of model 'Cycle' because they are referenced through protected foreign keys: 'Event.cycle'."
This should be changed to on_delete=models.CASCADE
The text was updated successfully, but these errors were encountered:
The relation between Event and Cycle is incorrectly set. Currently, the Event is protected when a Cycle is deleted.
This relationship causes a ProtectedError when attempting to delete a cycle that had Analysis or AT events.
This should be changed to
on_delete=models.CASCADE
The text was updated successfully, but these errors were encountered: