~kevang/mnemosyne-proj/grade-shortcuts-improvements

« back to all changes in this revision

Viewing changes to mnemosyne/mnemosyne/libmnemosyne/fact.py

  • Committer: pbienst
  • Date: 2008-08-04 16:13:00 UTC
  • Revision ID: svn-v3-trunk0:e5e6b78b-db40-0410-9517-b98c64f8d2c1:trunk:497
Progress dump.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
#   The fields are stored in a dictionary.
19
19
#
20
20
#   Categories and card_type_id are stored here, because when resetting the
21
 
#   learning data on export, we only export facts. Of course cards can have
22
 
#   categories of their own as well.
 
21
#   learning data on export, we only export facts.
 
22
#
 
23
#   Note that we store a card_type_id, as opposed to a card_type, because
 
24
#   otherwise we can't use pickled databases, as the card_types themselves
 
25
#   are not stored in the database. It is also closer the SQL implementation.
23
26
#
24
27
# TODO: make list of common keys for standardisation.
25
28
#