Changes between Version 1 and Version 2 of Ticket #36638, comment 2


Ignore:
Timestamp:
Oct 3, 2025, 11:14:29 AM (3 hours ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36638, comment 2

    v1 v2  
    11> You can use `default=Value([])` if you prefer.
    22
    3 You don't have to do the `Values` wrapping, passing `default=[]` works just fine.
     3You don't have to do the `Value` wrapping, passing `default=[]` works just fine.
    44
    55`Value` wrapping is only necessary when passing a `str` literal as they default to field references (`'field'` is equivalent to `F('field')`) instead of value literals like any other Python literal does.
Back to Top