Skip to main content

django-dform

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

Docs

Docs available at: http://django-dform.readthedocs.io/en/latest/

Metadata

Release files for django-dform 0.9.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-dform 0.9.5
File Size Uploaded Provenance Actions
django-dform-0.9.5.tar.gz 30.7 kB Without provenance Details for django-dform-0.9.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-dform 0.9.5
File Interpreter ABI Platform Actions
django_dform-0.9.5-py3-none-any.whl Python 3 none any Details for django_dform-0.9.5-py3-none-any.whl

Total release size: 70.7 kB

Release files / django-dform-0.9.5.tar.gz

Download URL django-dform-0.9.5.tar.gz
Size 30.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1af5a817e36d4551a49dd7c9c1aaba760db5cdd6bf450dbdd5356800a5348ec0
BLAKE2b-256 checksum
How to use checksums
4b21b5069b59c8f78c73b71eb159d8e71d9f6d821791d7aaa75a7bcb930d4827
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_dform-0.9.5-py3-none-any.whl

Download URL django_dform-0.9.5-py3-none-any.whl
Size 40.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
49db5ecf7cc39cbbad55f727bf481620fe4d18f72205cb1f3fa960266fae8ccc
BLAKE2b-256 checksum
How to use checksums
243d798f57a572f5933caa8a2f43a505986d3f9324f69cc01f2077cafa6e9dbf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-dform 0.9.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page