Fixed public_path of login trap middleware in example settings.py file.