pinax-notifications
pinax-notifications copied to clipboard
make medium use a label as identifier
fixes #21 this commit uses the backends label from NOTIFICATION_BACKENDS setting for easier to rearrange backends
for upgrades, you may have to write a custom alter statement to turn integers into varchars and then change the labels in your NOTIFICATION_BACKENDS to the string equivalent of the order
Coverage remained the same when pulling b832c3fa92ce05db15d05e82b43e75abc0bf9b19 on sherzberg:medium_id-is-label into 6782099acf104803185172b046a2ae1ad4e4c3cd on pinax:master.
@sherzberg I actually like this change. Sorry for not merging it sooner.
@sherzberg i'll try to update it and get it merged but if you could do me a favor and rebase your branch to get it updated so that I can merge it through GitHub it might make things faster. Thanks.
@paltman cool! i rebased and had to fix a few conflicts. tests seem to pass locally on python 2.7 and django 1.7-1.8. I dont have python 3 setup on my home machine, so just waiting to see if the the travis build works out ok.
@paltman Can this be merged?
@sherzberg i tested this PR with python3 and it works.. hope it gets merged sometime
@paltman @ossanna16 can this be merged?