Browse Source

tri des adhérents par n° d’adhérent

Élie Bouttier 8 years ago
parent
commit
383cb6a04e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      adhesions/models.py

+ 1 - 0
adhesions/models.py

@@ -27,6 +27,7 @@ class Adhesion(models.Model):
     class Meta:
         verbose_name = 'adhérent'
         unique_together = ("adherent_type", "adherent_id")
+        ordering = ('id',)
 
     @property
     def contribution(self):