Changes between Initial Version and Version 1 of Ticket #32848, comment 3


Ignore:
Timestamp:
Jun 16, 2021, 3:20:16 AM (3 years ago)
Author:
Gordon Wrigley

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32848, comment 3

    initial v1  
    1 If you do it without the annotation, so `MyModel.objects.values("my_duration__fred")` you "Cannot resolve keyword 'fred' into field." which is what I'd expect. The field "bob" is legit, it's the lookup 'fred' that is bogus, so that's what I'd expect the error on.
     1If you do it without the annotation, so `MyModel.objects.values("my_duration__fred")` you get "Cannot resolve keyword 'fred' into field." which is what I'd expect. The field "bob" is legit, it's the lookup "fred" that is bogus, so that's what I'd expect the error on.
Back to Top