{ "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