Use signals to save ip, user_agent, last_login in sessions
This commit is contained in:
9
account/apps.py
Normal file
9
account/apps.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class ProfilesConfig(AppConfig):
|
||||
name = "account"
|
||||
verbose_name = "account"
|
||||
|
||||
def ready(self):
|
||||
import account.signals
|
||||
Reference in New Issue
Block a user