mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 02:19:58 -03:30
Updating schedules help text
This commit is contained in:
parent
f0e7385f54
commit
eebdd13aa1
@ -10,6 +10,7 @@ import dateutil.rrule
|
||||
from django.db import models
|
||||
from django.db.models.query import QuerySet
|
||||
from django.utils.timezone import now, make_aware, get_default_timezone
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
# AWX
|
||||
from awx.main.models.base import * # noqa
|
||||
@ -65,24 +66,29 @@ class Schedule(CommonModel):
|
||||
)
|
||||
enabled = models.BooleanField(
|
||||
default=True,
|
||||
help_text=_("Enables processing of this schedule by Tower")
|
||||
)
|
||||
dtstart = models.DateTimeField(
|
||||
null=True,
|
||||
default=None,
|
||||
editable=False,
|
||||
help_text=_("The first occurrence of the schedule occurs on or after this time")
|
||||
)
|
||||
dtend = models.DateTimeField(
|
||||
null=True,
|
||||
default=None,
|
||||
editable=False,
|
||||
help_text=_("The last occurrence of the schedule occurs before this time, aftewards the schedule expires")
|
||||
)
|
||||
rrule = models.CharField(
|
||||
max_length=255,
|
||||
help_text=_("A value representing the schedules iCal recurrence rule")
|
||||
)
|
||||
next_run = models.DateTimeField(
|
||||
null=True,
|
||||
default=None,
|
||||
editable=False,
|
||||
help_text=_("The next time that the scheduled action will run")
|
||||
)
|
||||
extra_data = JSONField(
|
||||
blank=True,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user