Files
elordenador 351c9cd955 feat: remove unused images and update email functionality
- Deleted multiple unused image files from the static media directory.
- Enhanced email sending functionality by adding a new method `send_hemail` for sending HTML emails.
- Updated the `enviar_correo_bienvenida` task to use the new HTML email method.
- Added a new RGPD (General Data Protection Regulation) privacy policy page template.
- Updated URL routing to include the new RGPD page.
- Added a view function for rendering the RGPD page.
2026-03-20 09:18:02 +01:00

11 lines
267 B
Python

from jinja2 import Environment
from django.urls import reverse
from django.templatetags.static import static
def environment(**options):
env = Environment(**options)
env.globals.update({
'static': static,
'url': reverse,
})
return env