{ "info": { "author": "S\u00c3\u00a6var \u00c3\u0096fj\u00c3\u00b6r\u00c3\u00b0 Magn\u00c3\u00basson", "author_email": "saevar@saevar.is", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "This small module is inspired by my need for sending templated emails, with the \n option of attaching an HTML formatted alternative.\n \n Installation\n =============\n \n Installing::\n \n pip install django-email-templates\n \n Example usage\n ==============\n \n The following example demonstrates how to send a templated email, in this case\n the user has submitted a contact form. The module will look for the templates \n contact.txt and contact.html which will serve as the plaintext and html alternative\n of the email. The default location of the templates is a directory named *email_templates*.::\n \n from email_templates import send_templated_mail\n \n context = {\n 'name': request.POST['name'],\n 'email': request.POST['email'],\n 'telephone': request.POST['phone'],\n 'message': request.POST['message'],\n }\n \n success = send_templated_mail(\n 'Contact form submission',\n None, \n [a[1] for a in settings.ADMINS],\n 'contact',\n context\n )", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/saevarom/django-email-templates", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "django-email-templates", "package_url": "https://pypi.org/project/django-email-templates/", "platform": "any", "project_url": "https://pypi.org/project/django-email-templates/", "project_urls": { "Homepage": "http://github.com/saevarom/django-email-templates" }, "release_url": "https://pypi.org/project/django-email-templates/0.1/", "requires_dist": null, "requires_python": null, "summary": "Convenient helper to send multipart/alternative or regular email based on templates.", "version": "0.1" }, "last_serial": 789554, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "de43c766527a6b2e5aabfd446eb900c8", "sha256": "6c5e7ba9c72b0b2d9d831a97993b4c810a67bf6ba85a6bd907c92309c2280e41" }, "downloads": -1, "filename": "django_email_templates-0.1-py2.6.egg", "has_sig": false, "md5_digest": "de43c766527a6b2e5aabfd446eb900c8", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 4027, "upload_time": "2011-03-20T13:58:42", "url": "https://files.pythonhosted.org/packages/13/6a/fa697d66f7894eeb709505cc73d4b28d048ba96df1f333e706941f9fa2a0/django_email_templates-0.1-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "12c82ceb4580cac5675c8a7883f87e09", "sha256": "5d9128c33f87bfb2a3afb95c50f06df1e48fd7512827b12fb6f1b28de01bb271" }, "downloads": -1, "filename": "django-email-templates-0.1.tar.gz", "has_sig": false, "md5_digest": "12c82ceb4580cac5675c8a7883f87e09", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3372, "upload_time": "2011-03-20T14:53:15", "url": "https://files.pythonhosted.org/packages/b8/a8/64e02af34e2ba6425b2c5bf13b2d92d7bfe3f4d3855fdee419b070aec4cf/django-email-templates-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "de43c766527a6b2e5aabfd446eb900c8", "sha256": "6c5e7ba9c72b0b2d9d831a97993b4c810a67bf6ba85a6bd907c92309c2280e41" }, "downloads": -1, "filename": "django_email_templates-0.1-py2.6.egg", "has_sig": false, "md5_digest": "de43c766527a6b2e5aabfd446eb900c8", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 4027, "upload_time": "2011-03-20T13:58:42", "url": "https://files.pythonhosted.org/packages/13/6a/fa697d66f7894eeb709505cc73d4b28d048ba96df1f333e706941f9fa2a0/django_email_templates-0.1-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "12c82ceb4580cac5675c8a7883f87e09", "sha256": "5d9128c33f87bfb2a3afb95c50f06df1e48fd7512827b12fb6f1b28de01bb271" }, "downloads": -1, "filename": "django-email-templates-0.1.tar.gz", "has_sig": false, "md5_digest": "12c82ceb4580cac5675c8a7883f87e09", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3372, "upload_time": "2011-03-20T14:53:15", "url": "https://files.pythonhosted.org/packages/b8/a8/64e02af34e2ba6425b2c5bf13b2d92d7bfe3f4d3855fdee419b070aec4cf/django-email-templates-0.1.tar.gz" } ] }