Update admin.py

handle AttributeError exception properly while using custom media class without js tuple.
Merge pull request #34 from dirigeant/patch-1

well, then it shall be merged