0001-contacts-add-a-settings-for-send_registration_mail-2.patch
welco/contacts/views.py | ||
---|---|---|
131 | 131 |
msg[field_key] = form[field_key].value() |
132 | 132 | |
133 | 133 |
msg['password'] = str(random.SystemRandom().random()) |
134 |
msg['send_registration_email'] = True
|
|
134 |
msg['send_registration_email'] = getattr(settings, 'CONTACT_SEND_REGISTRATION_EMAIL', True)
|
|
135 | 135 | |
136 | 136 |
authentic_site = settings.KNOWN_SERVICES.get('authentic').values()[0] |
137 | 137 |
authentic_url = authentic_site.get('url') |
138 |
- |