Use signals to save ip, user_agent, last_login in sessions

This commit is contained in:
zema1
2017-09-13 22:37:57 +08:00
parent f55a242ec0
commit a3ca8b2336
16 changed files with 74 additions and 19 deletions

View File

@@ -147,7 +147,7 @@ class ProblemAPITest(APITestCase):
def test_get_problem_list(self):
self.create_problem()
resp = self.client.get(self.url)
resp = self.client.get(f"{self.url}?limit=10")
self.assertSuccess(resp)
def get_one_problem(self):