Add translatable fields names for foreignkey fields

This commit is contained in:
Joshua Rubingh 2020-05-19 16:12:55 +02:00
parent de2e200551
commit 7c4ca62a2d
3 changed files with 66 additions and 0 deletions

View File

@ -0,0 +1,26 @@
# Generated by Django 3.0.6 on 2020-05-19 13:51
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('hospital', '0003_auto_20200518_1227'),
('polyclinic', '0003_auto_20200518_1227'),
('employee', '0003_auto_20200518_1227'),
]
operations = [
migrations.AlterField(
model_name='employee',
name='hospital',
field=models.ForeignKey(help_text='Select the hospital for this employee', on_delete=django.db.models.deletion.CASCADE, to='hospital.Hospital', verbose_name='hospital'),
),
migrations.AlterField(
model_name='employee',
name='polyclinic',
field=models.ManyToManyField(blank=True, help_text='Select the polyclinic(s) for this employee', to='polyclinic.Polyclinic', verbose_name='polyclinic'),
),
]

View File

@ -0,0 +1,20 @@
# Generated by Django 3.0.6 on 2020-05-19 13:51
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('hospital', '0003_auto_20200518_1227'),
('polyclinic', '0003_auto_20200518_1227'),
]
operations = [
migrations.AlterField(
model_name='polyclinic',
name='hospital',
field=models.ForeignKey(help_text='To which hospital belongs this polyclinic', on_delete=django.db.models.deletion.CASCADE, to='hospital.Hospital', verbose_name='hospital'),
),
]

View File

@ -0,0 +1,20 @@
# Generated by Django 3.0.6 on 2020-05-19 13:51
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('employee', '0004_auto_20200519_1351'),
('schedule', '0005_auto_20200519_0821'),
]
operations = [
migrations.AlterField(
model_name='schedule',
name='employee',
field=models.ForeignKey(help_text='Select the employee that is responsible for this schedule request', on_delete=django.db.models.deletion.CASCADE, to='employee.Employee', verbose_name='employee'),
),
]