Fixed a few things to make django-ncsu more compatible with Magnolia.