Update plugins.py

AdminMediaHandler and WSGIServerException are deprecated in latest django version and these changes worked fine for me. Please review them and include in the master branch.

Thanks