Throughout this tutorial, we’ll walk you through the creation of a poll application that is basic.

Throughout this tutorial, we’ll walk you through the creation of a poll application that is basic.

It’ll consist of two components:

  • A site that is public lets people see polls and vote inside them.
  • An admin web web site that lets you add, change, and delete polls.

We’ll assume you have Django installed already. You can easily tell Django is installed and which variation by operating the next demand in a shell prompt (suggested by the $ prefix):

If Django is installed, you ought to look at variation of the installation. When it isn’t, you’ll have an error telling “No module named django”.

This tutorial is written for Django 2.2, which supports Python 3.5 and soon after. In the event that Django variation does not match, it is possible to relate to the guide for the type of Django utilizing the variation switcher at the end right part of the web page, or update Django into the latest version. If you’re making use of an adult form of Python, check What Python variation can i personally use with Django? to get a suitable form of Django.

Observe how to set up Django for suggestions about just how to eliminate older variations of Django and use a directory newer one.

Where you’ll get assistance:

If you’re trouble that is having through this guide, please upload a note to django-users or stop by #django on irc.freenode.net to speak to other Django users whom could probably assist. Continue Reading “Throughout this tutorial, we’ll walk you through the creation of a poll application that is basic.”