Right, I can into of importing
This commit is contained in:
parent
34085a3882
commit
a1facf0426
|
@ -65,7 +65,7 @@ def lii(obj):
|
|||
@rerender
|
||||
def contact():
|
||||
head="Certain people keep asking me about the best ways to contact me. So here they are, in rough order of most to least preferred. More to come as I remember them/feel like it<br/>"
|
||||
contacts=sorted(models.Contact.objects.all(),key=lambda x:(x.group,x.priority))
|
||||
contacts=sorted(Contact.objects.all(),key=lambda x:(x.group,x.priority))
|
||||
out={}
|
||||
for n in contacts:
|
||||
if n.group in out: out[n.group].append(n)
|
||||
|
|
Loading…
Reference in New Issue
Block a user