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 %}