From a3a147f02808f326c08632a51cfa0225547e1ef5 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Sat, 25 Apr 2020 22:49:10 +0200 Subject: [PATCH] Make sure that Django's values/values_list is tested (though not implemented --- test/completion/django.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/test/completion/django.py b/test/completion/django.py index 87a6421a..295908d7 100644 --- a/test/completion/django.py +++ b/test/completion/django.py @@ -155,3 +155,14 @@ inherited.objects.get().new_field User().email #? str() User.objects.get().email + +# ----------------- +# values & values_list (dave is too lazy to implement it) +# ----------------- + +#? +model_instance.objects.values_list('char_field')[0] +#? dict() +model_instance.objects.values('char_field')[0] +#? +model_instance.objects.values('char_field')[0]['char_field']