Update django_orm.py

Make the get_user method generic