diff options
author | ankitjavalkar | 2017-03-31 12:04:54 +0530 |
---|---|---|
committer | ankitjavalkar | 2017-03-31 12:04:54 +0530 |
commit | 55bbe6b8da21401983876555150aa0bf856e4d40 (patch) | |
tree | 7c6fe1c7bc8606de5558680aa38eb6419f2f21c9 /yaksh/migrations/0004_auto_20170331_0632.py | |
parent | 171a82aa3ef07fc9344c8c5b42542bec0a3ca5ab (diff) | |
download | online_test-55bbe6b8da21401983876555150aa0bf856e4d40.tar.gz online_test-55bbe6b8da21401983876555150aa0bf856e4d40.tar.bz2 online_test-55bbe6b8da21401983876555150aa0bf856e4d40.zip |
Add migration for start and end enroll time
Diffstat (limited to 'yaksh/migrations/0004_auto_20170331_0632.py')
-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'), + ), + ] |