equal
deleted
inserted
replaced
34 description = self.request.POST['description'] |
34 description = self.request.POST['description'] |
35 except Exception, err: |
35 except Exception, err: |
36 logger.info('No description attribute in the http post request.' + str(err)) |
36 logger.info('No description attribute in the http post request.' + str(err)) |
37 return description |
37 return description |
38 |
38 |
|
39 def get_documentary_file_id(self): |
|
40 documentary_file_id = '' |
|
41 try: |
|
42 documentary_file_id = self.request.POST['documentary_file_id'] |
|
43 except Exception, err: |
|
44 logger.info('No documentary_file_id attribute in the http post request. ' + str(err)) |
|
45 return documentary_file_id |
|
46 |
39 def get_query_id(self): |
47 def get_query_id(self): |
40 query_id = '' |
48 query_id = '' |
41 try: |
49 try: |
42 query_id = self.request.POST['query_id'] |
50 query_id = self.request.POST['query_id'] |
43 except Exception, err: |
51 except Exception, err: |