make sure we only patch the django debug page once. bump version to 0.5.2