mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 20:40:17 +02:00
[FIX] Set planet_moon
field as not required
It is explicitly set to be not required in the form, so it shouldn't be required in the Django backend
This commit is contained in:
parent
0d4cab66b2
commit
06e38dcd93
@ -0,0 +1,18 @@
|
|||||||
|
# Generated by Django 4.0.6 on 2022-07-18 17:31
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('timerboard', '0004_timer_type'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='timer',
|
||||||
|
name='planet_moon',
|
||||||
|
field=models.CharField(blank=True, default='', max_length=254),
|
||||||
|
),
|
||||||
|
]
|
@ -26,7 +26,7 @@ class Timer(models.Model):
|
|||||||
|
|
||||||
details = models.CharField(max_length=254, default="")
|
details = models.CharField(max_length=254, default="")
|
||||||
system = models.CharField(max_length=254, default="")
|
system = models.CharField(max_length=254, default="")
|
||||||
planet_moon = models.CharField(max_length=254, default="")
|
planet_moon = models.CharField(max_length=254, blank=True, default="")
|
||||||
structure = models.CharField(max_length=254, default="")
|
structure = models.CharField(max_length=254, default="")
|
||||||
timer_type = models.CharField(
|
timer_type = models.CharField(
|
||||||
max_length=254,
|
max_length=254,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user