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

Allow for Signal.signal choices to be configured #102

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kaleb
Copy link
Contributor

@kaleb kaleb commented Jan 17, 2018

This adds a DB_MAILER_SIGNAL_CHOICES setting. It also changes signal
values from expecting to be a name for a member in the module
django.db.models.signals and now expects a full path to a signal.
This allows user to specify other signals that they may choose to
define. The migrations will rename all records in the database that
uses the previous naming convention.

Before to submit your pull-request:

  • Be sure that the unit tests pass
  • If you create a new feature, test your code, do not introduce new bugs
  • Avoid code duplication
  • Small pull-requests are easier to review and can be merged quickly
  • 1 pull-request == 1 feature/improvement

This adds a DB_MAILER_SIGNAL_CHOICES setting.  It also changes signal
values from expecting to be a name for a member in the module
`django.db.models.signals` and now expects a full path to a signal.
This allows user to specify other signals that they may choose to
define.  The migrations will rename all records in the database that
uses the previous naming convention.
@kaleb
Copy link
Contributor Author

kaleb commented Jan 17, 2018

It looks like travis passed 11 out of 12 of the tests. Failed on the python3.5 with DJANGO=1.9.12 build when trying to pip install requests.

@ruscoder
Copy link
Collaborator

ruscoder commented Sep 5, 2018

Hello @kaleb! What problems do this PR resolves? Why do you need it?

@kaleb
Copy link
Contributor Author

kaleb commented Sep 5, 2018 via email

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