13 lines
380 B
Python
13 lines
380 B
Python
from django.shortcuts import render
|
|
|
|
from membershipworks.models import Member
|
|
from .models import Certification
|
|
|
|
|
|
def member_certifications(request, uid: str):
|
|
context = {
|
|
"member": Member.objects.get(uid=uid),
|
|
"certifications": Certification.objects.filter(member_id=uid),
|
|
}
|
|
return render(request, "paperwork/member_certifications.dj.html", context)
|