Right, I can into of importing

This commit is contained in:
Zergling_man 2021-12-12 21:53:10 +11:00
parent 34085a3882
commit a1facf0426

View File

@ -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)