Very simple survey app made with Django.
pip install https://github.com/mostateresnet/django-resnet-survey/zipball/master
Make a new django project:
django-admin startproject myproject
Install the app:
In settings.py
, under INSTALLED_APPS = (
add the lines:
'django.contrib.admin',
'survey',
Set up the urls:
In urls.py
, at the top, add the lines:
from django.contrib import admin
admin.autodiscover()
In urls.py
, under urlpatterns = patterns('',
, add the lines:
url(r'^admin/', include(admin.site.urls)),
url(r'^survey/', include('survey.urls')),
Configure your database:
In settings.py
configure where it says DATABASES = {
Next, run:
python manage.py syncdb #and follow instructions
python manage.py runserver
In a browser go to http://127.0.0.1:8000/admin
.