mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2026-02-20 03:36:16 +00:00
Add active field to ScheduleProfile and implement signals for status updates
This commit is contained in:
@@ -19,6 +19,7 @@ WEEK_DAYS = [
|
||||
|
||||
class ScheduleProfile(models.Model):
|
||||
name = models.CharField(max_length=100)
|
||||
active = models.BooleanField(default=False)
|
||||
|
||||
created = models.DateTimeField(auto_now_add=True)
|
||||
updated = models.DateTimeField(auto_now=True)
|
||||
|
||||
Reference in New Issue
Block a user