[WIP] refactoring/location-club-statistics #71

Draft
Fred wants to merge 19 commits from refactoring/location-club-statistics into master

19 Commits

Author SHA1 Message Date
Fred 8b3952b501 Still trying to simplify club statistics ;) 2021-06-24 21:37:36 +02:00
Fred 9c08647505 Start testing khana.people 2021-06-24 17:10:12 +02:00
Fred 40c59cbe22 Starts clubs statistics 2021-06-23 20:37:27 +02:00
Fred a612503bf5 Compute the total number of hours spent in a course 2021-06-23 20:28:55 +02:00
Fred 63c46f6e6e Test location and planning models
This will allows an easier refactoring of build_statistics functions
2021-06-23 20:13:59 +02:00
Fred 107b364028 Retrieve original version of club_statistics view 2021-06-23 19:06:51 +02:00
Fred 0a515fdf3a Merge branch 'refactoring/location-club-statistics' of grimbox.be:Sulley/khana into refactoring/location-club-statistics 2021-06-22 21:03:15 +02:00
Fred d98acb3243 [WIP] Refactoring Club & Course for statistics purpose 2021-06-22 20:59:05 +02:00
Fred 2a12177f74 Remove pytest old tests 2021-06-22 19:22:17 +02:00
Fred b26eab154e Ignore admin.py files when covering code 2021-06-22 19:22:17 +02:00
Fred Pauchet 0bff7e0f66 Refactors clubs statistics 2021-06-22 19:22:17 +02:00
Fred Pauchet 00df7cbd0b Create a new `ClubStatistics` class to store data
This will allow to make the location/views.py file more readable
2021-06-22 19:22:17 +02:00
Fred Pauchet 66735a49e3 Code quality
* Create a makefile (for *nix only, right?)
* Configure code coverage and tests
* Configure linter
* Configure linter for errors only
2021-06-22 19:22:17 +02:00
Fred c8d543ab50 Remove pytest old tests 2021-06-22 19:20:35 +02:00
Fred 1a392f4e42 Ignore admin.py files when covering code 2021-06-22 19:20:19 +02:00
Fred Pauchet de61d1851d Refactors clubs statistics 2021-06-22 19:15:51 +02:00
Fred Pauchet 1a3c62d12b Create a new `ClubStatistics` class to store data
This will allow to make the location/views.py file more readable
2021-06-21 21:37:37 +02:00
Fred 67b2b0ccd6 Merge branch 'master' into quality/code 2021-05-19 21:02:23 +02:00
Fred Pauchet 523a52c5e5 Code quality
* Create a makefile (for *nix only, right?)
* Configure code coverage and tests
* Configure linter
* Configure linter for errors only
2021-05-19 20:58:25 +02:00