• Stars
    star
    156
  • Rank 239,589 (Top 5 %)
  • Language
    Python
  • License
    BSD 3-Clause "New...
  • Created about 11 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

Django Dynamic Form

No Maintenance Intended

django-dynamic-forms lets you create your forms through the Django admin. You can add and remove form fields as you need them. That makes it perfect for creating survey or application forms.

Documentation: https://django-dynamic-forms.readthedocs.org/

INSTALLATION

Add 'dynamic_forms.apps.DynamicFormsConfig' to the INSTALLED_APPS:

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

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

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

Add 'dynamic_forms.urls' to the URL patterns:

urlpatterns = patterns('',
    ...
    url(r'^dynamic_forms/',
        include('dynamic_forms.urls', namespace='dynamic_forms')),
    ...
)

Important

Make sure that you get the namespace straight: dynamic_forms!

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. Apply all migrations: python manage.py migrate
  3. Create a superuser (if not asked before): python manage.py createsuperuser
  4. Run python manage.py runserver

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

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

Running the tests

  1. Make sure to install tox: $ pip install tox
  2. Run tox

More Repositories

1

django-migrations-formatter

Python
31
star
2

django-osm-field

Python
29
star
3

bvg-grabber

Querying the upcoming public transport departures in Berlin
Python
28
star
4

pxchat

pxchat is a chatting software for conferencing chats and real-time collaborative drawing
Java
24
star
5

django-login-canary

django-login-canary is a reusable Django application to notify users upon successful and failed logins
Python
14
star
6

pyChallenge

pyChallenge is a Python application to calculate the result of a game in the future
Python
7
star
7

ipv6-broker

Shell
7
star
8

datasette-chartjs

JavaScript
7
star
9

dominator

"dominator" is a 3D domino simulation and game
C++
6
star
10

migration-recipes

Python
6
star
11

django-vault

Python
5
star
12

django-sshlogin

Python
4
star
13

flask-pancake

Feature Flagging for Flask
Python
4
star
14

talk-django-elasticsearch

Combining Django and Elasticsearch
Python
4
star
15

django-migrations-benchmark

A larger project of random models and migrations to benchmark Django's internal migrations framework
Python
3
star
16

django-steps

Python
3
star
17

aur

My aur packages
Shell
3
star
18

CloudRAID

Java
3
star
19

scraty

A Scrum board
HTML
3
star
20

gitbackhub

Python
2
star
21

blog

This is the code running my blog
Python
2
star
22

DHBW-Login

Shell
2
star
23

talk-orm

Python
2
star
24

covid19-berlin

Re-published data from the LAGeSo Berlin
Shell
2
star
25

django-jellyglass

Python
2
star
26

MiGBase64

Forked from http://sourceforge.net/projects/migbase64/ on version 2.2
Java
2
star
27

open-pdf-presenter

Export and updated from https://code.google.com/archive/p/open-pdf-presenter/
C++
1
star
28

django-signing-rust

A Rust implementation of Django's signing module
Rust
1
star
29

statuspagers

Rust
1
star
30

berlin-school-data

CSS
1
star
31

django-vault-client

Python
1
star