-
Notifications
You must be signed in to change notification settings - Fork 226
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
Store SES sending statistics in model #28
Conversation
…e.py get_ses_statistics".
|
||
Additionally, you can install ``pytz`` to localize the Amazon timestamp | ||
(assumed UTC) to your locale. This will also make the date more readable, | ||
using Django's default formatting. | ||
|
||
Django Management Command | ||
========================= | ||
If you need to keep sending statistics around for longer than two weeks, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haha I'd change this to "keep send statistics", it's easy to misread as "keep sending" (happened to me :D)
@pcraciunoiu done :) |
@@ -1 +1,3 @@ | |||
from backend import SESBackendTest | |||
from test_commands import SESCommandTest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With these here, the tests actually run twice for me. I think I prefer requiring nose and using the default test loader to having these imports here. I'll add docs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't it better to just remove the "test_" prefixes so we don't have
to require nose? The imports is only a few lines and for me, the less
outside dependencies the better.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, let's do that then. Would you rename test_stats too?
…run twice by nose. Minor tweaks to command test.
Done! Let me know if there's anything else. |
Store SES sending statistics in model.
Hi, this is an updated version of #26 which I rebased to your master branch.