|
|
|
import datetime
|
|
|
|
from django.core.management.base import BaseCommand
|
|
from appa.models import CallRequest
|
|
|
|
|
|
class Command(BaseCommand):
|
|
|
|
def handle(self, *args, **options):
|
|
tomorrow = datetime.date.today() + datetime.timedelta(days=1)
|
|
CallRequest.objects.all().update(date=tomorrow)
|