summaryrefslogtreecommitdiff
path: root/testapp/myauthentication/router.py
diff options
context:
space:
mode:
authorankitjavalkar2015-09-14 12:28:41 +0530
committerankitjavalkar2015-09-15 11:33:59 +0530
commit7a60f782995eed0352f3172f445bb35ae8ee6aa9 (patch)
tree91d6d12b0a494dd9777fd1120e92db5763bf009a /testapp/myauthentication/router.py
parent32cde26f9807a29eb1fae0833e353212d43d7802 (diff)
downloadonline_test-7a60f782995eed0352f3172f445bb35ae8ee6aa9.tar.gz
online_test-7a60f782995eed0352f3172f445bb35ae8ee6aa9.tar.bz2
online_test-7a60f782995eed0352f3172f445bb35ae8ee6aa9.zip
Remove testapp dir, remove reference to testapp in paths, files
Diffstat (limited to 'testapp/myauthentication/router.py')
-rw-r--r--testapp/myauthentication/router.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/testapp/myauthentication/router.py b/testapp/myauthentication/router.py
deleted file mode 100644
index 3d9c330..0000000
--- a/testapp/myauthentication/router.py
+++ /dev/null
@@ -1,12 +0,0 @@
-class MyDatabaseRouter(object):
- """
- A router to manage database operations in the myauthentication app.
- """
- def db_for_read(self, model, **hints):
- """
- Point all read operations on myauthentication app to spoken
- database.
- """
- if model._meta.app_label == 'myauthentication':
- return 'spoken_tutorial'
- return None