I have a Model called UserAccount, I have tried several ways to update the data for an existing user, it responds that changes are successful without any error but still nothing is reflecting in Database Here is the Model class UserAccount(AbstractBaseUser,PermissionsMixin): first_name = models.CharField( max_length=100) last_name = models.CharField(max_length=100) email = models.EmailField(_("email"),validators=[EmailValidator()],unique=True) date_added = models.DateTimeField(auto_now_add=True) phone = models.CharField(max_length=20, validators=[RegexValidator(r'^\d{12}$', 'Enter a valid phone number.')]) profile_picture = models.ImageField(upload_to='media/users_photos/%Y/%m',null=True,blank=True) employee_id = models.IntegerField(validators=[MinValueValidator(1), MaxValueValidator(999)], null=True,blank=True) is_staff = models.BooleanField(default=False) is_active = models.BooleanField(default=True) last_l...
A site where you can share knowledge