I just downloaded 2.17.1 and it works great... thankyou!
However I am a bit confused with the pyDAL that came with it... _version_ =
17.11
Same version 17.11 when I downloaded pyDAL using pip
Is this the latest pyDAL 18.08 only without the _version_ number updated?
On Sunday, August 5, 2018 at
see also
https://groups.google.com/forum/?fromgroups#!searchin/web2py/misaligned%7Csort:relevance/web2py/6Qbcr8nuey8/nVzxMOxxt_gJ
On Monday, November 21, 2016 at 7:42:54 AM UTC-8, Martin de Groot wrote:
>
> In a SQLForm all widget-controls of writable fields are nicely, correctly
> vertically
This is not a problem, but I would like to confirm that this pseudo code is
best practice.
I have a single instance of web2py (2.13.4) with multiple applications,
each application has its own MySQL database.
'init' is my control application which I use for administration.
In 'init' I want to
Using web2py 2.12.2 with formstyle = bootstrap3_inline
Problem:
When displaying a SQLFORM with readonly=True the field labels and values do
not line up horizontally. I have a screen image, but the following gives
you an idea of what it looks like...
Bob
First Name
On Monday, August 10, 2015 at 8:44:40 AM UTC-7, Massimo Di Pierro wrote:
You seem to have an old version of session2strash.py. The new one only
uses self.expiration and not expiration.
On Sunday, 9 August 2015 10:15:57 UTC-5, Bob St John wrote:
Using 2.12.1
I run a small site... about
Using 2.12.1
I run a small site... about 200 members who login (some using the 'Remember
me for 30 days') plus about 1500 public visitors per day. The sessions are
stored in the file system. I run the sessions2trash.py script once a day. I
have noticed the sessions are increasing by about 1000
Using web2py version 2.10.4 with response.formstyle=bootstrap3_inline
Problem:
When using SQLFORM or SQLFORM.grid(view) the form fields whose value is
None or when writable=False do not line up horizontally with the label.
Solution (or hack):
In gluon.sqlhtml.py I added the following elif
Sorry if this is a repost. My last post wasn't showing up for some reason.
I want to add a search bar to all my pages. To do this I plan on adding an
input text to layout.html (all my pages extend layout.html).
But where is the controller for layout.html so that I can build the
htmlhelpers and
I want to add a search bar to my all my pages. I think the best way to do
this is by adding it to the layout.html from which all my other html views
extend from.
The problem I can't figure out is where to put the corresponding controller
function. For all the other views, the controller
def contenttype(filename, default='text/plain'):
Returns the Content-Type string matching extension of the given
filename.
i = filename.rfind('.')
if i=0:
default = CONTENT_TYPE.get(filename[i:].lower(),default)
j = filename.rfind('.', 0, i)
if j=0:
The documentation for pyFpdf indicates support for gif images, yet there
does not seem to be any hooks for gif in the FPDF class.
pyFpdf seems to be a nice way to create reports, but my project requires
gif images with transparency
Hi Mariano,
Yes, binary transparency works with png... thanks.
On Wednesday, June 13, 2012 12:37:29 PM UTC-7, Bob St John wrote:
The documentation for pyFpdf indicates support for gif images, yet there
does not seem to be any hooks for gif in the FPDF class.
pyFpdf seems to be a nice way
is only hit when you
really want to access the records...
Richard
On Mon, Jun 4, 2012 at 4:00 PM, pbreit wrote:
I might not quite understand the question but wouldn't readable/writable
work?
On Monday, June 4, 2012 5:56:40 AM UTC-7, bob wrote:
In the old days I would just create
I can send an email from within web2py but am wondering if anyone has
attempted to send an IOS notification and if so any pointers would be very
helpful.
What the Apple Push Notification service is:
In the old days I would just create a database view on a subset of a table
that I wanted to allow other developers to access (assuming read only),
however I'm not sure if that's the best thing to do with web2py.
I have a table that has:
last_name
first_name
etc
including some 'internal'
as
the default.
thanks,
bob
generic.xml
Anthony
On Friday, May 25, 2012 6:55:17 PM UTC-4, bob wrote:
Probably a simple question and I searched both the docs and the group.
I have a path /api and I never want to return a html reply, I'm ok
with a .xml or .json reply and would like to have the default be .xml
The big
locals()
when I do a 'check.xml/foo' request I get back:
document
Status1/Status
/document
if foo exists.How do I change the XML that is being built? I would
like to replace the document, etc.
thanks much for a very nice framework.
bob
, if
you're in the need of overcustomizing your xml
Il giorno venerdì 18 maggio 2012 06:57:02 UTC+2, bob ha scritto:
Great app, but I'm stuck on how to build custom XML.
I have the following:
@request.restful()
def check():
def GET(id):
count = db(db.users.user_name==id).count
using 1.99.2
SQLFORM.grid...
I don't see the need for this statement...
line 1641: if not searchable and not rows: return DIV(T('No records
found'))
If it was removed a user would see an empty grid rather than just a
div, no matter what the value of 'searchable' was.
An empty grid allows the
using 1.99.2
in gluon.sqlhtml.SQLFORM.grid:
line 1489: return ondelete(table,request.args[-2],ret)
I think it should be: return ondelete(table,request.args[-1],ret)
As it is now, ondelete gets (table, table, ret), whereas I believe it
should get (table, record_id, ret) to work properly...
I
Using 1.99.2
'layout.html' has the following conditional comment...
!--[if IE]
!-- Always force latest IE rendering engine
(even in intranet) Chrome Frame
Remove this if you use the .htaccess --
meta http-equiv=X-UA-Compatible content=IE=edge,chrome=1
![endif]--
Thanks!
On 1 Юни, 19:12, Massimo Di Pierro massimo.dipie...@gmail.com wrote:
yes
rows.export_to_csv_file(open(),colnames=[])
On Jun 1, 8:38 am, Bob handzh...@gmail.com wrote:
Is there any way to change colnames before exporting to CSV?
Now I have a query like
You'll need to show your code as well.
On 31 Май, 23:46, selecta gr...@delarue-berlin.de wrote:
ERROR:web2py:Traceback (most recent call last):
File /home/select/Dev/web2py/gluon/restricted.py, line 181, in
restricted
exec ccode in environment
File
Is there any way to change colnames before exporting to CSV?
Now I have a query like this:
students=db().select(db.students.email, db.students.name)
And I'm getting the excel with columns like:
students.email | students.name
Would be nice to change that to Email and Name, but can't find any
to Massimo (God Forbid) ?
The Technology Selection Risks etc etc..
Yours in no way Gruesomely,
Bob
)
It will be nice if Mail.Attachment can attach files right from blob
fields
On 19 Апр, 15:42, Bob handzh...@gmail.com wrote:
Can Mail.Attachment work with blob field data instead of a file path?
I guess I can just write the file and give the path then but wondered
if there is more elegant solution like
Can Mail.Attachment work with blob field data instead of a file path?
I guess I can just write the file and give the path then but wondered
if there is more elegant solution like passing the blob data directly
to Mail
Thanks
Hello, could someone answer a couple of questions:
1. Is it possible to manually crypt the password in the same way that
crud() does it?
The reason is that I need to manually update the user with
db().update() and can't use crud
2. In similar situation using SQLFORM. When updating the user it's
Thanks Anthony
Hiding with javascript will not work because it will get submitted
with javascript. But I will try the readable/writable trick, thanks
Bob
Thanks mates, I'm going to just use init for now, will wait for the
new routing for the future
On 18 Ян, 00:47, Jonathan Lundell jlund...@pobox.com wrote:
On Jan 17, 2011, at 1:06 PM, Bob wrote:
In attempt to get some response I'll try to clarify/simplify my
question.
After
I'm using a routing file which makes my app load by default on
localhost. It works well, but everywhere I have used the URL()
function it prepends the application name to the URL. This of course
no longer works, because my real URLs no longer need the name.
So is there any configuration that will
In attempt to get some response I'll try to clarify/simplify my
question.
After rewriting with routes.py I have my app accessible as:
http://127.0.0.1/
But all the internal links, created with the URL() function come as:
http://127.0.0.1/myapp/
And obviously they don't work.
Is there no way
I see no downsides and seems that Massimo confirmed that. I already
tried using return locals() and it works without issues.
On 14 Ян, 07:37, pbreit pbreitenb...@gmail.com wrote:
Wait, so are you saying that instead of return dict(items=items, blah=blah,
etc) we can just use return locals() on
Is there anything I am missing? Why would you want to manually create
a dictionary of all the vars you need in Web2py views when you simpli
can write
return locals()
and all the variables will be available in the view
35 matches
Mail list logo