Removed sample record, and button

This commit is contained in:
2025-07-13 18:21:23 +02:00
parent 549f3a7633
commit a8a02a4eb2
4 changed files with 0 additions and 10 deletions

View File

@@ -144,12 +144,6 @@ def no_confidential_data(request):
return render(request, "no_confidential_data.html")
def download_example_pdf(request):
pdf_path = os.path.join(settings.BASE_DIR, 'backend/core/static/pdf/risklet_example_document.pdf')
if not os.path.exists(pdf_path):
raise Http404("File not found.")
return FileResponse(open(pdf_path, 'rb'), as_attachment=True, filename='risklet_example_document.pdf')
@staff_member_required
def payment_codes_pdf_view(request):