using 1.87.3
The script to remove old session files assumes a 1 hour expiration.
Sessions with 'remember me' have 30 day expirations. The following
unpacks the session data from the file to check for this (no logging):
EXPIRATION_MINUTES=60
import os, time, stat, cPickle
path = os.path.join(reque
Using web2py 1.87.2 with sqlite
I need to store and retrieve a list of strings from a multple select.
I have a case where the list can be the empty list []. It will encode
to the datebase as '||', but will decode to ['|'], not [].
The current gluon.sql.py is:
def bar_encode(items):
return '|
Using web2py version 1.79.2
In building a form using SQLFORM I use:
form = SQLFORM(db.table, record, fields=myfields, labels=mylabels,
col3=mycol3, deletable=True)
where mylabels and mycol3 use XML() to wrap some HTML markup
PROBLEM:
Works fine, except when I try to delete a record I get:
Fil
e 'multipart/related' consists of a root part which
references other parts inline.
Content-Type 'multipart/mixed' is used for sending files with
different "Content-Type" headers inline or as attachments.
Whatever, it works for all my users now.
Bob
On Jun 9, 1
I send email out to 150 club members. No problems with simple emails.
However with attachments only PC users can see and download them,
while Mac uses cannot even see the attachments.
using web2py 1.79.1 on webfaction with webfaction email servers
My code (simplified):
from gluon.tools import Ma
Boring, useless time-waster of a subject, but I do have a significant
number if IE6 users on my site who cannot view my submenus.
I used the base.css, layout, and response.menu system that came with
the welcome application. The base.css is not easy to follow, at least
for me, but I did notice that
There is a typo error in line 257 of tools.py (latest version 1.74.3):
256.if reply_to != None:
257.payload['Reply-To'] = reply_to.encode(ecoding)
should be:
257.payload['Reply-To'] = reply_to.encode(encoding)
Web2py is such a great framework this is the only
7 matches
Mail list logo