Changes between Initial Version and Version 1 of Ticket #29148, comment 5
- Timestamp:
- Feb 27, 2018, 2:09:48 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29148, comment 5
initial v1 10 10 For example:: 11 11 12 Poll.objects.filter( 13 Q(first_name='Bryan') | Q(first_name='Bruce') 14 ).get_or_create({'last_name': 'Harrison'}) 12 Poll.objects.filter(Q(first_name='Bryan') | Q(first_name='Bruce')).get_or_create({'last_name': 'Harrison'}) 15 13 16 14