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-lc-polls-0.1.tar.gz (3.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_lc_polls-0.1-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django-lc-polls-0.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.7

File hashes

Hashes for django-lc-polls-0.1.tar.gz
Algorithm Hash digest
SHA256 acd5efb80990953be2c94eee6890375a2677aa644b7e0490478e1e1acf841ff1
MD5 3788b6b1b859dfc39e993c224497a9a0
BLAKE2b-256 6ca260fce8f38a9d5608c4f6ca86430bf2815beb4128a577ca4d74017f898e6b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_lc_polls-0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.7

File hashes

Hashes for django_lc_polls-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fdd19b07ae5b0d3aaadc3eea4e08062c4cba2958a74e0c532a567558426e627e
MD5 ca4f8cf6bd125d4bd6b929db38fc8d80
BLAKE2b-256 132803ee58fb519a3d852236b9ef398f3ea664d38a36b7ac25a2f414c378d0d7

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