Commit 8aec71e7 authored by Matheus Miranda's avatar Matheus Miranda
Browse files

Add release date and status to unit

parent dee28fde
# Generated by Django 2.2.24 on 2021-11-25 15:03
from django.db import migrations, models
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
('courses', '0035_auto_20211119_1729'),
]
operations = [
migrations.AddField(
model_name='unit',
name='release_date',
field=models.DateTimeField(default=django.utils.timezone.now, verbose_name='Date'),
),
migrations.AddField(
model_name='unit',
name='status',
field=models.CharField(choices=[('draft', 'Draft'), ('published', 'Published')], default='draft', max_length=64, verbose_name='Status'),
),
]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment