Remove redundant import
Use redirect in challenge_random view
Create PlayerViewMixin - defines get_player method
Use TemplateView instead of View to avoid overriding of get() method