├── .gitignore ├── .travis.yml ├── LICENSE ├── MANIFEST.in ├── Makefile ├── README.markdown ├── alert ├── __init__.py ├── admin.py ├── alerts.py ├── backends.py ├── compat.py ├── example_alerts.py ├── exceptions.py ├── forms.py ├── listeners.py ├── management │ ├── __init__.py │ └── commands │ │ ├── __init__.py │ │ └── send_alerts.py ├── managers.py ├── migrations │ ├── 0001_initial.py │ └── __init__.py ├── models.py ├── signals.py ├── south_migrations │ ├── 0001_initial.py │ └── __init__.py ├── templates │ └── alerts │ │ ├── DjangoAdminAlert │ │ ├── body.html │ │ └── title.html │ │ ├── base_email_body.html │ │ └── email_shards │ │ └── default │ │ ├── a.html │ │ ├── a.txt │ │ ├── h1.html │ │ ├── h1.txt │ │ ├── h2.html │ │ ├── h2.txt │ │ ├── p.html │ │ └── p.txt ├── templatetags │ ├── __init__.py │ └── alert_email_tags.py └── utils.py ├── setup.cfg ├── setup.py └── test_project ├── __init__.py ├── alert_tests ├── __init__.py ├── models.py ├── tests.py └── views.py ├── manage.py ├── settings.py ├── templates ├── alerts │ └── WelcomeAlert │ │ ├── EmailBackend │ │ ├── body.txt │ │ └── title.txt │ │ ├── body.txt │ │ └── title.txt ├── basic.email ├── basic.expected.html └── basic.expected.txt └── urls.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/Makefile -------------------------------------------------------------------------------- /README.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/README.markdown -------------------------------------------------------------------------------- /alert/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /alert/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/alert/admin.py -------------------------------------------------------------------------------- /alert/alerts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/alert/alerts.py -------------------------------------------------------------------------------- /alert/backends.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/alert/backends.py -------------------------------------------------------------------------------- /alert/compat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/alert/compat.py -------------------------------------------------------------------------------- /alert/example_alerts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/alert/example_alerts.py -------------------------------------------------------------------------------- /alert/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/alert/exceptions.py -------------------------------------------------------------------------------- /alert/forms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/alert/forms.py -------------------------------------------------------------------------------- /alert/listeners.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/alert/listeners.py -------------------------------------------------------------------------------- /alert/management/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /alert/management/commands/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /alert/management/commands/send_alerts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/alert/management/commands/send_alerts.py -------------------------------------------------------------------------------- /alert/managers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/alert/managers.py -------------------------------------------------------------------------------- /alert/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/alert/migrations/0001_initial.py -------------------------------------------------------------------------------- /alert/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /alert/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/alert/models.py -------------------------------------------------------------------------------- /alert/signals.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/alert/signals.py -------------------------------------------------------------------------------- /alert/south_migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/alert/south_migrations/0001_initial.py -------------------------------------------------------------------------------- /alert/south_migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /alert/templates/alerts/DjangoAdminAlert/body.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/alert/templates/alerts/DjangoAdminAlert/body.html -------------------------------------------------------------------------------- /alert/templates/alerts/DjangoAdminAlert/title.html: -------------------------------------------------------------------------------- 1 | {{ instance.title }} -------------------------------------------------------------------------------- /alert/templates/alerts/base_email_body.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/alert/templates/alerts/base_email_body.html -------------------------------------------------------------------------------- /alert/templates/alerts/email_shards/default/a.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/alert/templates/alerts/email_shards/default/a.html -------------------------------------------------------------------------------- /alert/templates/alerts/email_shards/default/a.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/alert/templates/alerts/email_shards/default/a.txt -------------------------------------------------------------------------------- /alert/templates/alerts/email_shards/default/h1.html: -------------------------------------------------------------------------------- 1 |
{{ content }}
-------------------------------------------------------------------------------- /alert/templates/alerts/email_shards/default/p.txt: -------------------------------------------------------------------------------- 1 | {{ content }} -------------------------------------------------------------------------------- /alert/templatetags/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /alert/templatetags/alert_email_tags.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/alert/templatetags/alert_email_tags.py -------------------------------------------------------------------------------- /alert/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/alert/utils.py -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- 1 | [wheel] 2 | universal = 1 -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/setup.py -------------------------------------------------------------------------------- /test_project/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test_project/alert_tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test_project/alert_tests/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/test_project/alert_tests/models.py -------------------------------------------------------------------------------- /test_project/alert_tests/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/test_project/alert_tests/tests.py -------------------------------------------------------------------------------- /test_project/alert_tests/views.py: -------------------------------------------------------------------------------- 1 | # Create your views here. 2 | -------------------------------------------------------------------------------- /test_project/manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/test_project/manage.py -------------------------------------------------------------------------------- /test_project/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/test_project/settings.py -------------------------------------------------------------------------------- /test_project/templates/alerts/WelcomeAlert/EmailBackend/body.txt: -------------------------------------------------------------------------------- 1 | email body -------------------------------------------------------------------------------- /test_project/templates/alerts/WelcomeAlert/EmailBackend/title.txt: -------------------------------------------------------------------------------- 1 | email subject -------------------------------------------------------------------------------- /test_project/templates/alerts/WelcomeAlert/body.txt: -------------------------------------------------------------------------------- 1 | default body -------------------------------------------------------------------------------- /test_project/templates/alerts/WelcomeAlert/title.txt: -------------------------------------------------------------------------------- 1 | default title -------------------------------------------------------------------------------- /test_project/templates/basic.email: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/test_project/templates/basic.email -------------------------------------------------------------------------------- /test_project/templates/basic.expected.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/test_project/templates/basic.expected.html -------------------------------------------------------------------------------- /test_project/templates/basic.expected.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/test_project/templates/basic.expected.txt -------------------------------------------------------------------------------- /test_project/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaaro/django-alert/HEAD/test_project/urls.py --------------------------------------------------------------------------------