Use the Django authentication system<https://docs.djangoproject.com/en/1.6/topics/auth/default/>, then you can get current user with `request.user`
On Wed, Dec 25, 2013 at 6:30 AM, Chen Xu <[email protected]> wrote: > I am working on a voting website, basically i want to be able to track the > votes that come from the same person, or the same session, I am wondering > does Django have some kinda built in session implementation that I can use > to track people 's actions in the same session? > > Thanks in advance > > -- > ⚡ Chen Xu ⚡ > > -- > 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 post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CACac-qZt74Of4pO9p2sn%2Bup%3DpTNpnSK3_kx3BWkEhL890XQz3A%40mail.gmail.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- Best regards. /********************************** google+: +liuerfire <http://gplus.to/onepiece> twitter: @liuerfire<https://twitter.com/#!/liuerfire> 蛋疼不蛋疼的都可以试着点一下~^_^~ <http://db.tt/YGEdRM0> ***********************************/ -- 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 post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFysF%2BTY7e3PcLByaWwZu6KSbsseySQeb41hjQH0fsgGAOFUFw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.

