cleaned up code and integrated some simple CSS
[rapidsms] / rapidsms.py
index 92a441b8a0162cfdb8d7a711ecf5db5521d0b5ba..58960b08e9d0d7324e9e2ae907b2d6d9e39b0536 100755 (executable)
@@ -154,17 +154,17 @@ class edit_questions:
         codes = list(int(q.code) for q in questionaire.questions)
         return(len(codes) + 1)
 
         codes = list(int(q.code) for q in questionaire.questions)
         return(len(codes) + 1)
 
-class test:
-    def GET(self):
-        render('test.tmpl')
-
-    def POST(self):
-        render('test_sent.tmpl')
-
-class raw_sms_in:
-    def POST(self):
-        #TODO magic to parse sms
-        pass
+#class test:
+#    def GET(self):
+#        render('test.tmpl', locals())
+#
+#    def POST(self):
+#        render('test_sent.tmpl', locals())
+#
+#class raw_sms_in:
+#    def POST(self):
+#        #TODO magic to parse sms
+#        pass
 
 
 web.webapi.internalerror = web.debugerror
 
 
 web.webapi.internalerror = web.debugerror

Benjamin Mako Hill || Want to submit a patch?