|
|
|
|
@ -73,7 +73,7 @@ class ProfileView(TemplateView): |
|
|
|
|
).distinct() |
|
|
|
|
school_payment = SchoolPayment.objects.filter( |
|
|
|
|
user=self.object, |
|
|
|
|
date_end__gte=now(), |
|
|
|
|
date_end__gte=now() - timedelta(7), |
|
|
|
|
status__in=[ |
|
|
|
|
Pingback.PINGBACK_TYPE_REGULAR, |
|
|
|
|
Pingback.PINGBACK_TYPE_GOODWILL, |
|
|
|
|
@ -93,7 +93,7 @@ class ProfileView(TemplateView): |
|
|
|
|
|
|
|
|
|
camp_payment = DrawingCampPayment.objects.filter( |
|
|
|
|
user=self.object, |
|
|
|
|
date_end__gte=now(), |
|
|
|
|
date_end__gte=now() - timedelta(7), |
|
|
|
|
status__in=DrawingCampPayment.PW_PAID_STATUSES, |
|
|
|
|
) |
|
|
|
|
context['is_camp_purchased'] = camp_payment.exists() |
|
|
|
|
|