{ "info": { "author": "Guillaume Luchet", "author_email": "", "bugtrack_url": null, "classifiers": [], "description": "Django ContactForm Application\n==============================\n\n|Build status| |Documentation Status|\n\nDisplay a basic contact form.\n\nDemo\n----\n\nA demo is available `here`_\n\nInstallation\n------------\n\nFrom PyPI\n\n.. code-block:: text\n\n pip install django-contactform\n\nFrom Source:\n\n.. code-block:: text\n\n python setup.py install\n\nConfiguration\n-------------\n\nsettings.py\n~~~~~~~~~~~\n\nEdit your settings.py file and add ``geelweb.django.contactform`` to the\n``INSTALLED_APPS``\n\nSettings properties\n\n*CONTACTFORM\\_RECIPIENTS*: list of email address the messages will be\nsent.\n\n.. code-block:: python\n\n CONTACTFORM_RECIPIENTS = [\n 'yourname@example.com',\n 'anotherperson@example.com'\n ]\n\n*CONTACTFORM\\_SUBJECT\\_PREFIX*: A prefix to add to the email subject\n\n.. code-block:: python\n\n CONTACTFORM_SUBJECT_PREFIX = 'mail from contactform'\n\nurls.py\n~~~~~~~\n\nEdit your urls.py and add the following line\n\n.. code-block:: python\n\n url(r'^contact/$', 'geelweb.django.contactform.views.contact', name='contact'),\n\ntemplates\n~~~~~~~~~\n\nCreate a contactform/contact.html template\n\n.. code-block:: html\n\n
\n {% csrf_token %}\n {{ form.as_p }}\n \n
\n\nThen a contactform/thanks.html template\n\n.. code-block:: html\n\n

Thanks for your message

\n
Your message has been sent, we'll try to answer you as quickly as possible.
\n\ndjango.core.mail\n~~~~~~~~~~~~~~~~\n\nFinaly check you configured django.core.mail\nhttps://docs.djangoproject.com/en/dev/topics/email/\n\nTesting\n-------\n\nRun unit-tests\n\n.. code-block:: text\n\n python tests/runtests.py\n\n.. _here: http://django.sandbox.geelweb.org/contact\n\n.. |Build status| image:: https://travis-ci.org/geelweb/geelweb-django-contactform.svg?branch=master\n.. |Documentation Status| image:: https://readthedocs.org/projects/django-contactform/badge/?version=latest\n :target: https://readthedocs.org/projects/django-contactform/?badge=latest", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/geelweb/geelweb-django-contactform/tarball/1.0", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/geelweb/geelweb-django-contactform", "keywords": "django,contact,form", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "django-contactform", "package_url": "https://pypi.org/project/django-contactform/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-contactform/", "project_urls": { "Download": "https://github.com/geelweb/geelweb-django-contactform/tarball/1.0", "Homepage": "https://github.com/geelweb/geelweb-django-contactform" }, "release_url": "https://pypi.org/project/django-contactform/1.0/", "requires_dist": null, "requires_python": null, "summary": "Django Contact Form Application", "version": "1.0" }, "last_serial": 1785606, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "f98ea826a2570fe3572cb1f86c007054", "sha256": "9a64aa49cb0398543afc0fc2d3808cb87eeb9f50a67b06df67da61453655048a" }, "downloads": -1, "filename": "django-contactform-0.1.tar.gz", "has_sig": false, "md5_digest": "f98ea826a2570fe3572cb1f86c007054", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3835, "upload_time": "2013-10-29T12:25:37", "url": "https://files.pythonhosted.org/packages/6c/2c/8ca2350f724bf7516dd7c9824ac8f5fdc6dd1ea1a9b13e51e4a8219d9bcc/django-contactform-0.1.tar.gz" } ], "0.2": [], "0.2.1": [ { "comment_text": "", "digests": { "md5": "32f138494cc4246a980f1d8d9edeecfe", "sha256": "0c9a76f4a5c16536c00b33713d6d0503e4f488023af3ea061c6896af97838088" }, "downloads": -1, "filename": "django-contactform-0.2.1.tar.gz", "has_sig": false, "md5_digest": "32f138494cc4246a980f1d8d9edeecfe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3939, "upload_time": "2015-04-02T20:44:16", "url": "https://files.pythonhosted.org/packages/0d/87/f72119cd0d8048ae195c73527d7e563c7a50b529c88a63f50275538c1f98/django-contactform-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "7c039569d1de51a7e823c000dd1b869f", "sha256": "4ccbc6d9982cbacb2c2d955b4c901d0c4bb6f708941b63f42eb107af73c175d8" }, "downloads": -1, "filename": "django-contactform-0.2.2.tar.gz", "has_sig": false, "md5_digest": "7c039569d1de51a7e823c000dd1b869f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4208, "upload_time": "2015-06-26T20:15:09", "url": "https://files.pythonhosted.org/packages/84/d8/a2edf724eac9f628ce482395df7ead0c6d386055bccaf11cf08645fd713c/django-contactform-0.2.2.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "888887d57630a96312bc2fee670facae", "sha256": "9016c2692db0b63aa530714a3569f9eb29e938c2962e5bc6a38ddf7e29dd0353" }, "downloads": -1, "filename": "django-contactform-1.0.tar.gz", "has_sig": false, "md5_digest": "888887d57630a96312bc2fee670facae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4834, "upload_time": "2015-10-25T21:47:31", "url": "https://files.pythonhosted.org/packages/25/25/bf356ed7f8bf0d4f0a10fa4c4b38969346601b1b3e88716bf038cd0e7aca/django-contactform-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "888887d57630a96312bc2fee670facae", "sha256": "9016c2692db0b63aa530714a3569f9eb29e938c2962e5bc6a38ddf7e29dd0353" }, "downloads": -1, "filename": "django-contactform-1.0.tar.gz", "has_sig": false, "md5_digest": "888887d57630a96312bc2fee670facae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4834, "upload_time": "2015-10-25T21:47:31", "url": "https://files.pythonhosted.org/packages/25/25/bf356ed7f8bf0d4f0a10fa4c4b38969346601b1b3e88716bf038cd0e7aca/django-contactform-1.0.tar.gz" } ] }