[Fixes #1] Crash when Django admin logged in.