Explorar el Código

reduced sb size

Juan Carlos hace 5 años
padre
commit
37c37b737c
Se han modificado 1 ficheros con 8 adiciones y 8 borrados
  1. 8 8
      marktplatz/models.py

+ 8 - 8
marktplatz/models.py

@@ -430,8 +430,8 @@ class Wohnprojekt(Product):
     inseratstext      = CharField    ( 'Inseratstext',   max_length = 2048,  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 = 4096,   choices=WOHNBAUFOERDERUNG, help_text="Wohnbauförderung", null = True, blank=True )
-    artmodell         = TextField    ( 'Art der Modells',    max_length = 10000,   choices=ARTMODELL, help_text="Art der Modells", null = True, blank=True )
+    wohnbaufoerderung = CharField    ( 'Wohnbauförderung',    max_length = 2048,   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 = 4096,   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 )
     akinder           = IntegerField( 'Anzahl an Kinder', help_text="Anzahl an Kinder", validators=[MinValueValidator(0), MaxValueValidator(9999)], null = True, blank=True )
@@ -446,12 +446,12 @@ class Wohnprojekt(Product):
     @property
     def flaeche(self):
             return self.wohnflaeche + self.gewerbeflaechen + self.gemeinschaftsflaeche + self.sonstige_flaechen
-    kflaechen          = CharField         ( 'Flächen - Kommentar', max_length = 4096, help_text="Flächen - Kommentar", null = True, blank=True )
-    gemeinschaftr      = MultiSelectField  ( 'Gemeinschaftsräume',    max_length = 4096,   choices=GEMEINSCHAFTR, help_text="Gemeinschaftsräume", null = True, blank=True )
-    kgemeinschaftr     = CharField         ( 'Gemeinschaftsräume - Sonstiges', max_length = 4096, help_text="Gemeinschaftsräume - Sonstiges", null = True, blank=True )
-    sonderwohnformen   = CharField         ( 'Sonderwohnformen',   max_length = 2048,  help_text="Sonderwohnformen, z.B. Wohncluster, WGs, Sonstiges", null = True, blank=True )
-    raumangebot        = MultiSelectField  ( 'Raumangebot nach Außen',    max_length = 4096,   choices=RAUMANGEBOT, help_text="Raumangebot nach Außen", null = True, blank=True )
-    kraumangebot       = CharField         ( 'Raumangebot nach Außen - Sonstiges',    max_length = 4096,  help_text="Raumangebot nach Außen - Sonstiges", null = True, blank=True )
+    kflaechen          = CharField         ( 'Flächen - Kommentar', max_length = 2048, 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 )
+    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 )
     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 )
     bauweise           = CharField         ( 'Bauweise',  max_length = 64, choices=BAUWEISE, help_text="Bauweise", null = True, blank=True )