forked from oppia/oppia
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix part of oppia#1366: Cron job to keep history of dashboard statist…
…ics (oppia#2173) * Cron job for recording creator stats * Fixes * Write getter and tests for weekly dasboard stats * Minor changes to model * Fix initial round of review comments * Fix call to one-off job through cron * Removed extra whiteline * Fix accidental line deletion * Partially addressed review comments * Add sample test for multiple weeks * Add test to check format of datetime string * Add schema version to user dashboard stats * Lint fix * Fix brackets around conditional * Fix continuous job and modify tests accordingly * Address review comments * Create new stats model if not already present * Address review comments * Use get_or_create for model * Reused get_or_create in method
- Loading branch information
1 parent
b669bfa
commit 5dcfae6
Showing
10 changed files
with
487 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.