Fakultas Ilmu Komputer UI

Commit ea51a031 authored by Ryan Karyadiputera's avatar Ryan Karyadiputera
Browse files

test3

parent 1b31a932
Pipeline #81565 passed with stage
in 2 minutes and 28 seconds
......@@ -13,7 +13,7 @@ import datetime
@api_view(["GET"]) # pragma: no cover
@permission_classes([AllowAny])
def get_lembaga(request, time):
current_year = int(datetime.datetime.now().year)
current_year = 2021
if (time == "newer"):
supervisor_lembaga1 = Lembaga.objects.filter(last_activity__range = (current_year - 5, current_year))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment