Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Django app for dynamic forms or surveys that can be injected in sites

Project description

DForm is a survey creation and management tool for Django. Features include:

  • admin based editor
  • Bootstrap 3 forms
  • version control on survey questions

Installation

Add ‘dform’ to your settings.INSTALLED_APPS field.

The URLs for DForm are split into two files, the first is for the admin pieces, the second for form submission. By default the form submission pieces have no security or control on them and the correct usage of URLs will result in creating and/or editing of any survey. To fine tune what can be accessed you can either use the permissions hook, or not include the submission URLs and wrap the given views in your own. To use the default, include both URL sets in your urls.py file:

urlpatterns += (
    url(r'dform/', include('dform.urls')),
    url(r'dform_admin/', include('dform.admin_urls')),
)

See the documentation for more information on using the permission hook or what views to wrap.

Run:

$ manage.py makemigrations
$ manage.py migrate

Demo Installation

A full django project is included in the repository that is used for testing and can give you a quick idea what DForm is about. The project is available in extras/sample_site

$ cd django-dform
$ pip install -r requirements.txt
$ cd extras/sample_site
$ pip install -r requirements.txt
$ ./resetdb.sh
$ ./runserver.sh

Project details


Download files

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

Files for django-dform, version 0.9.5
Filename, size File type Python version Upload date Hashes
Filename, size django_dform-0.9.5-py3-none-any.whl (40.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size django-dform-0.9.5.tar.gz (30.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page