summaryrefslogtreecommitdiff
path: root/drupal_auth/routers.py
diff options
context:
space:
mode:
authorJayaram Pai2013-12-08 20:43:40 +0530
committerJayaram Pai2013-12-08 20:43:40 +0530
commitb596364cf3f871887cce519291b684341cc5c014 (patch)
tree48dcb9366be1f1110f2fda27afa6485b6c3bdb64 /drupal_auth/routers.py
parent41e5496301cd02bff34dad877d20b2dd30349866 (diff)
downloadFOSSEE-Forum-b596364cf3f871887cce519291b684341cc5c014.tar.gz
FOSSEE-Forum-b596364cf3f871887cce519291b684341cc5c014.tar.bz2
FOSSEE-Forum-b596364cf3f871887cce519291b684341cc5c014.zip
added nicEdit / on-the-fly question edit
Diffstat (limited to 'drupal_auth/routers.py')
-rw-r--r--drupal_auth/routers.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/drupal_auth/routers.py b/drupal_auth/routers.py
index c125f73..299712a 100644
--- a/drupal_auth/routers.py
+++ b/drupal_auth/routers.py
@@ -1,17 +1,15 @@
class DrupalAuthRouter(object):
def db_for_read(self, model, **hints):
if model._meta.app_label == 'drupal_auth':
- print '######################################### read_spoken'
return 'spoken'
return 'default'
def db_for_write(self, model, **hints):
if model._meta.app_label == 'drupal_auth':
- print '######################################### write_spoken'
return 'spoken'
return 'default'
- def allow_relation(self, **hints):
+ def allow_relation(self, obj1, obj2, **hints):
return True
def allow_syncdb(self, db, model):