# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations
from djrichtextfield.models import RichTextField


class Migration(migrations.Migration):

    dependencies = [
        ('djphys', '0001_initial'),
        ('people', '0002_auto_20150806_0619'),
    ]

    operations = [
        migrations.CreateModel(
            name='CourseSite',
            fields=[
                ('id', models.AutoField(auto_created=True,
                                        serialize=False, verbose_name='ID', primary_key=True)),
                ('style', models.TextField(
                    null=True, help_text='Define any CSS styles here you wish used on the site', blank=True)),
                ('course', models.ForeignKey(null=True,
                                             to='djphys.Course', on_delete=models.CASCADE)),
                ('logo', models.ForeignKey(blank=True, null=True,
                                           to='djphys.CourseFile', on_delete=models.CASCADE)),
            ],
        ),
        migrations.CreateModel(
            name='Meeting',
            fields=[
                ('id', models.AutoField(auto_created=True,
                                        serialize=False, verbose_name='ID', primary_key=True)),
                ('session_type', models.CharField(max_length=1, choices=[
                 ('l', 'Lecture'), ('r', 'Recitation'), ('b', 'Lab'), ('e', 'Exam'), ('h', 'Holiday')])),
                ('date', models.DateField()),
                ('topic', models.CharField(null=True, max_length=100, blank=True)),
                ('homework', models.CharField(
                    null=True, max_length=100, blank=True)),
                ('reading', models.CharField(
                    null=True, max_length=100, blank=True)),
                ('exam', models.CharField(null=True, max_length=100, blank=True)),
                ('notes', RichTextField(null=True, blank=True)),
                ('course_record', models.ForeignKey(
                    to='people.CourseRecord', on_delete=models.CASCADE)),
            ],
            options={
                'ordering': ['date'],
            },
        ),
    ]
