Refactor update creation api
All threads resolved!
All threads resolved!
Compare changes
- Samuel GAIST authored
Also add modifiable check for update/destroy end point.
+ 15
− 11
@@ -29,13 +29,12 @@ from django.shortcuts import get_object_or_404
@@ -43,15 +42,16 @@ from .serializers import (
@@ -65,7 +65,7 @@ class CheckContributionNameView(CommonContextMixin, generics.CreateAPIView):
@@ -106,7 +106,7 @@ class ListContributionView(
@@ -186,7 +186,9 @@ class ListCreateBaseView(
@@ -228,12 +230,13 @@ class DiffView(generics.RetrieveAPIView):
@@ -257,6 +260,7 @@ class RetrieveUpdateDestroyContributionView(