mango r231 - in branches/django: . mango



Author: ovitters
Date: Sun Jun 22 20:48:54 2008
New Revision: 231
URL: http://svn.gnome.org/viewvc/mango?rev=231&view=rev

Log:
	* mango/models.py (Foundationmembers.Meta): Order the foundation
	members by lastname, then firstname. This like the PHP version.


Modified:
   branches/django/   (props changed)
   branches/django/ChangeLog
   branches/django/mango/models.py

Modified: branches/django/mango/models.py
==============================================================================
--- branches/django/mango/models.py	(original)
+++ branches/django/mango/models.py	Sun Jun 22 20:48:54 2008
@@ -52,6 +52,7 @@
     resigned_on = models.DateField(null=True, blank=True)
     class Meta:
         db_table = u'foundationmembers'
+        ordering = ['lastname', 'firstname']
 
 class FtpmirrorsForm(ModelForm):
     class Meta:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]