Permalink
Browse files

synced DAL with web2py

  • Loading branch information...
1 parent 70f5524 commit c12922b383324baa58547d8506aa263974ff677b @mdipierro committed Mar 28, 2012
Showing with 299 additions and 37 deletions.
  1. +1 −1 bottle_example.py
  2. +3 −2 flask_example.py
  3. +292 −31 gluino/dal.py
  4. +1 −1 pyramid_example.py
  5. +1 −1 tornado_example.py
  6. +1 −1 wsgiref_example.py
View
@@ -1,5 +1,5 @@
from bottle import run, route, request, get, post, static_file, redirect
-from gluino import *
+from gluino import wrapper, DAL, Field, SQLFORM, cache, IS_NOT_EMPTY
import time
# configure the gluino wrapper
View
@@ -1,8 +1,9 @@
from flask import Flask, request, session, redirect
-from gluino import *
+from gluino import wrapper, DAL, Field, SQLFORM, cache, IS_NOT_EMPTY
import time
-# configure the gluino wrapper wrapper.debug = True
+# configure the gluino wrapper
+wrapper.debug = True
wrapper.redirect = lambda status, url: redirect(url)
# initialize flask
Oops, something went wrong.

0 comments on commit c12922b

Please sign in to comment.