|
|
@@ -43,7 +43,7 @@ class Contact(models.Model):
|
|
|
email = EmailField(verbose_name="E-Mail-Addresse", unique=True)
|
|
|
phonenumber = CharField(verbose_name="1. Telefonnummer", blank=True,max_length = 100)
|
|
|
alternate_phonenumber = CharField(verbose_name="2. Telefonnummer", blank = True,max_length = 100)
|
|
|
- skype_name = CharField(verbose_name="Skype", blank=True,max_length = 300)
|
|
|
+ skype_name = CharField(verbose_name="Video-Konferenzen (Zoom, teams, google)", blank=True,max_length = 300)
|
|
|
website = URLField(verbose_name="Website", blank=True)
|
|
|
|
|
|
def __str__(self):
|
|
|
@@ -145,7 +145,7 @@ class Product(models.Model):
|
|
|
claim = CharField ( 'Claim / Untertitel', max_length = 256, help_text="Claim / Untertitel", null = True, blank=True )
|
|
|
beschreibung = TextField ( 'Projektbeschreibung', max_length = 2048, help_text="Beschreibung des Projektes", null = True, blank=True )
|
|
|
learning = CharField ( 'Learning', max_length = 256, help_text="Learning", null = True, blank=True )
|
|
|
- gruendungsjahr = IntegerField( 'Gründungsjahr', help_text="Gründungsjahr des Projekts", validators=[MinValueValidator(0), MaxValueValidator(9999)], null = True, blank=True )
|
|
|
+ gruendungsjahr = IntegerField( 'Gründungsjahr', help_text="Gründungsjahr des Projekts", default='2020', validators=[MinValueValidator(0), MaxValueValidator(9999)], null = True, blank=True )
|
|
|
betriebgenommen = IntegerField( 'in Betrieb genommen im Jahr', default='2020', help_text="Wann wurde das Projekt in Betrieb genommen?", validators=[MinValueValidator(0), MaxValueValidator(9999)], null = True, blank=True )
|
|
|
status = CharField ( 'Status', max_length = 3, choices=STATUS, default='ENT', help_text="Was ist der Status des Projektes" , null = True, blank=True )
|
|
|
adresse = CharField ( 'Adresse', max_length = 256, help_text="Adresse des Projektes", null = True, blank=True )
|
|
|
@@ -322,7 +322,7 @@ class Wohnprojekt(Product):
|
|
|
def kind_of_product(self):
|
|
|
return "Wohnprojekt"
|
|
|
|
|
|
- eigentum = CharField ( 'Rechtliche Konstruktion', max_length = 6, choices=EIGENTUM, default='GEMIET', help_text="Rechtliche Konstruktion", null = True, blank=True )
|
|
|
+ eigentum = CharField ( 'Rechtliche Konstruktion', max_length = 6, choices=EIGENTUM, help_text="Rechtliche Konstruktion", null = True, blank=True )
|
|
|
inseratstext = TextField ( 'Inseratstext für Raumangebote', max_length = 1024, help_text="Inseratstext", null = True, blank=True )
|
|
|
altneu = CharField ( 'Altbau/Neubau', max_length = 4, choices=ALTNEU, help_text="Altbau/Neubau", null = True, blank=False )
|
|
|
schwerpunkt = CharField ( 'Inhaltlicher Schwerpunkt', max_length = 1024, help_text="Inhaltlicher Schwerpunkt", null = True, blank=True )
|