Added insert function to admin.py