Skip to main content

A Django Base contact form with bootstrap 3 and map.

Project description

Build status Test coverage status Requirements Status Bitdeli Badge

Requirements

  • Python 2.7 and 3.3, 3.4

  • Django 1.4.11+, 1.7+, 1.8+ and master

Features

  • Functionality as a django contact form:

    - easy integration into an existing django project
    - Bootstrap 3
    - integrate geographical map
    - log (not yet finish)
    - tests and coverage
    - link to your : FACEBOOK, LINKEDIN, TWITTER, GOOGLE+

Todo

  • finish english translation and add other translations

  • improve log

  • manage display a link only if it exist

  • correct broken links in this file

Screenshot

Contact form Screenshot

Download

  • source code here:

    git clone https://github.com/alainivars/django-contact-form.git
  • packet:

    https://pypi.python.org/pypi/django_contactform_bootstrap
  • or:

    pip install django_contactform_bootstrap

Use

  • Add in your settings file:

    ADMINS = (
        ('your admin name', 'contact@yourdomain.com'),
    )
    
    COMPANY = {
        'NAME': "my company",
        'ADDRESS': "26 streets from here th there",
        'ZIP': "1234",
        'CITY': "Maybe-there",
        'LAT': 48.81484460000001,
        'LNG': 2.0523723999999675,
        'PHONE': "+336 1234 5678",
        'EMAIL': 'contact@yourdomain.com',
        'FACEBOOK': "Maybe-there",
        'LINKEDIN': "Maybe-there",
        'TWITTER': "Maybe-there",
        'GOOGLEPLUS': "+Maybe-there",
    }
    
    CRISPY_TEMPLATE_PACK = 'bootstrap3'
  • 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:
PyPi version PyPi wheel Documentation status

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_contactform_bootstrap-0.5.10.tar.gz (11.1 kB view hashes)

Uploaded Source

Built Distribution

django_contactform_bootstrap-0.5.10-py2.py3-none-any.whl (16.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page