aboutsummaryrefslogtreecommitdiffstats
path: root/access
diff options
context:
space:
mode:
Diffstat (limited to 'access')
-rw-r--r--access/__init__.py1
-rw-r--r--access/insert.py2
2 files changed, 3 insertions, 0 deletions
diff --git a/access/__init__.py b/access/__init__.py
index aed4de3..5328090 100644
--- a/access/__init__.py
+++ b/access/__init__.py
@@ -9,4 +9,5 @@ class CalEvent(db.Model):
icon = db.IntegerProperty()
begin = db.DateTimeProperty(required=True)
datafrom = db.StringProperty(required=True)
+ remind = db.IntegerProperty()
diff --git a/access/insert.py b/access/insert.py
index 02c88cf..5e78798 100644
--- a/access/insert.py
+++ b/access/insert.py
@@ -29,6 +29,7 @@ class InsertEvent(webapp2.RequestHandler):
day = thisbegindate
);
thisdatafrom = self.request.get('datafrom')
+ thisremind = self.request.get('remind')
newcalevent = CalEvent(
db.Key.from_path('user', guserid.email()),
@@ -39,6 +40,7 @@ class InsertEvent(webapp2.RequestHandler):
newcalevent.title = thistitle
newcalevent.icon = thisicon
+ newcalevent.remind = thisremind
newcalevent.put()