Open in app
Home
Notifications
Lists
Stories

Write
Nasir
Nasir

Home

Jun 25, 2021

Django Custom Auth Model Extending AbstractBaseUser

Today we try to implement a new model in our app extending AbstractBaseUser class and PermissionsMixin for a customized auth model. First of all, we will create a model named “User” like the below code. class User(AbstractBaseUser, PermissionsMixin): first_name = models.CharField(max_length=30, blank=True) last_name =…

Django

3 min read

Django Custom Auth Model Extending AbstractBaseUser
Django Custom Auth Model Extending AbstractBaseUser

Nov 25, 2020

Generate password protected excel file in Java

Hi, In this article, I am gonna teach you how we can generate an excel file that will be password protected in Java. We use the Apache POI library to do this and Apache Maven to manage the dependency. So our whole working procedure will be like below. Create a…

Java

2 min read

Generate password protected excel file in Java
Generate password protected excel file in Java

Oct 28, 2020

Build REST API using DRF

Hi there, Thanks for reading my article. This is my first article in the medium. Here I am going to describe each and everything about building REST API using the Django REST Framework. It will be a full CRUD operation using only one view class and one serializer class. Let’s…

Python

2 min read

Build REST API using DRF
Build REST API using DRF
Nasir

Nasir

https://sites.google.com/site/codingbynasir

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable