Get test class from refactorChallenge branch
Fix typo
Add test for challenge history
Use ListView for challenge history view
Remove print statement from tests.py
Add test for challenge_random
Move the logic for challenging a random player to model
Fix conflicts
Add test for detailed stats
Move the detailed_challenge_stats logic to model
Use ListView for detailed_challenge_stats
Add test for challenge_stats_view
Use ListView for challenge_stats
Remove unneeded 'model' attribute from HistoryView and delete useless spaces
Use a more pythonic way of testing an empty list
Get rid of the dispatch method in HistoryView
Add test for detailed_challenge_stats
Use 2 different views for challenge stats and hook them on different urls
Cover the case when a staff user wants to see the stats
Create get_stats method in ChallengeUser model