After clicking the "Save" button to update a specific model in the Django admin, I will return to the list view with the message that "[Model] was successfully changed." The problem is that the model has not been changed. The list containing the updated column does not reflect the changed text.
I rewrote the model save method to include the print statement, as well as calling its parent class.
def save(self, *args, **kwargs):
print 'boom!'
super(Blurb, self).save(*args, **kwargs)
The Save Save method is not called ("boom!" Is not displayed on the console). I have no problem adding new data to this model, it's just an update that doesn't work.
Any ideas on what might be the problem, or at least how can I debug it further?
source
share