Monday, November 3, 2014¶
Database migration¶
Upgrade in CPAS de Châtelet.
French translations for lino.modlib.polls.
Added the third poll to lino.modlib.polls.fixtures.checklist.
I wanted to load the demo fixtures of lino.modlib.polls into the
production server. So I wrote a local run script
initdb_polls.py as follows:
from lino.modlib.polls.fixtures import std
from lino.modlib.polls.fixtures import checklist
from lino import rt
rt.models.polls.ChoiceSet.objects.all().delete()
rt.models.polls.Poll.objects.all().delete()
for o in std.objects():
o.full_clean()
o.save()
for o in checklist.objects():
o.full_clean()
o.save()
TODO:
The toggle_choice action is broken. Selecting an answer gives an error message “There’s no partner with primary key 3”
SMTPRecipientsRefused and system notes¶
Fixed a bug in dd.Model.get_system_note_recipients() methods of
welfare.pcsw.Client and welfare.pcsw.Coaching which
caused an SMTPRecipientsRefused server traceback when a user
The language of an excerpt¶
Started docs/tickets/144:
The language field on
lino.modlib.excerpts.Excerptis back. And the language field onwelfare.aids.Confirmationis no longer needed.New table aids.ContractGrantingsByClient (just a first draft).
New field
welfare.aids.AidType.is_integ_dutyNew methodswelfare.isip.BaseContract.get_granting()andwelfare.isip.BaseContract.get_aid_type().TODO: test these.