On 09-11-16 9:59 PM, adelaide_mike wrote:
> I am attempting to user ReportLab with Django to make a report
> displaying my data in a tabular format.
[..]
>          ['Conclusion',    'Run!']

Loop through your vehicles as your simple naive start, eg:

data = []
for vehicle in vehicles:
     data.append([vehicle.ve_name, vehicle.ve_type])

Then expand. Looping through your query set and your models is pretty 
much the same be it reportlab or not.
-- 
   Andy McKay, @clearwind
   Training: http://clearwind.ca/training/

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=.


Reply via email to