|
@@ -148,7 +148,7 @@ class Product(models.Model):
|
|
|
if agentOrt == self.ort:
|
|
if agentOrt == self.ort:
|
|
|
print ('send_mail')
|
|
print ('send_mail')
|
|
|
|
|
|
|
|
- # context []
|
|
|
|
|
|
|
+ # context []
|
|
|
# context ['base_uri'] = self.request.build_absolute_uri( '/' ).rstrip('/')
|
|
# context ['base_uri'] = self.request.build_absolute_uri( '/' ).rstrip('/')
|
|
|
# context['recipient'] = [ myActivity.contact.email, ]
|
|
# context['recipient'] = [ myActivity.contact.email, ]
|
|
|
# context['msg_subject' ] = _('Activity created')
|
|
# context['msg_subject' ] = _('Activity created')
|
|
@@ -431,7 +431,7 @@ class Wohnprojekt(Product):
|
|
|
altneu = CharField ( 'Altbau/Neubau', max_length = 4, choices=ALTNEU, help_text="Altbau/Neubau", null = True, blank=False )
|
|
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 )
|
|
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 )
|
|
wohnbaufoerderung = CharField ( 'Wohnbauförderung', max_length = 4096, choices=WOHNBAUFOERDERUNG, help_text="Wohnbauförderung", null = True, blank=True )
|
|
|
- artmodell = CharField ( 'Art der Modells', max_length = 4096, choices=ARTMODELL, help_text="Art der Modells", null = True, blank=True )
|
|
|
|
|
|
|
+ artmodell = CharField ( 'Art der Modells', max_length = 10000, choices=ARTMODELL, help_text="Art der Modells", null = True, blank=True )
|
|
|
bautraeger = CharField ( 'Bauträger', max_length = 4096, choices=BAUTRAEGER, help_text="Bauträger", null = True, blank=True )
|
|
bautraeger = CharField ( '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 )
|
|
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 )
|
|
akinder = IntegerField( 'Anzahl an Kinder', help_text="Anzahl an Kinder", validators=[MinValueValidator(0), MaxValueValidator(9999)], null = True, blank=True )
|