Use signals to save ip, user_agent, last_login in sessions

This commit is contained in:
zema1 committed 2017-09-16 17:42:43 +08:00
1 parent f55a242ec0
commit a3ca8b2336
16 files changed
+74 -19

No files matched your search

-1
View File
@@ -15,7 +15,6 @@ import os
import time
import random
from io import BytesIO
from PIL import Image, ImageDraw, ImageFont
-2
View File
@@ -1,5 +1,3 @@
from base64 import b64encode
from . import Captcha
from ..api import APIView
from ..shortcuts import img2base64