Merge branch 'prio-removing-sample-record' into 'master'

Removed sample record, and button

See merge request kbr4/riskletpy!39
This commit was merged in pull request #88.
This commit is contained in:
2025-07-14 09:34:02 +00:00
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 demo_codes_pdf_view(request):