basxsoftwareassociation / bread

Engine to create database applications based on Django and the IBM Carbon Design System
BSD 3-Clause "New" or "Revised" License
19 stars 2 forks source link

fix ObjectFieldValue would not work with fieldname containing "last" #141

Closed wipascal closed 2 years ago

wipascal commented 2 years ago

if fieldname containing "last" it did not correctly call them method "last()"

wipascal commented 2 years ago

hmm not sure it's an improvement. it's connected with https://github.com/basxsoftwareassociation/ponds_next/pull/39 but I am still thinking it through.

saemideluxe commented 2 years ago

Can you give some more context? I think the issue revolves around the type of attribute or object, not explicitly about the term "last". "last" is also a call on django querysets, it could also be related to that.