Last active
August 29, 2015 14:22
-
-
Save MeLight/55ec3c077a33d2338473 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from google.appengine.ext import ndb | |
from datetime import date | |
class DateTest(ndb.Model): | |
date = ndb.DateProperty() | |
d = date(2015, 10, 20) | |
dt = DateTest() | |
dt.date = d | |
dt.put() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment