~cjohnston/loco-team-portal/686271

« back to all changes in this revision

Viewing changes to loco_directory/userprofiles/models.py

  • Committer: Michael Hall
  • Date: 2010-11-27 04:12:57 UTC
  • mfrom: (325.3.2 681981)
  • Revision ID: mhall119@gmail.com-20101127041257-czl6qm8or1y97vpj
Order countries alphabetically in forms, merge from Chris Johnston

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
    aim = models.CharField(verbose_name=_('AOL IM Nick'), max_length=32, blank=True, null=True)
23
23
    xmpp = models.CharField(verbose_name=_('XMPP IM Nick'), max_length=32, blank=True, null=True)
24
24
 
 
25
    class Meta:
 
26
        ordering = ('user__username',)
 
27
        
25
28
    def __unicode__(self):
26
29
        try:
27
30
            if self.realname: