Updated url.
This commit is contained in:
parent
878f19ce26
commit
5434a4e9bc
@ -47,6 +47,8 @@ class BaseView(web.View):
|
||||
def insert(self, table, data):
|
||||
data['ip'] = self.ip
|
||||
data['created'] = str(datetime.now())
|
||||
for key,value in data.items():
|
||||
data[key] = str(value)
|
||||
#data = json.loads(json.dumps(data,default=str))
|
||||
return self.db[table].insert(data)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user