def post(self, request, **kwargs): # Add types request.POST = request.POST.copy() request.POST.setlist('scan_type', get_selected_nodes('Scan', request)) return super(ScanCreate, self).post(request, **kwargs)
def post(self, request, **kwargs): # add types request.POST = request.POST.copy() request.POST.setlist('file_type', get_selected_nodes('File', request)) return super(FileCreate, self).post(request, **kwargs)
def post(self, request, **kwargs): request.POST = request.POST.copy() request.POST.setlist('institute_type', get_selected_nodes('Institute', request)) return super(Update, self).post(request, **kwargs)
def post(self, request, **kwargs): request.POST = request.POST.copy() request.POST.setlist('reference_type', get_selected_nodes('Reference', request)) return super(Update, self).post(request, **kwargs)
def post(self, request, **kwargs): request.POST = request.POST.copy() request.POST.setlist('person_type', get_selected_nodes('Person', request)) return super(Create, self).post(request, **kwargs)