Hello Alfonso
you can not use css with fpdf. It doesn't understand most of it, you
have to use html.
To change font size, I use, as an example:
pdf.write_html('' + tabla.xml().decode('utf-8') + '')
where tabla is a html table I've previously built using web2py html
helpers (TR, TH,TBODY,TD,TABLE,
My registration page has changed to https session from http. But now, on IE
(haven't tested other browsers yet), the Captcha doesn't display and IE
gives the message "Only secure content is displayed." Unless the user
clicks the "Show all content" button, they won't be able to register.
Anybody
These videos are great!
thanks,
Alex Glaros
--
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 because you are subscribed to the
Hi Alan, it's 2.8.2 Thanks
On Sunday, 22 December 2013 19:54:25 UTC, jimbo wrote:
>
> This used to work, activate the built in wiki, then register, log in and I
> got the wiki available. Now when I try to make a new wiki I get 401 even
> though it lets me log on.
>
> Tried today and I get a 40
> This used to work, activate the built in wiki, then register, log in and I
> got the wiki available. Now when I try to make a new wiki I get 401 even
> though it lets me log on.
>
With what version?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.
Hello,
I'm trying to implement Social Login following this example exactly as it
shows here:
https://groups.google.com/forum/#!topic/web2py/S9ukjWz6qMA
Facebook works well, but I'm having some issues:
1. Twitter login works fine, but when it returns from twitter's login page
to my web2py app(
I'm trying to use the cpdb.py script to copy one sqlite db to another. It
makes the tables & exports the old data to its own satisfaction, but when
it tries to import the data, I get:
EXCEPTION: could not make a copy of the database
foreign key constraint failed
I had run into a similar proble
This used to work, activate the built in wiki, then register, log in and I
got the wiki available. Now when I try to make a new wiki I get 401 even
though it lets me log on.
Tried today and I get a 401 error when app accesses
/default/index/_create/index
Thanks, Jimmy
--
Resources:
- http:/
Changing delimiters in angular, keeping web2py Style
>From a book i read
Delimiters {{ ... }}
When you serve your Angular application from a framework like Symfony, the
double curly braces {{ }} will conflict with the Twig templating engine,
because it also uses the same characters as delimite
I was using the built in auth.wiki without problems a few months ago.
I could register a user, and get the wiki menu when I logged in.
Have upgraded to 2.8.2 and this no longer seems to work. Tried solutions on
other threads but still get 401 error when I try to log in,
/wiki/default/index/_c
I have a function controllers/default.py test_stream.
def test_stream():
'''Test the stream output
'''
import cStringIO
stringio = cStringIO.StringIO()
stringio.write('This is the first line.\n')
stringio.write('This is the second line.')
stringio.seek(0)
return r
Hello,
I have a function in controllers/default.py
def test_stream():
'''Test the stream output
'''
import cStringIO
stringio = cStringIO.StringIO()
stringio.write('This is the first line.\n')
stringio.write('This is the second line.')
stringio.seek(0)
return resp
Thank you for your help. I've tried it, and it works for me.
Dana četvrtak, 19. prosinca 2013. 20:35:37 UTC+1, korisnik Alan Etkin
napisao je:
>
> El jueves, 19 de diciembre de 2013 07:54:34 UTC-3, Janko Strusa escribió:
>>
>> Ok, I have reported the issue.
>>
>
> force_render is being ignored in
the subtle intricacies of a CORS request are hard to grasp. The fact that
jQuery prevents them by default is a "sane" standard: you're basically
sending out what identifies you (cookies) to another server entirely, and
that poses a security threat.
Moreover, you need to tune "manually" your serv
what web2py version are you using?
have you already had a look
here:
http://web2py.com/books/default/chapter/29/13/deployment-recipes#Efficiency-and-scalability
?
Paolo
On Sunday, December 22, 2013 1:48:56 AM UTC+1, viniciusban wrote:
>
> If you're using sqlite or migrations are enabled, this
15 matches
Mail list logo