Skip to content Skip to sidebar Skip to footer

Pass A Python List To A Django Template

I'm new to django and I'm trying to pass a list that I created in a python function but its not showing nothing and don't understand why? I'm trying to send a simple list with only

Solution 1:

I think you have misspelled in url

Change

url(r'^csv_empresas',views.preparar_pdf,name='csv_empresas')

to

url(r'^csv_empresas',views.csv_empresas,name='csv_empresas')

Post a Comment for "Pass A Python List To A Django Template"