Explanation
Analytic
- english.analytics.english_analytics.collect_statistics(task) None
Add word display to statistics.
Count word display at
display_count
fild ofenglish.models.word_analytic.WordLearningStories()
model.Parameters
- taskenglish.EnglishTranslateExercise
Contain task data.
Models
- class english.models.word_analytic.WordLearningStories(*args, **kwargs)
Word learning stories model.
Stores information about the user’s word learning. Related to english.WordModel
Attributes
- wordOneToOneField
Word id, relate
WordModel
.- display_countPositiveSmallIntegerField
The count of displaying specific word to user.
Admin models
User settings
- class task.models.EnglishTaskSettings(*args, **kwargs)
English learning task user settings model.
Including contains lookup parameters words for learning them.
Attributes
- userUserModel
User that setting model stored.
- language_orderstr
The order in which translations of words are displayed.
- Could be:
first the question is in English, then the answer is in Russian;
first the question is in Russian, then the answer is in English;
random order.
- timeoutint
Show the learning word tome.
- favoritesbool
Wil be display only favorites words if True, all otherwise.
- categoryCategoryModel
If a category is selected, words from the specific category will be displayed.
- sourceSourceModel
If a source is selected, words from the specific source will be displayed.
- knowledgestr
Current knowledge word level.
- word_countstr
The number of words.
- date_startstr
Start edge period for choice added words.
- date_endstr
Start edge period for choice added words.