-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change source title and siglum to optional
This is to allow saving sources in the create / edit without triggering a validation error.
- Loading branch information
1 parent
73d5df4
commit 1168e29
Showing
2 changed files
with
36 additions
and
2 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
django/cantusdb_project/main_app/migrations/0022_alter_source_siglum_alter_source_title.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Generated by Django 4.1.6 on 2024-06-18 12:44 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("main_app", "0021_source_shelfmark"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="source", | ||
name="siglum", | ||
field=models.CharField( | ||
blank=True, | ||
help_text="RISM-style siglum + Shelf-mark (e.g. GB-Ob 202).", | ||
max_length=63, | ||
null=True, | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="source", | ||
name="title", | ||
field=models.CharField( | ||
blank=True, | ||
help_text="Full Source Identification (City, Archive, Shelf-mark)", | ||
max_length=255, | ||
null=True, | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters