Skip to content

Latest commit

 

History

History
46 lines (41 loc) · 1.23 KB

README.md

File metadata and controls

46 lines (41 loc) · 1.23 KB

Build Status Coverage Status django-resnet-survey

Very simple survey app made with Django.

Downloading

pip install https://github.com/mostateresnet/django-resnet-survey/zipball/master

Setup

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.