Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix before/after create hook for a custom PKs #14

Merged
merged 1 commit into from
Feb 24, 2019

Conversation

atugushev
Copy link
Contributor

Using _state.adding might be a better solution to determine whether a model is a new.
See https://stackoverflow.com/a/35647389/1529164

Using _state.adding might be a better solution to determine whether a model is a new.
See https://stackoverflow.com/a/35647389/1529164
@atugushev
Copy link
Contributor Author

Hello @rsinger86, gentle ping. Any feedback on this PR?

@rsinger86 rsinger86 merged commit 49b5faf into rsinger86:master Feb 24, 2019
@rsinger86
Copy link
Owner

Looks great. Thanks! This has been merged/released.

@atugushev
Copy link
Contributor Author

Awesome! Thank you.

@atugushev atugushev deleted the use-adding-state branch February 24, 2019 10:26
@atugushev
Copy link
Contributor Author

@rsinger86

It's seems the release wasn't upload to pypi, see https://pypi.org/project/django-lifecycle/#history

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.

None yet

2 participants