Skip to content

Conversation

sliverc
Copy link
Contributor

@sliverc sliverc commented Sep 10, 2018

Properly check whether an instance is not created yet before calling refresh_from_db.

@sliverc
Copy link
Contributor Author

sliverc commented Nov 20, 2018

I have noticed that this fix is also needed when updating to Django 2.1 otherwise it ends in an exception when reading a localized field.

@Photonios Photonios merged commit 25417b5 into SectorLabs:master Jan 11, 2019
@sliverc sliverc deleted the user_defined_pk_descriptor branch January 11, 2019 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants