Hello Django Experts,
There is Django application which uses LDAP in middleware for user
authentication.
I need to record user login and logout time. For that purpose, I think of a
basic flow as per following details -
Create new model for logging
Make a function in views.py which will add the login/ logout time and date
to a model.
Call the function every time when user login/ logout.
Could someone please suggest better way OR point me to good/relevant
article around it.
Thanks,

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAG6zOKWfhB%2BitkgqJks4JWM3vDJkbKAWY_7vjTnWxfrBrtVFaw%40mail.gmail.com.

Reply via email to