Closed ErwinKomen closed 3 years ago
Okay, I've done the above by adding change_toonbaar()
to the models Lemma
, Trefwoord
and Dialect
. These methods are called whenever the toonbaar
field of one of the Aflevering
instances is changed and saved.
Next step: adapt the get_queryset()
methods in views classes LemmaListView
, DialectListView
, LocationListView
and TrefwoordListView
Okay, I've done that. Tremendous increase in speed. And all much truer than it was before. Success!! GRACE!!
Try out and implement several methods to increase speed.
toonbaar
field ofAflevering
ripple through to the instances of other classes:toonbaar
inLemma
toonbaar
inTrefwoord
toonbaar
inDialect