Example #1
0
 def get(self):
     params = self.check_login('legislators')
     if 'loggedin_user' not in params:
         self.redirect('/signup')
     else:
         legs = getAllLegislators()
         for l in legs:
             addLegislatorToParse(l['leg_id'])
Example #2
0
 def get(self):
     params=self.check_login('legislators')
     if 'loggedin_user' not in params:
         self.redirect('/signup')
     else:
         legs=getAllLegislators()
         for l in legs:
             addLegislatorToParse(l['leg_id'])
Example #3
0
 def get(self, leg_id):
     addLegislatorToParse(leg_id)
     self.redirect('/parse/legislators')
Example #4
0
 def get(self,leg_id):
     addLegislatorToParse(leg_id)
     self.redirect('/parse/legislators')