Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

231
Views
Add hyperlinks from an array to elements of a table Django

I have a csv file with 3 columns. I want to display this table in a html but every element of the third column should have a hyperlink loaded from a Python array in views.py.

Currently, I am loading the table using pandas.

My views.py:

def passparam(request):

    data = pd.read_csv (r'/home/darkbee/django3-password-generator/media/test.csv')
    html_table = data.to_html(index=False)
    arra_containing_links["#link1","#link1",............."#link1","#link80"]
    context = {'loaded_data': html_table}
    return render(request, 'generator/password.html', context )

My password.html:

{{loaded_data | safe}}
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!