DEV Community

Josef Strzibny
Josef Strzibny

Posted on • Edited on

3

Django 2.2 polls app tutorial source code commit by commit

TL;DR

I went through the famous Django "polls" app tutorial, and made it into a git repository which you can follow commit by commit:

GitHub link: deployment-from-scratch/django-2.2-polls

Tutorial link: Writing your first Django app

It's for Django 2.2.

Full Story:

Since the beginning of time (me wanting to leave PHP development) I was intrigued by Ruby on Rails and Django frameworks. I liked both for different reasons, but ended up doing mainly Rails because of Ruby the language (and living with a syndrome that I might made a mistake ever since).

Fast forward to 2019, and I am writing a book on deploying web application where I am trying to teach deployment of both Ruby and Python apps. There are pretty similar in that regards actually, but I needed some Python examples.

For this reason, I went to the Django site after many years (it's a lie, I keep watching Django space haha) and did the famous introductory tutorial of building "polls" app. I did it "commit by commit" so people can follow it easily while going through the tutorial.

Image of Datadog

The Future of AI, LLMs, and Observability on Google Cloud

Datadog sat down with Google’s Director of AI to discuss the current and future states of AI, ML, and LLMs on Google Cloud. Discover 7 key insights for technical leaders, covering everything from upskilling teams to observability best practices

Learn More

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more