Skip to main content

A simple Django app to conduct Web-based polls.

Project description

Polls is a simple 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.

Quick start

  1. Add “polls” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'polls',
    ]
  2. Include the polls URLconf in your project urls.py like this:

    path('polls/', include('polls.urls')),
  3. Run python manage.py migrate to create the polls models.

  4. Start the development server and visit http://127.0.0.1:8000/admin/ to create a poll (you’ll need the Admin app enabled).

  5. Visit http://127.0.0.1:8000/polls/ to participate in the poll.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

django_polls_tutorial_v-1.2.6-py3-none-any.whl (40.4 kB view details)

Uploaded Python 3

File details

Details for the file django_polls_tutorial_v-1.2.6-py3-none-any.whl.

File metadata

  • Download URL: django_polls_tutorial_v-1.2.6-py3-none-any.whl
  • Upload date:
  • Size: 40.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.15+

File hashes

Hashes for django_polls_tutorial_v-1.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c6e64f1293f704266d0b150f2129098249de205289a0a828cd9e2dd5d282cd99
MD5 cda4b892a1203c17c172bc8887b7094b
BLAKE2b-256 038004fafa431a0ee97d461f65e76a179aeff2f4d3c85a63851c38655aeda9c4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page