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-huyho-polls-0.1.tar.gz (5.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_huyho_polls-0.1-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django-huyho-polls-0.1.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3

File hashes

Hashes for django-huyho-polls-0.1.tar.gz
Algorithm Hash digest
SHA256 592fbfec2e8c845d9a833f0508eb0813f447273683d646e3a16a64a7966ba3c8
MD5 e14313b519a471b06fb059da0e084f28
BLAKE2b-256 9034ecbe41b4d81f7ac34bee9d55721499fc99cddf9f29b588372dc17bd0a51b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_huyho_polls-0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3

File hashes

Hashes for django_huyho_polls-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 17169f0fb5445f5752dc91d6670bbf24b46aab4c4e51e0cfaec80f492c09bce7
MD5 9a9707cd9157dd7a43bf762fdfc823bc
BLAKE2b-256 56c73ee7551a7ea662107c593a2ef6f7a043fbe9dc6f26c35997916457a5a468

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