|
|
|
@ -12,6 +12,9 @@ from apps.course.models import Course |
|
|
|
from apps.school.models import SchoolSchedule |
|
|
|
from apps.school.models import SchoolSchedule |
|
|
|
from apps.payment.models import SchoolPayment, UserGiftCertificate, Payment, DrawingCampPayment |
|
|
|
from apps.payment.models import SchoolPayment, UserGiftCertificate, Payment, DrawingCampPayment |
|
|
|
from apps.content.models import Banner, Package |
|
|
|
from apps.content.models import Banner, Package |
|
|
|
|
|
|
|
import logging |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
logger_roistat = logging.getLogger('roistat') |
|
|
|
|
|
|
|
|
|
|
|
User = get_user_model() |
|
|
|
User = get_user_model() |
|
|
|
|
|
|
|
|
|
|
|
@ -136,6 +139,8 @@ class IndexView(TemplateView): |
|
|
|
|
|
|
|
|
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
logger_roistat.debug('hi from home page!') |
|
|
|
|
|
|
|
|
|
|
|
return context |
|
|
|
return context |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|