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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iesugrace-django-polls-0.2.tar.gz (22.5 kB view details)

Uploaded Source

File details

Details for the file iesugrace-django-polls-0.2.tar.gz.

File metadata

File hashes

Hashes for iesugrace-django-polls-0.2.tar.gz
Algorithm Hash digest
SHA256 b0d8c40a147f89520a2e2f0872f417bed2d319b3687d4d5b18a2b25c01a0b107
MD5 0e929c7f86057ed6fa9e531805f0d129
BLAKE2b-256 0529fcab9c52e9bc3aaa6ba7dff6bbb4a59df3674b9b6f013d5a3678ed7e29a0

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