Fakultas Ilmu Komputer UI
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Ryan Karyadiputera
ppl-berkah-back
Commits
c56253c6
Commit
c56253c6
authored
Jun 06, 2021
by
Ryan Karyadiputera
Browse files
test3
parent
d9a39306
Pipeline
#81598
passed with stage
in 2 minutes
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
lembaga/views.py
View file @
c56253c6
...
...
@@ -18,7 +18,7 @@ def get_lembaga(request, time):
# # supervisor_lembaga2 = Lembaga.objects.filter(last_activity = None)
# # supervisor_lembaga = supervisor_lembaga1 | supervisor_lembaga2
# elif (time == "older"):
supervisor_lembaga
=
Lembaga
.
objects
.
all
(
)
supervisor_lembaga
=
Lembaga
.
objects
.
filter
(
last_insertion
=
None
)
serializer
=
LembagaSerializer
(
supervisor_lembaga
,
context
=
{
'request'
:
request
},
many
=
True
)
response
=
serializer
.
data
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment