← Back to team overview

schooltool-developers team mailing list archive

Removing Term Grading

 

Hey Justas,

I created a new branch,
lp:~aelkner/schooltool.lyceum.journal/remove_term_grading, wherein I
remove all code and views related to term grading.  Additionally, I
added a generations package that has as its first evolve script a
simple script to remove the LyceumTermDataContainer from the app root.
 However it crashes when I do make run on an older database with the
following error:

AttributeError: 'LyceumTermDataContainer' object has no attribute '__parent__'

That is probably because the code for that object is no longer there,
making the object broken.  I remember Ignas saying that it can be a
tricky two-step process when removing data that necessitates keeping
the code around, waiting for every possible person in the world to
have run the evolve script, and only then removing the code.  I'm
hoping you can figure out a way to avoid this being necessary.  If
not, I can change my branch to keep the code around for the object's
class definition, getting rid of everything else.

Please advise.

Thanks,
Alan


Follow ups