summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPalaparthy Adityachandra2020-11-07 20:00:21 +0530
committerGitHub2020-11-07 20:00:21 +0530
commit530fb70da288d53be0c7e293121e807ffa2a73c2 (patch)
tree9faa4a5249d488dad9f5c12d05da62a1dbff1083
parent39a13424ad5b5d59044bec27530bdad1ccf12c25 (diff)
parent55618b071af60c4322a57ef7545139b71313ab0e (diff)
downloadonline_test-0.29.0.tar.gz
online_test-0.29.0.tar.bz2
online_test-0.29.0.zip
Merge pull request #795 from adityacp/release_changesv0.29.0
Release changes
-rw-r--r--CHANGELOG.txt5
-rw-r--r--online_test/__init__.py2
-rw-r--r--stats/migrations/0001_initial.py42
-rw-r--r--stats/migrations/__init__.py0
4 files changed, 48 insertions, 1 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 972af20..87a2c47 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -1,3 +1,8 @@
+=== 0.29.0 (07-11-2020) ===
+
+* Add feature to track lesson video views
+* Fix post and comments deletion
+
=== 0.28.0 (04-11-2020) ===
* Add ability for added teachers to delete posts and comments
diff --git a/online_test/__init__.py b/online_test/__init__.py
index dc5cdab..c96a9aa 100644
--- a/online_test/__init__.py
+++ b/online_test/__init__.py
@@ -4,4 +4,4 @@ from online_test.celery_settings import app as celery_app
__all__ = ('celery_app',)
-__version__ = '0.28.0'
+__version__ = '0.29.0'
diff --git a/stats/migrations/0001_initial.py b/stats/migrations/0001_initial.py
new file mode 100644
index 0000000..4bbae49
--- /dev/null
+++ b/stats/migrations/0001_initial.py
@@ -0,0 +1,42 @@
+# Generated by Django 3.0.7 on 2020-11-07 13:46
+
+from django.conf import settings
+from django.db import migrations, models
+import django.db.models.deletion
+import django.utils.timezone
+
+
+class Migration(migrations.Migration):
+
+ initial = True
+
+ dependencies = [
+ migrations.swappable_dependency(settings.AUTH_USER_MODEL),
+ ('yaksh', '0027_release_0_28_0'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='TrackLesson',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('current_time', models.CharField(default='00:00:00', max_length=100)),
+ ('video_duration', models.CharField(default='00:00:00', max_length=100)),
+ ('creation_time', models.DateTimeField(auto_now_add=True)),
+ ('course', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='yaksh.Course')),
+ ('lesson', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='yaksh.Lesson')),
+ ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
+ ],
+ options={
+ 'unique_together': {('user', 'course', 'lesson')},
+ },
+ ),
+ migrations.CreateModel(
+ name='LessonLog',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('last_access_time', models.DateTimeField(default=django.utils.timezone.now)),
+ ('track', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='stats.TrackLesson')),
+ ],
+ ),
+ ]
diff --git a/stats/migrations/__init__.py b/stats/migrations/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/stats/migrations/__init__.py