def create_users(n_users):
 for i in range(0, n_users):
  user = Profile()
  user.username = ('user_%s' % i)
  user.save()

def create_users ( n_users ) : for i in range ( 0 , n_users ) : user = Profile ( ) user . username = ( 'user_%s' % i ) user . save ( )
create n users in the database .