#203 Add __str__ to models
Merged by jflory7. Opened by anasustic.
fedora-commops/ anasustic/fedora-happiness-packets stringforobject  into  master

Download 203.patch

This change adds _str__() to return a human-readable string for the Message and BlacklistedEmail models in models.py.
With this change individual entries for each both models are easily identified in the Django Admin.
The Message entry will return the the message identifier.
The BlacklistedEmail will return the email.
This change addresses the second point in #157.

Metadata Update from @jflory7:
- Pull-request tagged with: PASSED, improvement, needs testing, type - backend, type - summer coding

Metadata Update from @jflory7:
- Pull-request untagged with: needs testing
- Request assigned

Hi @anasustic, simple and straightforward. Looks good to me! I'm merging it. :clapper:

Pull-Request has been merged by jflory7

Great thanks :raised_hands: