MRB60
MRB60
I am also using Python3/Flask and I am using Javascript in combination with Flask templates and routes to save and load (html) data on a server side database, not Flask...
I am using Vue framework but it can look something like this to open up the editor from javascript. Could be done at the bottom of the page in tags:...
**UPDATE: omitting microseconds in datetime.utcnow fixed the problem.** datetime seem to be stored correctly (e.g. 2023-04-24T09:02:02.682648Z via CLI) but when fetched via Sqlalchemy query, it seems as datetime microsecond part...
Sqlite3 itself accepts empty/null/None Datetime columns. Problem occured when I switched from Sqlite3 to Rqlite. However, it was easy fixed by setting default timestamp for column.
I commented wrong version - I am using sqlalchemy. Sorry.