Wednesday, December 16, 2015

I opened and fixed #668. This was because the getrqdata function did not yet support HEAD requests. Thanks to this thread on SO I found the note under Django’s require_safe decorator which says:

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:

def project(self, row, ar):
    return row.project

This is a VirtualField whose return_type is a DummyField. Lino now supports this.