Update adminmanager/views.py