Poll is a complex poll creation app, to create dynamic polls. The usage of it is to create a set of questions with optional predefined answers.
Detailed documentation is in the "docs" directory.
-
Add "poll" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [ ... 'poll', ]
-
Include the polls URLconf in your project urls.py like this::
path('poll/', include('poll.urls')),
-
Run
python manage.py migrate
to create the polls models. -
Start the development server and visit http://127.0.0.1:8000/admin/ to create a poll (you'll need the Admin app enabled).
-
Visit http://127.0.0.1:8000/poll/ to participate in the poll.