tuple error in admin.py resolved