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

Move post_save receiver to receivers.py #8

Closed
paltman opened this issue Feb 4, 2016 · 3 comments
Closed

Move post_save receiver to receivers.py #8

paltman opened this issue Feb 4, 2016 · 3 comments

Comments

@paltman
Copy link
Member

paltman commented Feb 4, 2016

Will also mean you need to setup an apps.py and import the receivers.py module during the ready method.

Example: https://github.com/pinax/pinax-stripe/blob/master/pinax/stripe/apps.py#L14 and https://github.com/pinax/pinax-stripe/blob/master/pinax/stripe/__init__.py#L4

@grahamu
Copy link
Contributor

grahamu commented Feb 12, 2016

@paltman Where are we moving the post_save receiver from? I don't find any post_save handler in the existing pinax-documents project.

@paltman
Copy link
Member Author

paltman commented Feb 12, 2016

@grahamu
Copy link
Contributor

grahamu commented Feb 12, 2016

Thanks! No idea why my IDE search didn't find that, but now it does. Hmmm.

grahamu added a commit to grahamu/pinax-documents that referenced this issue Feb 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants