Advertisement
Guest User

Untitled

a guest
Jul 29th, 2016
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. person = Person.objects.filter(email__contains="gmail.com")
  2.  
  3. condition = "email_contains"
  4. person = Person.objects.filter(condition="gmail.com")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement