Update django_orm.py

Make get_user generic