Building user authentication is not easy, in almost case, it’s complicated. Fortunately, Django has a powerful built-in User authentication that helps us create our Authentication system fast. By default, the User model in Django
auth app contains fields: username, password, email, first_name, last_name… However, using our own custom user model allows us deal with user profile more comfortably. For example, what if we want to add more fields: full_name or age?
In this tutorial, we’re gonna look at way to customize authentication in Django (version 2.1) using subclass of
AbstractUser. All User authentication data will be stored in MySQL/PostgreSQL database that we’ll show you how to config the datasource.
It will be very interesting. Let’s go through the steps.
Continue reading “Django Authentication – How to build Login/Logout/Signup for custom User”
In this tutorial, we’re gonna look at way to upload file in Django using Django
ModelForm and save its information to MySQL Database. We also have UI to view list of uploaded items and function to delete specific file.
Related Post: Simple way to upload file in Django
Continue reading “Django – How to upload, view, delete file using ModelForm and MySQL”
In this tutorial, we show you Angular 6 Http Client & Django Server example that uses Django to do CRUD with PostgreSQL (including finder method) and Angular 6 as front-end technology to make request and receive response.
Related Post: Django RestApis example – GET/POST/PUT/DELETE requests to PostgreSQL database
Continue reading “Django RestApis CRUD Application with Angular 6 & PostgreSQL tutorial”