{ "info": { "author": "Micah Carrick", "author_email": "micah@quixotix.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Django Contact Form\n===================\n\nA very simple contact form for a Django website. The form is emailed to one or\nmore email addresses upon submission.\n\n\nRequires\n--------\n\nDjango >= 1.4\n\n\nInstallation\n------------\n\nInstall the latest release using ``pip``::\n\n pip install quix.django.contact\n\nOr install the development version using ``git``::\n\n git clone https://github.com/Quixotix/quix.django.contact.git\n \nAdd ``quix.django.contact`` to ``INSTALLED_APPS`` in ``settings.py``.\n\n\nBasic Usage\n-----------\n\nSpecify the email addresses which will recieve the contact form message in\n``settings.py``::\n\n CONTACT_EMAILS = ('somebody@localhost', 'another@localhost')\n\nInclude ``quix.django.contact.urls`` in ``urls.py``::\n\n urlpatterns = patterns('',\n # ... \n url(r'^contact/', include('quix.django.contact.urls')),\n # ...\n )\n\nCreate the 3 templates (see examples in the next section): \n\n* ``contact/form.html`` - The contact form with ``form`` in the context.\n* ``contact/success.html`` - Page the form redirects to when successful.\n* ``contact/email.txt`` - The text template for the email.\n\nLink to the contact form in a template using the ``\"contact-form\"`` named URL \npattern::\n\n Contact\n\n\nTemplates\n---------\n\n**contact/form.html**::\n\n {% extends \"base.html\" %}\n {% block content %}\n

Contact

\n
\n {% csrf_token %}\n {{ form.non_field_errors }}\n {{ form.as_p }}\n \n
\n {% endblock %}\n\n**contact/success.html**::\n\n {% extends \"base.html\" %}\n {% block content %}\n

Your message has been sent.

\n {% endblock %}\n\n**contact/email.txt**::\n\n From: {{ name }} {{ email }}\n\n {{ message }}\n\n ---\n This message was sent via the website contact form.\n\nSettings\n--------\n\nThe following settings can be set in ``settings.py`` for the contact form. Only\n``CONTACT_EMAILS`` is required, which is a tuple or list of email addresses to\nwhich the contact form should be sent.\n\n======================== ============================================ ========\nSetting Default Required\n======================== ============================================ ========\nCONTACT_EMAILS Yes\nCONTACT_FORM_CLASS ``\"quix.django.contact.forms.ContactForm\"`` No\nCONTACT_FORM_TEMPLATE ``\"contact/form.html\"`` No\nCONTACT_SUCCESS_TEMPLATE ``\"contact/success.html\"`` No\nCONTACT_EMAIL_TEMPLATE ``\"contact/email.txt\"`` No\n======================== ============================================ ========", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Quixotix/quix.django.contact", "keywords": null, "license": "New BSD License", "maintainer": null, "maintainer_email": null, "name": "quix.django.contact", "package_url": "https://pypi.org/project/quix.django.contact/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/quix.django.contact/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/Quixotix/quix.django.contact" }, "release_url": "https://pypi.org/project/quix.django.contact/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "A simple contact form for Django websites.", "version": "0.2.1" }, "last_serial": 798413, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "830763b6598e8f41a81c0a31a4c5cd8c", "sha256": "02017d0d028a24db99cdd3f4f6417f57c6713fc9802d0354ee092a2d3c7f173d" }, "downloads": -1, "filename": "quix.django.contact-0.1.0-py2.7.egg", "has_sig": false, "md5_digest": "830763b6598e8f41a81c0a31a4c5cd8c", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 18011, "upload_time": "2012-09-21T22:28:56", "url": "https://files.pythonhosted.org/packages/11/bf/8a47bda01f8d25ae9c3519a699d6d12fe354406a4bd202478a6a65fffef9/quix.django.contact-0.1.0-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "6d889b9ef6414bb34eb233a71dd8d20e", "sha256": "16a310424d15b4579e583a3e09ec36ebfee8a43928322b40d5f261ff8d2a960a" }, "downloads": -1, "filename": "quix.django.contact-0.1.0.tar.gz", "has_sig": false, "md5_digest": "6d889b9ef6414bb34eb233a71dd8d20e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6777, "upload_time": "2012-09-21T22:29:03", "url": "https://files.pythonhosted.org/packages/01/c9/5eed8e0af1a0d7bdf7cdd90404e1d1759ec0dc1f5c5225cbc5fce0a4db0b/quix.django.contact-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "19d7bdf6ade45aba893f4504c09a531d", "sha256": "5d2891ce47a61989496454b6eb29cc7bd329c57eaeabc8df15f5ce7c35425b96" }, "downloads": -1, "filename": "quix.django.contact-0.1.1-py2.7.egg", "has_sig": false, "md5_digest": "19d7bdf6ade45aba893f4504c09a531d", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 18916, "upload_time": "2012-09-22T17:38:13", "url": "https://files.pythonhosted.org/packages/6c/d6/b9ab3c235b233142f9f1525dbf530957a3d8f185b7f8336e20c71101bdb7/quix.django.contact-0.1.1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "7a12cac9e5436fa113ce9bd7a0939a65", "sha256": "ec8b75385d3e2d0742b7ea2503b51e0a61798aef1d1382b23d2e1499444ab149" }, "downloads": -1, "filename": "quix.django.contact-0.1.1.tar.gz", "has_sig": false, "md5_digest": "7a12cac9e5436fa113ce9bd7a0939a65", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7902, "upload_time": "2012-09-22T17:38:03", "url": "https://files.pythonhosted.org/packages/97/a6/4509c415af77eecccbde30781542b699c779cb266893a0187c12dd7bc6d5/quix.django.contact-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "75021bc5754b88fa23de97b596cf97c3", "sha256": "13ebd28feaaa939a36c281215bf58fa7fa23f6bf4ed4792e3bed7ea205681e04" }, "downloads": -1, "filename": "quix.django.contact-0.2.0-py2.7.egg", "has_sig": false, "md5_digest": "75021bc5754b88fa23de97b596cf97c3", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 19316, "upload_time": "2012-10-12T15:56:04", "url": "https://files.pythonhosted.org/packages/3d/e4/8355ce19ac84a751cb01830f3f575c6c83d6b5f0b128d304c28690e6ca98/quix.django.contact-0.2.0-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "213d1c091b11706e68048dfdefc0178e", "sha256": "fe9103d1fd35b7fda47736d8ce62849e9d41151ccefa4f790e2eae2372423a52" }, "downloads": -1, "filename": "quix.django.contact-0.2.0.tar.gz", "has_sig": false, "md5_digest": "213d1c091b11706e68048dfdefc0178e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8087, "upload_time": "2012-10-12T15:53:11", "url": "https://files.pythonhosted.org/packages/7a/e6/c16aca4d43e5c7f0eabea3bddea3b90de873d8328ca8722240b0a75e6e06/quix.django.contact-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "1dfc9bb53d29ead0cc7dbd7690714106", "sha256": "df6c20598496d60f5f8668f2410ac7197465d0b46b8338fe217885fb73a2b673" }, "downloads": -1, "filename": "quix.django.contact-0.2.1.tar.gz", "has_sig": false, "md5_digest": "1dfc9bb53d29ead0cc7dbd7690714106", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8095, "upload_time": "2012-11-21T16:22:39", "url": "https://files.pythonhosted.org/packages/fd/f4/887d53372f7b8eb77344b22d9f697831db3ccfa23e2b7598f3e2e311c0fe/quix.django.contact-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1dfc9bb53d29ead0cc7dbd7690714106", "sha256": "df6c20598496d60f5f8668f2410ac7197465d0b46b8338fe217885fb73a2b673" }, "downloads": -1, "filename": "quix.django.contact-0.2.1.tar.gz", "has_sig": false, "md5_digest": "1dfc9bb53d29ead0cc7dbd7690714106", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8095, "upload_time": "2012-11-21T16:22:39", "url": "https://files.pythonhosted.org/packages/fd/f4/887d53372f7b8eb77344b22d9f697831db3ccfa23e2b7598f3e2e311c0fe/quix.django.contact-0.2.1.tar.gz" } ] }