diff options
author | Prabhu Ramachandran | 2017-04-06 12:38:33 +0530 |
---|---|---|
committer | GitHub | 2017-04-06 12:38:33 +0530 |
commit | ad73f7b938b7620ab4be202dc33c699cf5cb4ac5 (patch) | |
tree | adb65fe68d409206a26e23175c9543c12a47c43a /yaksh/migrations | |
parent | 969cccf998059e0a800276759535a36d3529b3c6 (diff) | |
parent | 1a6653567bdf58b5b70e874822cae6a1116b942f (diff) | |
download | online_test-ad73f7b938b7620ab4be202dc33c699cf5cb4ac5.tar.gz online_test-ad73f7b938b7620ab4be202dc33c699cf5cb4ac5.tar.bz2 online_test-ad73f7b938b7620ab4be202dc33c699cf5cb4ac5.zip |
Merge pull request #267 from ankitjavalkar/course-time-window
Multiple changes to Course:
Diffstat (limited to 'yaksh/migrations')
-rw-r--r-- | yaksh/migrations/0004_auto_20170331_0632.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/yaksh/migrations/0004_auto_20170331_0632.py b/yaksh/migrations/0004_auto_20170331_0632.py new file mode 100644 index 0000000..3e4b830 --- /dev/null +++ b/yaksh/migrations/0004_auto_20170331_0632.py @@ -0,0 +1,28 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.5 on 2017-03-31 06:32 +from __future__ import unicode_literals + +import datetime +from django.db import migrations, models +import django.utils.timezone +from django.utils.timezone import utc + + +class Migration(migrations.Migration): + + dependencies = [ + ('yaksh', '0003_auto_20170321_0917'), + ] + + operations = [ + migrations.AddField( + model_name='course', + name='end_enroll_time', + field=models.DateTimeField(default=datetime.datetime(2199, 1, 1, 0, 0, tzinfo=utc), null=True, verbose_name='End Date and Time for enrollment of course'), + ), + migrations.AddField( + model_name='course', + name='start_enroll_time', + field=models.DateTimeField(default=django.utils.timezone.now, null=True, verbose_name='Start Date and Time for enrollment of course'), + ), + ] |