Better way to get to current user instance

Old way don't work on Django 1.6.5 with Python 3.4