Elance Exams Answers PDF file

-- PDF FILE --
Download PDF file of elance Zoho Creator Exam Answers

Given a model named 'User' that contains a DateTime field named 'last_login', how do you query for users that have never logged in?

User.objects.filter( last_login__isnull=True )
User.objects.filter( last_login=Null )
User.objects.filter( last_login=Never )
User.objects.filter( last_login__null=True )
User.objects.filter( last_login__isnull=False )
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon