@ Sandeep : Thank you so much for the much needed help. My code is atleast
up and running now!!
Regards,
Arindam
On Wed, Dec 5, 2018 at 12:10 PM Arindam Dasgupta
wrote:
> @ sandeep : your solution works for me but the problem is that I cammot
> style the elements added later using general css r
I'm trying to delete a certain row among others with this code:
@auth.requires_login()
def Daily_Calorie_Calculator():
diary_date = None
result_breakfast = []
result_lunch = []
result_dinner = []
result_snack = []
calories_sum = 0
protein_sum = 0
fat_sum = 0
carb
Maybe this information will help you. If you use SQLFORM.grid it will work.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message bec
We have found a simple solution... this code do the trick:
{{
import xhtml2pdf.pisa as pisa
filename = '%s/%s.html' % (request.controller,request.function)
html = response.render(filename)
pdf = pisa.CreatePDF(html, dest = response.body)
}}
We hope to be of any help to other people with the sam
Hi!
we are trying to build up printable report from a view. We'd like to use
xhtml2pdf instead using the web2py embedded library fpdf.
How the view template file should look like?
Essentially we tried something like the following without success:
{{
from xhtml2pdf import pisa
from StringIO im
5 matches
Mail list logo