Skip to content

Commit

Permalink
Merge pull request #815 from adityacp/release_0_30_1
Browse files Browse the repository at this point in the history
Release changes
  • Loading branch information
adityacp authored Feb 8, 2021
2 parents 1206e88 + 7cf71fe commit c179633
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
=== 0.30.1 (08-02-2021) ===

* UI changes in course and questions page.
* Refactor code in some parts and optimize.
* Fix a issue where student interface shows error without question paper in quiz.
* Fix a minor bug where trial modules are shown.

=== 0.30.0 (12-01-2021) ===

* Add new UI skin.
Expand Down
3 changes: 2 additions & 1 deletion requirements/requirements-common.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ django-celery-results==1.2.1
djangorestframework==3.11.0
django-cors-headers==3.1.0
Pillow
pandas
pandas
more-itertools==8.4.0
2 changes: 1 addition & 1 deletion yaksh/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1067,7 +1067,7 @@ def get_only_students(self):
return students

def get_learning_modules(self):
return self.learning_module.order_by("order")
return self.learning_module.filter(is_trial=False).order_by("order")

def get_learning_module(self, quiz):
modules = self.get_learning_modules()
Expand Down
2 changes: 1 addition & 1 deletion yaksh/templatetags/custom_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def get_lesson_views(course_id, lesson_id):
@register.simple_tag
def get_percent_value(dictionary, key, total):
return round((dictionary.get(str(key), 0)/total)*100)


@register.simple_tag
def get_dict_value(dictionary, key):
Expand Down

0 comments on commit c179633

Please sign in to comment.