Skip to content
This repository has been archived by the owner on Jul 7, 2022. It is now read-only.

Allows entering an email (str) directly instead of having to send to Contact objects #18

Merged
merged 1 commit into from
Dec 7, 2014

Conversation

mathiasose
Copy link
Contributor

In my Django application I want to send pushes to the admins, specifically to their email addresses as registered in the database.

This pull request allows for entering email strings directly just like devices or contacts.
I also refactored a little to make the device/email bit more DRY.

Also in new_contact there was a reference to a nonexistent variable "nickname", so I replaced that with "name" which I assume is what was intended.

…Contact objects.

Fix error in new_contact: nickname -> name.
@derelk
Copy link

derelk commented Nov 10, 2014

+1
This is a nice improvement, and also fixes a significant bug (new_contact() is broken). I'd love to see it merged.

rbrcsk pushed a commit that referenced this pull request Dec 7, 2014
Allows entering an email (str) directly instead of having to send to Contact objects
@rbrcsk rbrcsk merged commit 1c4ce4c into richard-better:master Dec 7, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants