From 7a60f782995eed0352f3172f445bb35ae8ee6aa9 Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Mon, 14 Sep 2015 12:28:41 +0530 Subject: Remove testapp dir, remove reference to testapp in paths, files --- testapp/myauthentication/router.py | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 testapp/myauthentication/router.py (limited to 'testapp/myauthentication/router.py') 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 -- cgit