Browse Source

deleted variable persons in admin model project

master
Benni Bärmann 1 year ago
parent
commit
cb930eceda
2 changed files with 17 additions and 1 deletions
  1. +17
    -0
      input/migrations/0093_remove_project_persons.py
  2. +0
    -1
      input/models.py

+ 17
- 0
input/migrations/0093_remove_project_persons.py View File

@ -0,0 +1,17 @@
# Generated by Django 3.1.2 on 2022-12-09 18:28
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('input', '0092_auto_20221209_1754'),
]
operations = [
migrations.RemoveField(
model_name='project',
name='persons',
),
]

+ 0
- 1
input/models.py View File

@ -92,7 +92,6 @@ class Project(Volunteer):
# the following Fields are not supposed to be edited by users
pid = models.CharField(max_length=15, null=True, blank=True)
status = models.CharField(max_length=3,choices=(('RUN', 'läuft'),('END','beendet'),('NOT','nicht stattgefunden')),default='RUN')
persons = models.IntegerField(default=1)
finance_id = models.CharField(max_length=15, null= True, blank=True)
project_of_year = models.IntegerField(default=0)
end_quartal = models.CharField(max_length=15, null=True, blank=True, verbose_name="Quartal Projekt Ende")

Loading…
Cancel
Save