Crunchy Bridge delivers a fully managed cloud Postgres service available on multiple clouds so you can focus on your application, not your database. G

Building a User Registration Form with Django's Authentication System

submited by
Style Pass
2021-05-22 13:00:09

Crunchy Bridge delivers a fully managed cloud Postgres service available on multiple clouds so you can focus on your application, not your database.

Get started with Crunchy Bridge by creating your account and provision your production ready database on the cloud of your choice.

A fully managed cloud Postgres service that allows you to focus on your application, not your database.

Kubernetes-Native, containerized PostgreSQL-as-a-Service for your choice of public, private, or hybrid cloud.

Integrated high-availability PostgreSQL solution for enterprises with "always on" data requirements.

If you haven't already read my colleague Steve Pousty's blog post on handling composite primary keys in a simple web application using Django and PostgreSQL, be sure to check it out. This post is going to be the first in a two-part series about adding a user registration system to the same app. In this first post, I'm going to talk specifically about setting up a "self-registration" form for our Dungeon and Dragons (DnD) players, using Django's built-in authentication (which includes built-in forms like UserCreationForm). The next post will talk about extending the default User model in Django so that we can store extra custom attributes about our players. 

To get the most out of this first post, it would be good to be familiar with some Django fundamentals such as models , views , templates , and URLconf . When we started building this app, I was very new to Django, so my goal is for you to be able to follow along this post even with simple knowledge of the basics. Our app uses Django 2.2, but what I cover here isn't dependent on a particular version.

Leave a Comment