forked from beba/foerderbarometer
WM-12: use textarea for other fields
This commit is contained in:
parent
f18b97a213
commit
ee987d73c2
|
|
@ -0,0 +1,23 @@
|
|||
# Generated by Django 5.2.5 on 2025-11-10 10:42
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('input', '0106_project_username'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='project',
|
||||
name='categories_other',
|
||||
field=models.TextField(blank=True, verbose_name='Projektkategorien (Sonstiges)'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='project',
|
||||
name='wikimedia_projects_other',
|
||||
field=models.TextField(blank=True, verbose_name='Wikimedia-Projekte (Anderes)'),
|
||||
),
|
||||
]
|
||||
|
|
@ -188,7 +188,7 @@ class ProjectCategoryField(models.ManyToManyField):
|
|||
|
||||
super().__init__(**kwargs)
|
||||
|
||||
self.other_field = models.CharField(max_length=200, blank=True)
|
||||
self.other_field = models.TextField(blank=True)
|
||||
|
||||
def contribute_to_class(self, cls, name, **kwargs):
|
||||
super().contribute_to_class(cls, name, **kwargs)
|
||||
|
|
|
|||
Loading…
Reference in New Issue