From 0b7b161383297b20ec25f30da1ce9a28b4efe5ce Mon Sep 17 00:00:00 2001 From: alpcentaur Date: Mon, 27 Feb 2023 17:09:29 +0000 Subject: [PATCH] deleted variable persons in admin model project --- input/migrations/0093_remove_project_persons.py | 17 +++++++++++++++++ input/models.py | 1 - 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 input/migrations/0093_remove_project_persons.py diff --git a/input/migrations/0093_remove_project_persons.py b/input/migrations/0093_remove_project_persons.py new file mode 100644 index 0000000..b467960 --- /dev/null +++ b/input/migrations/0093_remove_project_persons.py @@ -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', + ), + ] diff --git a/input/models.py b/input/models.py index cce427a..2e70b41 100755 --- a/input/models.py +++ b/input/models.py @@ -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")