forked from beba/foerderbarometer
WM-19: added username to projects
This commit is contained in:
parent
48b922834a
commit
0a2bcac684
|
|
@ -114,6 +114,7 @@ class BaseProjectAdmin(admin.ModelAdmin):
|
|||
('Kontakt', {'fields': (
|
||||
'realname',
|
||||
'email',
|
||||
'username',
|
||||
)}),
|
||||
('Projekt', {'fields': (
|
||||
'name',
|
||||
|
|
|
|||
|
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 5.2.5 on 2025-11-07 15:43
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('input', '0105_add_verbose_names'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='project',
|
||||
name='username',
|
||||
field=models.CharField(help_text='Wikimedia Benutzer_innenname', max_length=200, blank=True, verbose_name='Benutzer_innenname'),
|
||||
),
|
||||
]
|
||||
|
|
@ -217,6 +217,8 @@ class ProjectCategoryField(models.ManyToManyField):
|
|||
|
||||
|
||||
class Project(Volunteer):
|
||||
username = models.CharField(max_length=200, blank=True, verbose_name='Benutzer_innenname',
|
||||
help_text=mark_safe('Wikimedia Benutzer_innenname'))
|
||||
end_mail_send = models.BooleanField(default=False, verbose_name='Keine Projektabschlussmail schicken')
|
||||
name = models.CharField(max_length=200, verbose_name='Name des Projekts')
|
||||
description = models.CharField(max_length=500, verbose_name='Kurzbeschreibung', null=True)
|
||||
|
|
|
|||
Loading…
Reference in New Issue