Django Contact Us Form Package
Project description
Django Contact Forms
.. image:: https://img.shields.io/badge/license-MIT-blue.svg?maxAge=2592000 :target: https://raw.githubusercontent.com/sajib1066/django-contactforms/master/LICENSE
.. image:: https://img.shields.io/pypi/pyversions/Django.svg?maxAge=2592000 :target: https://github.com/sajib1066/django-contactforms
Install
Django Contact Us is available directly from PyPI
_:
::
$ pip install django-contactforms
*). And don't forget to add contactus
to your INSTALLED_APPS
.
Requirement
- ``Django>=3.0.5`
Database Migration
::
$ ./manage.py makemigrations contactus
$ ./manage.py migrate contactus
URL configuration
The easiest way to set up the views in django-contacts-us
is to just use the provided URLconf
, found at contactus.urls
.
You can include it wherever you like in your site's URL configuration; for example, to have it live at the URL /contact/
:
::
from django.urls import path, include
urlpatterns = [
# ....
path('contact/', include('contactus.urls')),
]
Usage
Include the template from contact/contact.html
to your sidebar for example.
::
{% include "contact/contact.html" %}
License
MIT
_
.. _PyPI: https://pypi.python.org/pypi/django-contactforms .. _MIT: https://github.com/sajib1066/django-contactforms/blob/master/LICENSE
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for django_contactforms-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d362c4ab7a5687870f1c4acbf3232de51b8427e6857c2b397b8c5bf8b594e4cd |
|
MD5 | 11168a2cb416a86ab47514afc04e50a3 |
|
BLAKE2b-256 | a5b1f16f11c0808aea01f23240d527a98a8d94ee71594c4a4df68e8ed44a82c2 |