edit admin.py to fix error