A Django Base contact form with bootstrap 3 and map.
Project description
Releases Notes
1.0rc1: Add support and tests on Django 2.1.1, 2.2.19, 3.1.7 and update dependencies
0.6.2: finish english and french translation
0.6.1: fix import reCapcha support
0.6.0: add reCapcha support, fix links to your : FACEBOOK, LINKEDIN, TWITTER, GOOGLE+
0.5.11: fix a bug with import main settings
0.5.0: Add support and tests on Django 1.9 and update dependencies
Requirements
Python 3.8, 3.9
Django 2.1.1+, 2.2.19+, 3.1.7+ and djangomaster
Features
Functionality as a django contact form:
- easy integration into an existing django project - Bootstrap 5 - integrate geographical map - log (not yet finish) - tests and coverage - links to your : FACEBOOK, LINKEDIN, TWITTER, GOOGLE+
Todo
finish Portuguese, Russian and Spanish translation and add other translations
manage display a link only if it exist
correct broken status links in this file
Screenshot
Download
source code here:
git clone https://github.com/alainivars/django-contact-form.gitpacket:
https://pypi.python.org/pypi/django_contactform_bootstrapor:
pip install django_contactform_bootstrap
Use
Add in your settings file:
INSTALLED_APPS = ( ... 'contact_form_bootstrap', ... ) ADMINS = ( ('your admin name', 'contact@yourdomain.com'), ) COMPANY = { 'NAME': "my company", 'ADDRESS': "26 streets from here th there", 'ZIP': "1234", 'CITY': "Paris", 'LAT': 48.81484460000001, 'LNG': 2.0523723999999675, 'PHONE': "+336 1234 5678", 'EMAIL': 'contact@yourdomain.com', 'FACEBOOK': "https://www.facebook.com/highfeature", 'LINKEDIN': "http://www.linkedin.com/in/ivarsalain", 'TWITTER': "https://twitter.com/HighFeature", 'GOOGLEPLUS': "https://twitter.com/HighFeature", } CRISPY_TEMPLATE_PACK = 'bootstrap3' USE_RECAPTCHA = False or True and if you use it : (https://www.google.com/recaptcha) RECAPTCHA_PUBLIC_KEY = 'your reCapcha public key' RECAPTCHA_PRIVATE_KEY = 'your reCapcha private key'Don’t forget to set:
EMAIL_HOST, EMAIL_PORT, EMAIL_HOST_USER and EMAIL_HOST_PASSWORD
Documentation
Getting Help
Please report bugs or ask questions using the Issue Tracker
Check also for the latest updates of this project on Github.
Credits
- Based on James Bennett’s django_contact_form:
- Based on Aaron Madison django_contact_form:
- By Alain Ivars django_contactform_bootstrap:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for django_contactform_bootstrap-1.0rc1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e907ad52913d988975bb1da821972d10c75ac657b6870dd3dab05ac4a9f0106e |
|
MD5 | 97f6fa0856a9c495472d55fb7d679f34 |
|
BLAKE2b-256 | 439c3b3dd8e43de03e2b12e07643bbfd2bf9f5f165a3a6f255874ee3863d8c1c |
Hashes for django_contactform_bootstrap-1.0rc1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5ce639ef9441b7d937e0ae107d4d684c87d74d563b8d213d4f907affe3e95b4 |
|
MD5 | c7a37b97aece9e9d53d6dca0e36263b0 |
|
BLAKE2b-256 | 778895458bc948067c6ab2fca7c7b42e95e2532de0e0da6533e50cf3e01f0702 |