Juan Carlos преди 5 години
родител
ревизия
13574ce73c
променени са 1 файла, в които са добавени 8 реда и са изтрити 8 реда
  1. 8 8
      marktplatz/models.py

+ 8 - 8
marktplatz/models.py

@@ -427,10 +427,10 @@ class Wohnprojekt(Product):
             return "Wohnprojekt"
 
     eigentum          = CharField    ( 'Rechtliche Konstruktion', max_length = 6,    choices=EIGENTUM, default='GEMIET', help_text="Rechtliche Konstruktion", null = True, blank=True )
-    inseratstext      = TextField    ( 'Inseratstext',   max_length = 2048,  help_text="Inseratstext", null = True, blank=True )
+    inseratstext      = TextField    ( 'Inseratstext',   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 = 2048,  help_text="Inhaltlicher Schwerpunkt", null = True, blank=True )
-    wohnbaufoerderung = CharField    ( 'Wohnbauförderung',    max_length = 2048,   choices=WOHNBAUFOERDERUNG, help_text="Wohnbauförderung", null = True, blank=True )
+    schwerpunkt       = CharField    ( 'Inhaltlicher Schwerpunkt',   max_length = 1024,  help_text="Inhaltlicher Schwerpunkt", null = True, blank=True )
+    wohnbaufoerderung = CharField    ( 'Wohnbauförderung',    max_length = 1024,   choices=WOHNBAUFOERDERUNG, help_text="Wohnbauförderung", null = True, blank=True )
     artmodell         = TextField    ( 'Art der Modells',    max_length = 2048,   choices=ARTMODELL, help_text="Art der Modells", null = True, blank=True )
     bautraeger        = TextField    ( 'Bauträger',    max_length = 2048,   choices=BAUTRAEGER, help_text="Bauträger", null = True, blank=True )
     aerwachsene       = IntegerField( 'Anzahl an Erwachsenen', help_text="Anzahl an Erwachsenen", validators=[MinValueValidator(0), MaxValueValidator(9999)], null = True, blank=True )
@@ -446,18 +446,18 @@ class Wohnprojekt(Product):
     @property
     def flaeche(self):
             return self.wohnflaeche + self.gewerbeflaechen + self.gemeinschaftsflaeche + self.sonstige_flaechen
-    kflaechen          = CharField         ( 'Flächen - Kommentar', max_length = 2048, help_text="Flächen - Kommentar", null = True, blank=True )
+    kflaechen          = CharField         ( 'Flächen - Kommentar', max_length = 1024, help_text="Flächen - Kommentar", null = True, blank=True )
     gemeinschaftr      = MultiSelectField  ( 'Gemeinschaftsräume',    max_length = 1024,   choices=GEMEINSCHAFTR, help_text="Gemeinschaftsräume", null = True, blank=True )
-    kgemeinschaftr     = CharField         ( 'Gemeinschaftsräume - Sonstiges', max_length = 2048, help_text="Gemeinschaftsräume - Sonstiges", null = True, blank=True )
+    kgemeinschaftr     = CharField         ( 'Gemeinschaftsräume - Sonstiges', max_length = 1024, help_text="Gemeinschaftsräume - Sonstiges", null = True, blank=True )
     sonderwohnformen   = CharField         ( 'Sonderwohnformen',   max_length = 1024,  help_text="Sonderwohnformen, z.B. Wohncluster, WGs, Sonstiges", null = True, blank=True )
     raumangebot        = MultiSelectField  ( 'Raumangebot nach Außen',    max_length = 1024,   choices=RAUMANGEBOT, help_text="Raumangebot nach Außen", null = True, blank=True )
-    kraumangebot       = CharField         ( 'Raumangebot nach Außen - Sonstiges',    max_length = 2048,  help_text="Raumangebot nach Außen - Sonstiges", null = True, blank=True )
+    kraumangebot       = CharField         ( 'Raumangebot nach Außen - Sonstiges',    max_length = 1024,  help_text="Raumangebot nach Außen - Sonstiges", null = True, blank=True )
     parbeiten          = IntegerField      ( 'Wie viele Personen arbeiten im Haus', help_text="Wie viele Personen arbeiten im Haus", validators=[MinValueValidator(0), MaxValueValidator(9999)], null = True, blank=True )
-    karbeiten          = CharField         ( 'Wie viele Personen arbeiten im Haus - Kommentar',   max_length = 2048,  help_text="Kommentar", null = True, blank=True )
+    karbeiten          = CharField         ( 'Wie viele Personen arbeiten im Haus - Kommentar',   max_length = 1024,  help_text="Kommentar", null = True, blank=True )
     bauweise           = CharField         ( 'Bauweise',  max_length = 64, choices=BAUWEISE, help_text="Bauweise", null = True, blank=True )
     zielgruppen        = CharField         ( 'Besondere Zielgruppen',  max_length = 64, choices=ZIELGRUPPEN, help_text="Besondere Zielgruppen", null = True, blank=True )
     gprojekte          = CharField         ( 'Gemeinschaftliche Projekte',  max_length = 64, choices=GPROJEKTE, help_text="Gemeinschaftliche Projekte", null = True, blank=True )
-    oekologie          = CharField         ( 'Ökologie',  max_length = 2048, help_text="Ökologie", null = True, blank=True )
+    oekologie          = CharField         ( 'Ökologie',  max_length = 1024, help_text="Ökologie", null = True, blank=True )
     freiraumangebote   = CharField         ( 'Freiraumangebote',  max_length = 64, choices=FREIANGEBOT, help_text="Freiraumangebote", null = True, blank=False )
     gaestwohnungen     = IntegerField      ( 'Anzahl an Gästewohnungen', help_text="Anzahl an Gästewohnungen", validators=[MinValueValidator(0)], default = 0 )