Skip to content

Commit

Permalink
Make additional info field blankable
Browse files Browse the repository at this point in the history
  • Loading branch information
code-geek committed Dec 6, 2023
1 parent 4328f3f commit 502ede1
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 4.2.6 on 2023-12-06 15:50

from django.db import migrations, models


class Migration(migrations.Migration):
dependencies = [
("feedback", "0001_initial"),
]

operations = [
migrations.AlterField(
model_name="contentcurationrequest",
name="additional_info",
field=models.TextField(blank=True, default=""),
),
]
2 changes: 1 addition & 1 deletion feedback/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ContentCurationRequest(models.Model):
scientific_focus = models.CharField(max_length=200)
data_type = models.CharField(max_length=100)
data_link = models.CharField(max_length=1000)
additional_info = models.TextField()
additional_info = models.TextField(default="", blank=True)

class Meta:
verbose_name = "Content Curation Request"
Expand Down

0 comments on commit 502ede1

Please sign in to comment.