[UPDT] SETTINGS: Updation in general settings by adding check box for enable block and unblock account

This commit is contained in:
Horilla
2024-02-19 15:30:14 +05:30
parent 0cf48401d8
commit bbe61678fa
6 changed files with 69 additions and 22 deletions

View File

@@ -132,3 +132,7 @@ class HistoryTrackingFields(models.Model):
# employee_id = models.ForeignKey("Employee", on_delete=models.PROTECT)
# history_id = models.ForeignKey(HorillaAuditLog, on_delete=models.PROTECT)
# message = models.TextField()
class AccountBlockUnblock(models.Model):
is_enabled = models.BooleanField(default=False, null=True, blank=True)