Updated url.
This commit is contained in:
		
							parent
							
								
									6c887f28e6
								
							
						
					
					
						commit
						15a52bc75c
					
				| @ -47,7 +47,7 @@ class BaseView(web.View): | ||||
|     def insert(self, table, data): | ||||
|         data['ip'] = self.ip | ||||
|         data['created'] = datetime.now() | ||||
|         data = json.loads(json.dumps(data)) | ||||
|         data = json.loads(json.dumps(data,default=str)) | ||||
|         return self.db[table].insert(data) | ||||
| 
 | ||||
|     def find(self,table,data=None): | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user