Wednesday, December 16, 2015¶
Django will automatically strip the content of responses to HEAD requests while leaving the headers unchanged, so you may handle HEAD requests exactly like GET requests in your views. Since some software, such as link checkers, rely on HEAD requests, you might prefer using require_safe instead of require_GET.
I continued to fix some last test failures in Lino Così which had been
The following code caused problems in an application with no project_model:
@dd.virtualfield(dd.ForeignKey(dd.plugins.ledger.project_model)) def project(self, row, ar): return row.project
This is a VirtualField whose return_type is a DummyField. Lino now supports this.