Skip to main content

django-dynamic-forms is a reusable Django application to create and configure forms through the admin.

Project description

INSTALLATION

Add 'dynamic_forms' to the INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'dynamic_forms',
    ...
)

Add 'dynamic_forms.middlewares.FormModelMiddleware' to the MIDDLEWARE_CLASSES (probably at the end):

MIDDLEWARE_CLASSES = (
    ...
    'dynamic_forms.middlewares.FormModelMiddleware'
)

You can set DYNAMIC_FORMS_EMAIL_RECIPIENTS in your settings to a list of e-mail addresses. Forms being send via e-mail will then be send to those addresses instead of those defined in settings.ADMINS. Each recipient will see all other recipients. See send_mail in the officiall documentation.

Example

  1. Change into the example/ directory

  2. Run ./manage.py runserver

The admin is available at http://127.0.0.1:8000/admin/.

  • Username: admin

  • Password: password

You can find an example form at http://127.0.0.1:8000/example-form/.

Running the tests

  1. Change into the tests/ directory

  2. Run ./runtests.sh

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-dynamic-forms-0.1.tar.gz (40.9 kB view details)

Uploaded Source

Built Distributions

django_dynamic_forms-0.1-py33-none-any.whl (43.3 kB view details)

Uploaded Python 3.3

django_dynamic_forms-0.1-py27-none-any.whl (43.3 kB view details)

Uploaded Python 2.7

django_dynamic_forms-0.1-py26-none-any.whl (43.3 kB view details)

Uploaded Python 2.6

File details

Details for the file django-dynamic-forms-0.1.tar.gz.

File metadata

File hashes

Hashes for django-dynamic-forms-0.1.tar.gz
Algorithm Hash digest
SHA256 b09ef173eee0d315d13a3258e9ac12b923d911df9e17e58e696217ece6829d3c
MD5 b49d5fed2d8eb4728027ca1caccb54ff
BLAKE2b-256 c4103e399a7ffc282e0fb451c8a288404f6cd9640da6dd2a36f2571059622874

See more details on using hashes here.

Provenance

File details

Details for the file django_dynamic_forms-0.1-py33-none-any.whl.

File metadata

File hashes

Hashes for django_dynamic_forms-0.1-py33-none-any.whl
Algorithm Hash digest
SHA256 aa5c5ff3f52f01bfc8dff0d1a952b801d12d2b8170d5fccd8f75c26b500d0a52
MD5 986cf74c41d28d14db859032a0596550
BLAKE2b-256 e566466715e8781ddb24bba34393eba269647c9318be9f3d89822ab678b7c6c3

See more details on using hashes here.

Provenance

File details

Details for the file django_dynamic_forms-0.1-py27-none-any.whl.

File metadata

File hashes

Hashes for django_dynamic_forms-0.1-py27-none-any.whl
Algorithm Hash digest
SHA256 824fc362a8c6a535cf82638be8247ee5bd42c5bf0d3740dff6df3c1f9193f9ac
MD5 7cbecbd9a4b6886ef4438bf77e8c863b
BLAKE2b-256 9f2d8f2ef2932dc431e878e862b24b552ce248d8606025ec19e1d7ec3f631e06

See more details on using hashes here.

Provenance

File details

Details for the file django_dynamic_forms-0.1-py26-none-any.whl.

File metadata

File hashes

Hashes for django_dynamic_forms-0.1-py26-none-any.whl
Algorithm Hash digest
SHA256 488a4fb859761f065226622484db74c4e026f60b8d6713db57d319388d915931
MD5 b5edce1adb545ab7d047a163ec9fd7f1
BLAKE2b-256 46bce2a90d6b8642d9ff88d42a863eab5a904540911dfb4326e8ba35851213ef

See more details on using hashes here.

Provenance

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