~daker/loco-team-portal/fix.1093113

« back to all changes in this revision

Viewing changes to loco_directory/meetings/models.py

  • Committer: Tarmac
  • Author(s): Adnane Belmadiaf
  • Date: 2012-12-13 20:46:23 UTC
  • mfrom: (573.1.1 fix.meetings)
  • Revision ID: tarmac@geekpad-20121213204623-xexq7dgfxzff02tf
[r=] Fix meeting page

Show diffs side-by-side

added added

removed removed

Lines of Context:
111
111
        try:
112
112
            return self.teams.all()[0]
113
113
        except:
114
 
            print 'Meeting %s has no team' % self.id
 
114
            #print 'Meeting %s has no team' % self.id
115
115
            return {'lp_name': 'no-team'}
116
116
 
117
117
 
194
194
            descendents.extend(child.descendents)
195
195
        return descendents
196
196
    descendents = property(get_descendents)
197
 
 
198
 
    def get_sig(self):
199
 
        return '<a href="http://launchpad.net/~%s" target="launchpaduser">%s</a> %s' % (self.owner.user.username, self.owner.realname, self.created_date)
200
 
    sig = property(get_sig)