Skip to content

Commit

Permalink
Merge pull request #795 from adityacp/release_changes
Browse files Browse the repository at this point in the history
Release changes
  • Loading branch information
adityacp authored Nov 7, 2020
2 parents 39a1342 + 55618b0 commit 530fb70
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion online_test/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

__all__ = ('celery_app',)

__version__ = '0.28.0'
__version__ = '0.29.0'
42 changes: 42 additions & 0 deletions stats/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -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')),
],
),
]
Empty file added stats/migrations/__init__.py
Empty file.

0 comments on commit 530fb70

Please sign in to comment.