Allow Django apps to preview properly

The workarounds are a bit funky, but this seems the least worst
option.
Merge pull request #76 from guardian/pw-preview-django

Allow Django apps to preview properly