You can try

def index():
>    '''
>    >>> db.news.insert(title="Test", body="Test-test")
>
      >>> db.commit()

>
>    '''
>    return dict(table="news")
>

sqlite locks on multiple connections.

Reply via email to