Throughout this tutorial, we’ll stroll you through the creation of a poll application that is basic.
It’ll consist of two parts:
- A general public website that lets people see polls and vote inside them.
- An admin web web site that lets you add, alter, and delete polls.
We’ll assume you have Django installed currently. It is possible to tell Django is set up and which variation by operating listed here demand in a shell prompt (suggested by the $ prefix):
If Django is set up, you ought to begin to see the variation of the installation. If it’sn’t, you’ll get an error telling “No module named django”.
This guide is written for Django 2.2, which supports Python 3.5 and soon after. In the event that Django variation does not match, you can easily make reference to the tutorial for the type of Django using the variation switcher in the bottom right part of the web web page, or update Django towards the version that is newest. (بیشتر…)