Fakultas Ilmu Komputer UI

Commit 637ec6e0 authored by Nurma Ayu Wigati S. Subroto's avatar Nurma Ayu Wigati S. Subroto
Browse files

[#46] Delete Rating

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