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


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

django-polls-su-0.1.tar.gz (25.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_polls_su-0.1-py3-none-any.whl (25.8 kB view details)

Uploaded Python 3

File details

Details for the file django-polls-su-0.1.tar.gz.

File metadata

  • Download URL: django-polls-su-0.1.tar.gz
  • Upload date:
  • Size: 25.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.12.4 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8

File hashes

Hashes for django-polls-su-0.1.tar.gz
Algorithm Hash digest
SHA256 947436069ebcae82a22328c539298ff650bc2b6404a73c8ba427379533d9229f
MD5 6bbae782612385785eb28940e561d56a
BLAKE2b-256 1c95ea1055465cafc0b896a0298ea7d87bd3ee065c16e4c9b78416d5907d1b97

See more details on using hashes here.

File details

Details for the file django_polls_su-0.1-py3-none-any.whl.

File metadata

  • Download URL: django_polls_su-0.1-py3-none-any.whl
  • Upload date:
  • Size: 25.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.12.4 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8

File hashes

Hashes for django_polls_su-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 328adfe5397d8a11b6cde5b2ec623321ad8709b69a769e25b4de79c1ff4b8a0d
MD5 95e286b5aca040700d7f508d62541df3
BLAKE2b-256 061291ce0c319f72817639b38d1c00c59149b2a2ccd02bdd33a8e3ea6d46ea65

See more details on using hashes here.

Supported by

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