├── .github ├── CODEOWNERS ├── PULL_REQUEST_TEMPLATE.md ├── release-drafter.yml └── workflows │ ├── ci.yml │ ├── publish.yml │ └── release-drafter.yml ├── .gitignore ├── .pre-commit-config.yaml ├── .travis.yml ├── AUTHORS ├── CHANGELOG ├── INSTALL ├── LICENSE ├── MANIFEST.in ├── Makefile ├── README.rst ├── VERSION ├── demo ├── __init__.py ├── demo_app │ ├── __init__.py │ ├── mails.py │ ├── static │ │ └── admin │ │ │ └── img │ │ │ └── nav-bg.gif │ ├── templates │ │ ├── 404.html │ │ └── mails │ │ │ ├── base.html │ │ │ ├── custom_form │ │ │ ├── body.html │ │ │ ├── body.txt │ │ │ ├── fr │ │ │ │ ├── body.html │ │ │ │ ├── body.txt │ │ │ │ └── subject.txt │ │ │ └── subject.txt │ │ │ └── no_custom │ │ │ ├── body.txt │ │ │ ├── fr │ │ │ ├── body.txt │ │ │ └── subject.txt │ │ │ └── subject.txt │ ├── tests.py │ └── views.py ├── manage.py ├── settings.py ├── urls.py └── wsgi.py ├── docs ├── Makefile ├── build │ └── .gitkeep └── source │ ├── api.rst │ ├── conf.py │ ├── django.rst │ ├── index.rst │ ├── interface.rst │ └── template.rst ├── mail_factory ├── __init__.py ├── app_no_autodiscover.py ├── apps.py ├── contrib │ ├── __init__.py │ └── auth │ │ ├── __init__.py │ │ ├── forms.py │ │ ├── mails.py │ │ └── views.py ├── exceptions.py ├── factory.py ├── forms.py ├── mails.py ├── messages.py ├── models.py ├── templates │ ├── mail_factory │ │ ├── base.html │ │ ├── form.html │ │ ├── html_not_found.html │ │ ├── list.html │ │ └── preview_message.html │ └── mails │ │ ├── password_reset │ │ ├── body.txt │ │ └── subject.txt │ │ ├── test │ │ ├── body.html │ │ ├── body.txt │ │ ├── fr │ │ │ ├── body.html │ │ │ └── body.txt │ │ └── subject.txt │ │ ├── test_no_html │ │ ├── body.txt │ │ ├── fr │ │ │ └── body.txt │ │ └── subject.txt │ │ ├── test_no_html_no_txt │ │ └── subject.txt │ │ └── test_no_txt │ │ ├── body.html │ │ ├── fr │ │ └── body.html │ │ └── subject.txt ├── tests │ ├── __init__.py │ ├── test_contrib.py │ ├── test_factory.py │ ├── test_forms.py │ ├── test_mails.py │ ├── test_messages.py │ └── test_views.py ├── urls.py └── views.py ├── pyproject.toml ├── requirements.txt ├── setup.cfg ├── setup.py └── tox.ini /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @peopledoc/python-community 2 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/release-drafter.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/.github/release-drafter.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.github/workflows/release-drafter.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/.github/workflows/release-drafter.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/.travis.yml -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/AUTHORS -------------------------------------------------------------------------------- /CHANGELOG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/CHANGELOG -------------------------------------------------------------------------------- /INSTALL: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/INSTALL -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/Makefile -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/README.rst -------------------------------------------------------------------------------- /VERSION: -------------------------------------------------------------------------------- 1 | 0.25.dev0 2 | -------------------------------------------------------------------------------- /demo/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /demo/demo_app/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /demo/demo_app/mails.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/demo/demo_app/mails.py -------------------------------------------------------------------------------- /demo/demo_app/static/admin/img/nav-bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/demo/demo_app/static/admin/img/nav-bg.gif -------------------------------------------------------------------------------- /demo/demo_app/templates/404.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /demo/demo_app/templates/mails/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/demo/demo_app/templates/mails/base.html -------------------------------------------------------------------------------- /demo/demo_app/templates/mails/custom_form/body.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/demo/demo_app/templates/mails/custom_form/body.html -------------------------------------------------------------------------------- /demo/demo_app/templates/mails/custom_form/body.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/demo/demo_app/templates/mails/custom_form/body.txt -------------------------------------------------------------------------------- /demo/demo_app/templates/mails/custom_form/fr/body.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/demo/demo_app/templates/mails/custom_form/fr/body.html -------------------------------------------------------------------------------- /demo/demo_app/templates/mails/custom_form/fr/body.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/demo/demo_app/templates/mails/custom_form/fr/body.txt -------------------------------------------------------------------------------- /demo/demo_app/templates/mails/custom_form/fr/subject.txt: -------------------------------------------------------------------------------- 1 | Titre en français : {{ title }} 2 | -------------------------------------------------------------------------------- /demo/demo_app/templates/mails/custom_form/subject.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/demo/demo_app/templates/mails/custom_form/subject.txt -------------------------------------------------------------------------------- /demo/demo_app/templates/mails/no_custom/body.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/demo/demo_app/templates/mails/no_custom/body.txt -------------------------------------------------------------------------------- /demo/demo_app/templates/mails/no_custom/fr/body.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/demo/demo_app/templates/mails/no_custom/fr/body.txt -------------------------------------------------------------------------------- /demo/demo_app/templates/mails/no_custom/fr/subject.txt: -------------------------------------------------------------------------------- 1 | Titre en français : {{ title }} 2 | -------------------------------------------------------------------------------- /demo/demo_app/templates/mails/no_custom/subject.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/demo/demo_app/templates/mails/no_custom/subject.txt -------------------------------------------------------------------------------- /demo/demo_app/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/demo/demo_app/tests.py -------------------------------------------------------------------------------- /demo/demo_app/views.py: -------------------------------------------------------------------------------- 1 | # Create your views here. 2 | -------------------------------------------------------------------------------- /demo/manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/demo/manage.py -------------------------------------------------------------------------------- /demo/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/demo/settings.py -------------------------------------------------------------------------------- /demo/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/demo/urls.py -------------------------------------------------------------------------------- /demo/wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/demo/wsgi.py -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/build/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/source/api.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/docs/source/api.rst -------------------------------------------------------------------------------- /docs/source/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/docs/source/conf.py -------------------------------------------------------------------------------- /docs/source/django.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/docs/source/django.rst -------------------------------------------------------------------------------- /docs/source/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/docs/source/index.rst -------------------------------------------------------------------------------- /docs/source/interface.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/docs/source/interface.rst -------------------------------------------------------------------------------- /docs/source/template.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/docs/source/template.rst -------------------------------------------------------------------------------- /mail_factory/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/mail_factory/__init__.py -------------------------------------------------------------------------------- /mail_factory/app_no_autodiscover.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/mail_factory/app_no_autodiscover.py -------------------------------------------------------------------------------- /mail_factory/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/mail_factory/apps.py -------------------------------------------------------------------------------- /mail_factory/contrib/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mail_factory/contrib/auth/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mail_factory/contrib/auth/forms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/mail_factory/contrib/auth/forms.py -------------------------------------------------------------------------------- /mail_factory/contrib/auth/mails.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/mail_factory/contrib/auth/mails.py -------------------------------------------------------------------------------- /mail_factory/contrib/auth/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/mail_factory/contrib/auth/views.py -------------------------------------------------------------------------------- /mail_factory/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/mail_factory/exceptions.py -------------------------------------------------------------------------------- /mail_factory/factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/mail_factory/factory.py -------------------------------------------------------------------------------- /mail_factory/forms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/mail_factory/forms.py -------------------------------------------------------------------------------- /mail_factory/mails.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/mail_factory/mails.py -------------------------------------------------------------------------------- /mail_factory/messages.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/mail_factory/messages.py -------------------------------------------------------------------------------- /mail_factory/models.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mail_factory/templates/mail_factory/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/mail_factory/templates/mail_factory/base.html -------------------------------------------------------------------------------- /mail_factory/templates/mail_factory/form.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/mail_factory/templates/mail_factory/form.html -------------------------------------------------------------------------------- /mail_factory/templates/mail_factory/html_not_found.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/mail_factory/templates/mail_factory/html_not_found.html -------------------------------------------------------------------------------- /mail_factory/templates/mail_factory/list.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/mail_factory/templates/mail_factory/list.html -------------------------------------------------------------------------------- /mail_factory/templates/mail_factory/preview_message.html: -------------------------------------------------------------------------------- 1 | {{ message.html|safe }} 2 | -------------------------------------------------------------------------------- /mail_factory/templates/mails/password_reset/body.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/mail_factory/templates/mails/password_reset/body.txt -------------------------------------------------------------------------------- /mail_factory/templates/mails/password_reset/subject.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/mail_factory/templates/mails/password_reset/subject.txt -------------------------------------------------------------------------------- /mail_factory/templates/mails/test/body.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/mail_factory/templates/mails/test/body.html -------------------------------------------------------------------------------- /mail_factory/templates/mails/test/body.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peopledoc/django-mail-factory/HEAD/mail_factory/templates/mails/test/body.txt -------------------------------------------------------------------------------- /mail_factory/templates/mails/test/fr/body.html: -------------------------------------------------------------------------------- 1 |