Writing your first Django app in version 2.1

djangoproject.com offers very eassy to follow instruction on how to write your first Django app.

Since django progresses, it is important to choose the tutorial for your django version.

Use the following command to find out what version are you using:

python -m django –version

Writing your firs app for Diango 2.1:
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.

Write your first view:
Database setup:
Writing more views:
Write a simple form:
Introducing automated testing:
Customize your app’s look and feel:
Customize the admin form:

Leave a Reply

Your email address will not be published. Required fields are marked *