Update admin.py

make use of custom for that allows us to generate code for new instances