mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-10-01 18:28:19 +00:00
fix(dependencies+tests): update EoL/vulnerable dependencies and improve test stability
* Upgrade Python from 3.10 to 3.12 * Update frontend dependencies, replace node-sass with sass
This commit is contained in:
@@ -5,7 +5,7 @@ import urllib.request
|
||||
from io import BytesIO
|
||||
import datetime
|
||||
|
||||
from PyPDF2 import PdfReader, PdfMerger
|
||||
from pypdf import PdfReader, PdfWriter
|
||||
from django.conf import settings
|
||||
from django.contrib.staticfiles import finders
|
||||
from django.core.cache import cache
|
||||
@@ -31,7 +31,7 @@ def send_eventauthorisation_success_email(instance):
|
||||
}
|
||||
|
||||
template = get_template('event_print.xml')
|
||||
merger = PdfMerger()
|
||||
merger = PdfWriter()
|
||||
|
||||
rml = template.render(context)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user