PageView

Stories about Python, Django and Web Development

A Complete Beginner's Guide to Django - Part 7

A Complete Beginner's Guide to Django - Part 7
Welcome to the last part of our tutorial series! In this tutorial, we are going to deploy our Django application to a production server. We are also going to configure an Email service and HTTPS certificates for our servers.

Read more



A Complete Beginner's Guide to Django - Part 6

A Complete Beginner's Guide to Django - Part 6
Welcome to the sixth part of the tutorial series! In this tutorial, we are going to explore in great detail the Class-Based Views. We are also going to refactor some of the existing views so to take advantage of the built-in Generic Class-Based Views.

Read more



A Complete Beginner's Guide to Django - Part 5

A Complete Beginner's Guide to Django - Part 5
In this tutorial, we are going to learn more about protecting views against unauthorized users and how to access the authenticated user in the views and forms. We are also going to implement the topic posts listing view and the reply view. Finally, we are going to explore some features of Django ORM and have a brief introduction to migrations.

Read more



How to Create Django Data Migrations

How to Create Django Data Migrations

Data Migration is a very convenient way to change the data in the database in conjunction with changes in the schema. They work like a regular schema migration. Django keep track of dependencies, order of execution and if the application already applied a given data migration or not.

Read more



A Complete Beginner's Guide to Django - Part 4

A Complete Beginner's Guide to Django - Part 4
This tutorial is going to be all about Django's authentication system. We are going to implement the whole thing, registration, login, logout, password reset, and password change.

Read more