fnp
/
edumed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
cd79440
)
sort confirmations by teacher's email
author
Jan Szejko
<janek37@gmail.com>
Mon, 2 Oct 2017 09:49:12 +0000
(11:49 +0200)
committer
Jan Szejko
<janek37@gmail.com>
Mon, 2 Oct 2017 09:49:12 +0000
(11:49 +0200)
wtem/models.py
patch
|
blob
|
history
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):