Loading tests/regressiontests/multiple_database/tests.py +2 −1 Original line number Diff line number Diff line Loading @@ -652,7 +652,8 @@ class QueryTestCase(TestCase): new_bob_profile = UserProfile(flavor="spring surprise") charlie = User(username='charlie',email='charlie@example.com') # assigning a profile requires a explicit pk as the object isn't saved charlie = User(pk=51, username='charlie', email='charlie@example.com') charlie.set_unusable_password() # initially, no db assigned Loading Loading
tests/regressiontests/multiple_database/tests.py +2 −1 Original line number Diff line number Diff line Loading @@ -652,7 +652,8 @@ class QueryTestCase(TestCase): new_bob_profile = UserProfile(flavor="spring surprise") charlie = User(username='charlie',email='charlie@example.com') # assigning a profile requires a explicit pk as the object isn't saved charlie = User(pk=51, username='charlie', email='charlie@example.com') charlie.set_unusable_password() # initially, no db assigned Loading