351c9cd955
- 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.
11 lines
267 B
Python
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 |