layerindex-web/layerindex
Tim Orling 6747ed3707 layerindex/views.py: tweak from_email
In production, we use settings.DEFAULT_FROM_EMAIL as our primary source
of from_email, rather than settings.SUBMIT_EMAIL_FROM

Default to DEFAULT_FROM_EMAIL if it is not Null, fall back to SUBMIT_EMAIL_FROM

The real consumer (in production) is a Celery task in layerindex/tasks.py

@tasks.task
def send_email(subject, text_content, from_email=settings.DEFAULT_FROM_EMAIL, to_emails=[]):

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2024-08-18 14:36:46 -07:00
..
migrations layerindex: allow Repository subdir to be 60 chars 2024-02-05 18:18:41 -08:00
static bootstrap: fix typo in minified file name 2023-10-19 14:01:47 -07:00
templatetags Add SPDX license headers to layerindex-web source files 2021-04-21 08:22:51 +12:00
tools layerindex/tools: add mark_yp_compatible_layers.py 2023-11-16 07:09:09 -08:00
__init__.py Add SPDX license headers to layerindex-web source files 2021-04-21 08:22:51 +12:00
admin.py admin.py: Remove has_delete_permission() 2022-12-16 08:59:37 -08:00
auth_forms.py Add SPDX license headers to layerindex-web source files 2021-04-21 08:22:51 +12:00
auth_views.py Add SPDX license headers to layerindex-web source files 2021-04-21 08:22:51 +12:00
bulkchange.py layerindex/*: make all shebangs python3 2022-01-13 20:58:28 -08:00
context_processors.py Add SPDX license headers to layerindex-web source files 2021-04-21 08:22:51 +12:00
forms.py layerindex: fix edit layer vcs_subdir max length 2024-02-06 10:49:34 -08:00
layerconfparse.py Add SPDX license headers to layerindex-web source files 2021-04-21 08:22:51 +12:00
middleware.py Add SPDX license headers to layerindex-web source files 2021-04-21 08:22:51 +12:00
models.py layerindex: allow Repository subdir to be 60 chars 2024-02-05 18:18:41 -08:00
querysethelper.py Add SPDX license headers to layerindex-web source files 2021-04-21 08:22:51 +12:00
recipedesc.py global: replace deprecated distutils 2022-12-16 08:59:37 -08:00
recipeparse.py layerindex/recipeparse.py: extend bbclass regex 2024-01-22 17:17:25 -08:00
restperm.py Add SPDX license headers to layerindex-web source files 2021-04-21 08:22:51 +12:00
restviews.py Add SPDX license headers to layerindex-web source files 2021-04-21 08:22:51 +12:00
securityquestions.py Add SPDX license headers to layerindex-web source files 2021-04-21 08:22:51 +12:00
tasks.py Add SPDX license headers to layerindex-web source files 2021-04-21 08:22:51 +12:00
update_layer.py layerindex/update_layer.py: enable classes-global,-recipe 2024-01-22 17:39:56 -08:00
update.py global: deprecated pkg_resources parse_version 2024-01-22 16:08:37 -08:00
urls_branch.py layerindex: allow periods in layer name 2024-02-05 22:02:45 -08:00
urls.py layerindex: allow periods in layer name 2024-02-05 22:02:45 -08:00
utils.py layerindex: improve updates for actual_branch 2024-01-03 13:33:37 -08:00
views.py layerindex/views.py: tweak from_email 2024-08-18 14:36:46 -07:00