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

Uploaded Source

File details

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

File metadata

  • Download URL: django-polls-tong-0.1.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.6

File hashes

Hashes for django-polls-tong-0.1.tar.gz
Algorithm Hash digest
SHA256 90193e31d505f4934ff7d90b3c73a6e5ca7a133bcc773379be71dce270ddb80c
MD5 d9416fd48f6271e30b9aecf9162de632
BLAKE2b-256 651a7c9ed6482c840c77aa7f3abbb09b7e855bb23bcf6fc6fae6542865a97849

See more details on using hashes here.

Provenance

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