reference: https://docs.djangoproject.com/en/1.8/intro/tutorial01/
Writing your first Django app, part 1
Let’s learn by example.
Throughout this tutorial, we’ll walk you through the creation of a basic poll application.
It’ll consist of two parts:
- A public site that lets people view polls and vote in them.
- An admin site that lets you add, change and delete polls.
We’ll assume you have Django installed already. You can tell Django is installed and which version by running the following command:
时间: 2024-10-12 10:04:30