Skip to content

Using hash instead of pk to get instance of AbstractErrorModel#20

Merged
sonus21 merged 1 commit into
sonus21:masterfrom
CherosAL:master
Oct 27, 2020
Merged

Using hash instead of pk to get instance of AbstractErrorModel#20
sonus21 merged 1 commit into
sonus21:masterfrom
CherosAL:master

Conversation

@CherosAL

Copy link
Copy Markdown
Contributor

Using pk or id will cause problems if the user extend the model and needs to create a custom primary key.

@sonus21 sonus21 merged commit 39ac88e into sonus21:master Oct 27, 2020
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