equal
deleted
inserted
replaced
209 site_entity = site_logic.logic.getSingleton() |
209 site_entity = site_logic.logic.getSingleton() |
210 site_name = site_entity.site_name |
210 site_name = site_entity.site_name |
211 |
211 |
212 email = site_entity.noreply_email |
212 email = site_entity.noreply_email |
213 if not email: |
213 if not email: |
|
214 # TODO(Lennard): What if current_user_entity is None? |
214 email = current_user_entity.account.email() |
215 email = current_user_entity.account.email() |
215 |
216 |
216 # TODO(Lennard): change the message sender to some sort of no-reply adress |
217 # TODO(Lennard): change the message sender to some sort of no-reply adress |
217 # that is probably a setting in sitesettings. (adress must be a developer). |
218 # that is probably a setting in sitesettings. (adress must be a developer). |
218 # This is due to a GAE limitation that allows only devs or the current user |
219 # This is due to a GAE limitation that allows only devs or the current user |