Customforms is a simple Django forms app. Questions and possible answer choices are stored in the database, making it easy to create new forms quickly.
-
Create a virtualenv for this app::
virtualenv demoenv source demoenv/bin/activate -
Install customforms:
pip install https://github.com/cschwede/django-customforms/zipball/master -
Create a new Django project::
django-admin startproject demo cd demo -
Add "customforms" to your INSTALLED_APPS setting in demo/settings.py like this::
INSTALLED_APPS = ( ..., 'customforms', ) -
Include the customforms URLconf in demo/urls.py like this::
url(r'^customforms/', include('customforms.urls')), -
Create the required DB tables::
python manage.py syncdb -
Start the development server::
python manage runserver -
Visit http://127.0.0.1:8000/admin/, add a new form and questions and use the "View on site" links to see the form in action.