Skip to content
Snippets Groups Projects
Verified Commit 51abe312 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

feat: make title blank=True

Closes #203
parent 593c4366
No related branches found
No related tags found
No related merge requests found
# Generated by Django 4.2.11 on 2024-03-25 22:24
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("program", "0083_alter_host_options_alter_note_options_and_more"),
]
operations = [
migrations.AlterField(
model_name="note",
name="title",
field=models.CharField(blank=True, default="", max_length=128),
),
]
...@@ -474,7 +474,7 @@ class Note(models.Model): ...@@ -474,7 +474,7 @@ class Note(models.Model):
summary = models.TextField(blank=True) summary = models.TextField(blank=True)
tags = models.JSONField(blank=True, default=list) tags = models.JSONField(blank=True, default=list)
timeslot = models.OneToOneField(TimeSlot, null=True, on_delete=models.SET_NULL, unique=True) timeslot = models.OneToOneField(TimeSlot, null=True, on_delete=models.SET_NULL, unique=True)
title = models.CharField(max_length=128) title = models.CharField(blank=True, default="", max_length=128)
topic = models.ManyToManyField(Topic, blank=True, related_name="episodes") topic = models.ManyToManyField(Topic, blank=True, related_name="episodes")
updated_at = models.DateTimeField(auto_now=True, blank=True, null=True) updated_at = models.DateTimeField(auto_now=True, blank=True, null=True)
updated_by = models.CharField(blank=True, default="", max_length=150) updated_by = models.CharField(blank=True, default="", max_length=150)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment