Improved django admin compatibility