fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sort confirmations by teacher's email
[edumed.git]
/
wtem
/
models.py
diff --git
a/wtem/models.py
b/wtem/models.py
index
f745aeb
..
7c1f17a
100644
(file)
--- a/
wtem/models.py
+++ b/
wtem/models.py
@@
-196,7
+196,7
@@
class Confirmation(models.Model):
confirmed = models.BooleanField(default=False)
class Meta:
- ordering = ['
email
']
+ ordering = ['
contact__contact
']
@classmethod
def create(cls, first_name, last_name, email, contact=None, key=None):