mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 05:07:50 +02:00
Remove unused args in upload_image
This commit is contained in:
@@ -19,7 +19,7 @@ from django.views.decorators.csrf import csrf_exempt
|
||||
|
||||
@method_decorator(csrf_exempt, name="dispatch")
|
||||
class UploadImage(View):
|
||||
def post(self, request, application=None, model=None):
|
||||
def post(self, request):
|
||||
if not request.user.is_authenticated:
|
||||
raise HttpResponseForbidden()
|
||||
|
||||
|
Reference in New Issue
Block a user