~wxl/loco-team-portal/more-details

« back to all changes in this revision

Viewing changes to loco_directory/teams/models.py

  • Committer: Chris Johnston
  • Author(s): Pablo Rubianes
  • Date: 2014-08-04 22:45:27 UTC
  • mfrom: (676.1.1 loco-team-portal)
  • Revision ID: chris_johnston-20140804224527-f6uii6afpf2ly464
[r=Adnane Belmadiaf] Reversed the order of listing teams 1320559

Show diffs side-by-side

added added

removed removed

Lines of Context:
128
128
 
129
129
    class Meta:
130
130
        db_table = 'teams'
131
 
        ordering = ('approved', 'name',)
 
131
        ordering = ('-approved', 'name',)
132
132
 
133
133
    def __unicode__(self):
134
134
        return self.lp_name