Fix for issue #24

This pull request resolves the issue #24. Now Pylyglot is capable to run smoothly with Django 1.5