Elance Exams Answers PDF file

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

Given an IntegerField named 'widgets' in the Django model 'User' , how do you calculate the average number of widgets per user?

Widget.objects.all().aggregate( Avg( 'users' ) )
User.objects.all().aggregate( Avg( 'widgets' ) )
User.objects.avg( 'widgets' )
User.objects.all().aggregate( Sum( 'widgets' ) )
User.all().aggregate( Avg( 'widgets' ) ).count()
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon