Compare commits

..

No commits in common. "210fefeaf1382fb9d1ce9dc5577a74eaba4f1603" and "4b67b918f27bcdc224bc81ede85da383e6357337" have entirely different histories.

2 changed files with 1 additions and 2 deletions

View File

@ -140,7 +140,7 @@ class MissedMigrations(APIView):
def get(self, request, format=None):
limit = checkLimit(request.GET.get('limit', ''))
migrations = Migration.objects.filter(
booked_date__lte=datetime.datetime.now().date() + datetime.timedelta(-1),
booked_time__lte=datetime.datetime.now().date() + datetime.timedelta(-1),
migration_status="Booked"
)[:limit]
serializer = MigrationSerializer(migrations, many=True)

View File

@ -1,5 +1,4 @@
django
django-rest-framework
django-cors-headers
djangorestframework-api-key==2.*
mysqlclient