Fakultas Ilmu Komputer UI

Commit 2109d90e authored by Nurma Ayu Wigati S. Subroto's avatar Nurma Ayu Wigati S. Subroto
Browse files

[#46] Delete Rating

parent b8cd74aa
Pipeline #60714 passed with stages
in 20 minutes and 33 seconds
......@@ -336,7 +336,7 @@ def edit_rating_materi(request, pk):
rating = get_object_or_404(Rating, pk=pk)
def delete_rating_materi(request, pk):
rating = Rating.objects.filter(pk=pk).delete()
rating = Rating.objects.filter(pk=pk)
def download_materi(request, pk):
materi = get_object_or_404(Materi, pk=pk)
......
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