django-polls is a Django app to conduct web-based polls. For each question, visitors can choose between a fixed number of answers.
Detailed documentation is in the "docs" directory.
-
Add "polls" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [ ..., "django_polls", ]
-
Include the polls URLconf in your project urls.py like this::
path("polls/", include("django_polls.urls")),
-
Run
python manage.py migrate
to create the models. -
Start the development server and visit the admin to create a poll.
-
Visit the
/polls/
URL to participate in the poll.