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-latest-0.1.tar.gz (56.7 kB view details)

Uploaded Source

Built Distribution

django_polls_latest-0.1-py2.py3-none-any.whl (56.5 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: django-polls-latest-0.1.tar.gz
  • Upload date:
  • Size: 56.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.5

File hashes

Hashes for django-polls-latest-0.1.tar.gz
Algorithm Hash digest
SHA256 0e130ef48e646ddb49799753914e9429181feb7ba70492321fb38aeed6418d5e
MD5 f0b2c163c7dae69a33eb53e8e57151f8
BLAKE2b-256 48d1ff32a9143f4612beb8660be9feca1b75360f5fba5f8249e58a540e66e2ec

See more details on using hashes here.

File details

Details for the file django_polls_latest-0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: django_polls_latest-0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 56.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.5

File hashes

Hashes for django_polls_latest-0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f813a8892a5c96df80d4bcc249134c84048b4d3a01a92d805828e208d7cf70f2
MD5 d8de72a506929ff6d70587133ffe5bfe
BLAKE2b-256 d54cefc7e3843ce8aca6c616dca29561c7693b1f8abcb1e27f6a606b92d91319

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