How do I write this insert statement in Django?
Posted
by alex
on Stack Overflow
See other posts from Stack Overflow
or by alex
Published on 2010-03-31T05:58:09Z
Indexed on
2010/03/31
6:03 UTC
Read the original article
Hit count: 301
newthing = Link(user=request.user,last_updated=datetime.datetime.now())
However, this uses datetime , not the MYSQL "now()".
How can I use mysql's now()?
© Stack Overflow or respective owner