You cannot post messages because only members can post, and you are not currently a member.
|
about web2py and this mailing list
|
| |
I have thought for a while on whether we needed rules of conduct about
this mailing list. So far I thought we did not and it has worked out
pretty well. Nevertheless, I should clarify what I think this list has
done for us, and what to do to continue work.
1) This is the place where some people ask questions... more »
|
|
New features not documented in Book (2nd edition)
|
| |
New features not documented in Book (2nd edition) 1.74.5 * auth.user_id (shortcut for auth.user.id, defaults to None if not logged in) * support for all native types on GAE (e.g. StringListProperty) * cache.ram usage statistics * no more auth menu in scaffolding * no more splash screen with -Q * export_to_csv_file has represent... more »
|
|
manually saving files
|
| |
...db.define_table('doc', Field('title','string'), Field('filename','upload') ) ...text_form=SQLFORM.factory(F ield('text_in','text',db.doc)) file_form=SQLFORM.factory(db.d oc) ... if text_form.accepts(request.vars ,formname='text_form'): #insert data into the doc table ... if file_form.accepts(request.vars ,formname='file_form'):... more »
|
|
why is "uploads" folder so special?
|
| |
I want to store an audio file in the uploads folder and then have it played by an embed: ...{{url=os.path.join(request. folder,URL (r=request,c='uploads',f='audi o',args=[audio_filename])}} <embed src="{{=url}} /> This won't work. Why not? (If I move everything over to the static folder and then change 'uploads' to 'static' in the URL statement, it... more »
|
|
my routes.py
|
| |
I want to share my routes.py file. The case is that I want only one application to be hosted on my site and I want to keep my urls clean. So instead of having url [link], I want to have url like [link]. In order to achieve this behavior, I wrote the routes.py as:... more »
|
|
property tax appeal site made w/ gluon?
|
| |
Just came across this oldie in the Chicago Python User Group archive: Massimo> Dear fellow chicagoans, Massimo> here is a new web site made 100% with python (with Gluon). Massimo> [link] Massimo> It can help you save money on property taxes. Mind that it is... more »
|
|
storing encrypted form data to database
|
| |
I would like to encrypt form data that will be stored into the database, not crypting the login password. I can think of two ways: 1. use dbio=False, or 2. use onvalidation function to encrypt the form data. But I'll need to declare the field as a blob in order to store the resulting binary data, and blob data won't be displayed in the SQLFORM... more »
|
|
Can you please turn off the message counter in the subject?
|
| |
All web2py emails include both the list name and (apparently) the message counter in the subject. As the message counter auto-increments, no subjects are truly the same and thus my 'k' key in Emacs's VM doesn't kill the entire subject. Any chance you can get rid of the counter? I can't see that it... more »
|
|
Are self references broken on GAE?
|
| |
Hi I have the following model: db.define_table("sites", SQLField("category_id",db.cate gory), SQLField("owner",db.auth_user, writable=False, readable=False), SQLField("url", "string",length=2048, notnull=True, default=None), SQLField("parent_site", "reference sites")) However this gives me the following error on GAE... more »
|
|
[ update all languages ] mix translation
|
| |
Hello I have broke my translation file for second time while 'update all languages' Most translation are shifted to up heighbour. And at the and there are 3-4 steps different: like ...{ '"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN':... more »
|
|
Best approach for keeping a session alive
|
| |
So I have my blog... and I'm writing a post, and I walk off and leave it, come back to post, and of course my session has expired. What is the best way to keep this session alive? I am thinking an AJAX call that is set to interval at every minute ? -Thadeus
|
|
|