Skip to main content

A simple Django app to conduct Web-based polls.

Project description

Standart App from tutorial Django 2.2.

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 Distribution

django-simple-polls-0.2.1.tar.gz (411.6 kB view details)

Uploaded Source

Built Distribution

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

django_simple_polls-0.2.1-py3-none-any.whl (445.6 kB view details)

Uploaded Python 3

File details

Details for the file django-simple-polls-0.2.1.tar.gz.

File metadata

  • Download URL: django-simple-polls-0.2.1.tar.gz
  • Upload date:
  • Size: 411.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.3

File hashes

Hashes for django-simple-polls-0.2.1.tar.gz
Algorithm Hash digest
SHA256 cb0b77c70f59e8117e8f8ee572cf431a80b3aea974aa3b8260bf2b895c1da4f5
MD5 b64c0064970ed9fb102ec13fd111c366
BLAKE2b-256 26ac5e22e0c0dc743a45bbd27abe002eb0e497bc717b3b753036f198d9f24a04

See more details on using hashes here.

File details

Details for the file django_simple_polls-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: django_simple_polls-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 445.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.3

File hashes

Hashes for django_simple_polls-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7541d3cca169d21eeaf6c297095f598a0cb7daa4ac89b9dfc057af2f418e3a7c
MD5 0cb7b737711d6a6188e4c028270552d8
BLAKE2b-256 5ac6a9bf9bd4dad7b2fcf81acc16053388ea3fc5ccd7214cde3730ada576f14b

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