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
I've tried tracing down the issue but can't seem to find it. The _date seems to be using is_initial values as everything else is correct within the serializer instance.
The text was updated successfully, but these errors were encountered:
I'm going to close this for now as I suspect you're accessing data somewhere during validation — or such. The bottom line will be "Don't do this". data is populated on demand so if you don't call it early you'll get the post-save values you're after.
See: #2532, #2276, #2289 and probably others for extended discussion of this topic.
If there's something not covered there please come back here with what we need to reproduce the issue — ideally a failing test case — and we can re-open.
Thank you for the feedback. You're correct, I was accessing data instead of initial data, apologies. As a side note: this project is one of the best I've ever used, thank you!!!
When doing the following:
Reponse returns dict that does not show updated data. I had to do this for a workaround to make sure data is updated.
I've tried tracing down the issue but can't seem to find it. The _date seems to be using is_initial values as everything else is correct within the serializer instance.
The text was updated successfully, but these errors were encountered: