Open ErwinKomen opened 2 years ago
I added the following code to excel_to_fixture()
:
Check if this contains the same information as the previous one
if iValid == 0:
iValid = isLineEqual(oLine, oPrevious)
This means that doubles are not read further into the interface. The only problem with skipping entries (doubles) is that information kind of gets lost. This leads us to the larger 'problem' of trackability of entries. Right now it is not possible to find out what happened to a particular entry (dialectopgave), given its reference number from the filled-in card.
Opgave
that contains fields: entry
(FK) and reference
(the reference number)Opgave
Entry
Entry
I haven't implemented the above (yet). If this is desirable, then turn it into a new point
Make sure no 'doubles' are read into the db. A double is an entry that is identical to one that has already been read (i.e. the
Entry
fields are identical to one that has already been read).