示例#1
0
文件: files.py 项目: acdh-oeaw/diauma
 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)
示例#2
0
文件: files.py 项目: acdh-oeaw/diauma
 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)
示例#3
0
 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)
示例#4
0
 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)
示例#5
0
 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)