From a22617e7a7b6651a242fa59f4e3f56bccb8f7fc3 Mon Sep 17 00:00:00 2001 From: gzbender Date: Mon, 18 Feb 2019 02:07:58 +0500 Subject: [PATCH] =?UTF-8?q?=D1=81=D0=B4=D0=B5=D0=BB=D0=B0=D1=82=D1=8C=20?= =?UTF-8?q?=D0=BF=D0=BE=D0=BB=D0=B5=20"=D0=BF=D1=80=D0=BE=D0=B4=D0=BE?= =?UTF-8?q?=D0=BB=D0=B6=D0=B8=D1=82=D0=B5=D0=BB=D1=8C=D0=BD=D0=BE=D1=81?= =?UTF-8?q?=D1=82=D1=8C=20=D0=B4=D0=BE=D1=81=D1=82=D1=83=D0=BF=D0=B0"=20?= =?UTF-8?q?=D1=83=20=D0=BA=D1=83=D1=80=D1=81=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/v1/serializers/payment.py | 4 ++-- project/templates/lilcity/index.html | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/api/v1/serializers/payment.py b/api/v1/serializers/payment.py index 7c48cf46..4e9e8709 100644 --- a/api/v1/serializers/payment.py +++ b/api/v1/serializers/payment.py @@ -122,7 +122,7 @@ class CoursePaymentCreateSerializer(serializers.ModelSerializer): class Meta: model = CoursePayment - fields = BASE_PAYMENT_FIELDS + ('course',) + fields = BASE_PAYMENT_FIELDS + ('course', 'access_expire') read_only_fields = ( 'id', 'user', @@ -138,7 +138,7 @@ class CoursePaymentSerializer(serializers.ModelSerializer): class Meta: model = CoursePayment - fields = BASE_PAYMENT_FIELDS + ('course',) + fields = BASE_PAYMENT_FIELDS + ('course', 'access_expire') read_only_fields = ( 'id', 'user', diff --git a/project/templates/lilcity/index.html b/project/templates/lilcity/index.html index ce40f2bc..acb8efc4 100644 --- a/project/templates/lilcity/index.html +++ b/project/templates/lilcity/index.html @@ -27,6 +27,8 @@ {% comment %} {% endcomment %} + + {% compress css %}