Skip to content
Snippets Groups Projects
Commit a0decede authored by Alexander Pace's avatar Alexander Pace
Browse files

default for em_type and coinc_far = null

parent 74c5cb81
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,6 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='Superevent',
name='em_type',
field=models.CharField(blank=True, default=b'', max_length=100),
field=models.CharField(null=True, blank=True, max_length=100),
),
]
......@@ -113,8 +113,8 @@ class Superevent(CleanSaveModel, AutoIncrementModel):
is_exposed = models.BooleanField(default=False)
# New O3b fields for RAVEN:
coinc_far = models.FloatField(null=True, blank=True)
em_type = models.CharField(blank=True, default=b'', max_length=100)
coinc_far = models.FloatField(null=False, blank=True)
em_type = models.CharField(blank=True, null=True, max_length=100)
# Meta class --------------------------------------------------------------
class Meta:
......
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