The get_access_date() method in RemoteSite fails if some of the projects have date_access set to None. When sorting by -date_access, the first result is not the latest date but None. We should omit null resuts from this method.
Tests need to be updated to take this into account, of course.
Also, existing usages of get_access_date() should of course be checked..
The
get_access_date()
method inRemoteSite
fails if some of the projects havedate_access
set toNone
. When sorting by-date_access
, the first result is not the latest date butNone
. We should omit null resuts from this method.Tests need to be updated to take this into account, of course.
Also, existing usages of
get_access_date()
should of course be checked..