From 55bbe6b8da21401983876555150aa0bf856e4d40 Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Fri, 31 Mar 2017 12:04:54 +0530 Subject: Add migration for start and end enroll time --- yaksh/migrations/0004_auto_20170331_0632.py | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 yaksh/migrations/0004_auto_20170331_0632.py (limited to 'yaksh') 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'), + ), + ] -- cgit