diff options
author | 藍挺瑋 <lantw44@gmail.com> | 2012-12-19 23:49:48 +0800 |
---|---|---|
committer | LAN-TW <lantw44@gmail.com> | 2012-12-19 23:49:48 +0800 |
commit | 225738e772499537de12d8dc356ff98e9f8b9efa (patch) | |
tree | ae35ead48f94abff76bfbb7c324381a2ff64ea30 /access/insert.py | |
parent | c0cce9dbfce8ebc228ec787c7cd4fcadd622f9e9 (diff) | |
download | inccalendar-225738e772499537de12d8dc356ff98e9f8b9efa.tar.gz inccalendar-225738e772499537de12d8dc356ff98e9f8b9efa.tar.zst inccalendar-225738e772499537de12d8dc356ff98e9f8b9efa.zip |
月曆版加入移除功能,以及修正許多 bug
Diffstat (limited to 'access/insert.py')
-rw-r--r-- | access/insert.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/access/insert.py b/access/insert.py index 2f4184a..61236a7 100644 --- a/access/insert.py +++ b/access/insert.py @@ -48,5 +48,8 @@ class InsertEvent(webapp2.RequestHandler): newcalevent.put() + self.response.headers['Content-Type'] = 'text/plain' + self.response.out.write(str(newcalevent.key())) + app = webapp2.WSGIApplication([('/access/insert', InsertEvent)]) |