update for  admin/view.py