Compare commits
No commits in common. "210fefeaf1382fb9d1ce9dc5577a74eaba4f1603" and "4b67b918f27bcdc224bc81ede85da383e6357337" have entirely different histories.
210fefeaf1
...
4b67b918f2
@ -140,7 +140,7 @@ class MissedMigrations(APIView):
|
|||||||
def get(self, request, format=None):
|
def get(self, request, format=None):
|
||||||
limit = checkLimit(request.GET.get('limit', ''))
|
limit = checkLimit(request.GET.get('limit', ''))
|
||||||
migrations = Migration.objects.filter(
|
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"
|
migration_status="Booked"
|
||||||
)[:limit]
|
)[:limit]
|
||||||
serializer = MigrationSerializer(migrations, many=True)
|
serializer = MigrationSerializer(migrations, many=True)
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
django
|
django
|
||||||
django-rest-framework
|
django-rest-framework
|
||||||
django-cors-headers
|
django-cors-headers
|
||||||
djangorestframework-api-key==2.*
|
|
||||||
mysqlclient
|
mysqlclient
|
||||||
Reference in New Issue
Block a user