Removed sample record, and button
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user