Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

adding class member on CushionDBMixin for db_default

  • Loading branch information...
commit f4aaca022671d055eb8f1f4e5e51e674503525e6 1 parent b4f37de
Jeremy Kelley authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  tornado_addons/cushion.py
View
2  tornado_addons/cushion.py
@@ -172,6 +172,8 @@ def delete(self, db, data, callback=None):
class CushionDBMixin(object):
+ db_default = ''
+
def prepare(self):
super(CushionDBMixin, self).prepare()
if not self.db_default: self.db_default = ''
Please sign in to comment.
Something went wrong with that request. Please try again.