diff options
author | Prabhu Ramachandran | 2015-09-29 13:45:06 +0530 |
---|---|---|
committer | Prabhu Ramachandran | 2015-09-29 13:45:06 +0530 |
commit | ebbf135af98720f1979cd28a9108817bac385ce7 (patch) | |
tree | e812ac5466ad043f867c58bc363df823522a8468 /testapp/myauthentication/router.py | |
parent | 31f5e743031d105b0406e9587dc33bb065cd6e4d (diff) | |
parent | 53be4bc2ec40a9a84ff5ea73db2fbea0a07f5338 (diff) | |
download | online_test-ebbf135af98720f1979cd28a9108817bac385ce7.tar.gz online_test-ebbf135af98720f1979cd28a9108817bac385ce7.tar.bz2 online_test-ebbf135af98720f1979cd28a9108817bac385ce7.zip |
Merge pull request #56 from ankitjavalkar/examtime
Start and Expiry times for Quizzes
Diffstat (limited to 'testapp/myauthentication/router.py')
-rw-r--r-- | testapp/myauthentication/router.py | 12 |
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 |