[web2py] translation data in a database

2010-07-11 Thread max
I am writing a enterprise multi-linugual web application using web2py. I am having a hard time converting the csv files, language files in the text format. Is there any way that I can save the translation data in a database. thanks a lot.

[web2py] Re: translation data in a database

2010-07-11 Thread max
harder to organize them. max On 11 Jul., 14:10, Kenneth wrote: > The reason for not using a database is speed, I think. It is much > faster to read a text file than read the texts from a database. > > What kind of a problem do you have with the text files? > > Kenneth > >

[web2py] Re: translation data in a database

2010-07-13 Thread max
thanks a lot. On 12 Jul., 00:22, mdipierro wrote: > My advice it keep using the web2py translation but create a database > copy and work on it. > This may be useful > web2py/scripts/sync_languages.py > > On 11 Lug, 17:16, max wrote: > > > thanks for the reply. &g

[web2py] uft 8

2010-08-02 Thread max
dera develpoers, i am adding just a german ä in the menu list. like this. T('täter') for translation and the web2py shows it false in the browser, althoguth i have setup utf-8. in layout.html does anybody have similar experiences?

[web2py] Re: uft 8

2010-08-03 Thread max
I do know my finnish > äÄöÖåÅ all work for me. > Best Regards, > Jason > > On Mon, 2010-08-02 at 02:09 -0700, max wrote: > > dera develpoers, > > > i am adding  just a german ä in the menu list. like this. > > T('täter') for translation > > and the web2

[web2py] Re: uft 8

2010-08-03 Thread max
I do know my finnish > äÄöÖåÅ all work for me. > Best Regards, > Jason > > On Mon, 2010-08-02 at 02:09 -0700, max wrote: > > dera develpoers, > > > i am adding  just a german ä in the menu list. like this. > > T('täter') for translation > > and the web2

[web2py] Re: uft 8

2010-08-03 Thread max
I do know my finnish > äÄöÖåÅ all work for me. > Best Regards, > Jason > > On Mon, 2010-08-02 at 02:09 -0700, max wrote: > > dera develpoers, > > > i am adding  just a german ä in the menu list. like this. > > T('täter') for translation > > and the web2

[web2py] soaplib

2010-02-09 Thread max
I am trying to generate a soap web client for a wsdl service. With java, i can generate all the soap operations from the swdl file. Is there any way, I could do it in python? the zs1-2 library seems to be depreciated for python2.6 In web discussions, I see python soap libraries are always problemf

[web2py] auto complete for more than one field.

2010-03-02 Thread max
I tried the following example in the book for auto complete, but it didn't work, def month_input(): can't understandy why, there is no ouput for the simple example. then i tried the following example, clienttools / autosuggest, which worked for me. but now i have the problem of having more than

[web2py] Customize SQLForm with autocomplete widget

2010-03-05 Thread max
I have a SQLForm with a widget , but i want to output it in a customized way. I tried the following example in book page 211. {{extend 'layout.html'}} Your name is But then the autocmplete widget doesn't work. My requirement is that I display the fields horizontally. can somebody give

[web2py:26365] UTf-8 output

2009-07-12 Thread max
same data show them correctly. Some hints in this usergroup such as #!/usr/bin/env python # -*- coding: UTF-8 -* in the default.py didn't help me. max --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

[web2py:26396] Re: UTf-8 output

2009-07-13 Thread max
you provide an example of what you mean by "not displayed > correcly"? > > On Jul 12, 2:49 pm, max wrote: > > > I am implementing a search application using web2py. > > I get the data from a mysql data base where the data is inserted in > > utf-8. > > Bu

[web2py:26398] Re: UTf-8 output

2009-07-13 Thread max
that you might > be double-encoding (see the length of utf-8 chars -> if they are 4 or > more, you're encoding already encoded data). > > On Jul 12, 9:49 pm, max wrote: > > > I am implementing a search application using web2py. > > I get the data from a mysql data ba

[web2py:26402] Re: UTf-8 output

2009-07-13 Thread max
at has > the charset mismatched, compared to whoever is writing the DB. That's > why I said do SHOW TABLE MYTABLE. Either mytable is 8859-1 and you're > writing utf8 to it, or the other way round (did you fill that table > from PHP without defining the encoding ?). > > On

[web2py:27615] executing a sql script

2009-07-30 Thread max
I am trying to execute upload a xml parser into my application and parse it on the fly and insert the data into a database which is connected to the web2py. I have already written a program to upload the xml file and the files (which are desribed in the xml) seperately. Can somebody give me so

[web2py:27682] Re: executing a sql script

2009-07-31 Thread max
file copy mechanism, how can i execute this script using web2py On 30 Jul., 17:49, mdipierro wrote: > Is you problem parsing the xml data? > I am not expert but Python comes with this > parser:http://docs.python.org/library/xml.sax.html > > massimo > > On Jul 30, 8:49 am, m

[web2py:28083] utf- 8 chinese characters

2009-08-06 Thread max
I am inserting parsed text from a utf-8 xml file into a mysql database. there is a little problem, where i have to clarify. In my xml file i have entries like this. 高中语文教学目标与检测(下编)<中学语文 when i parse the data only the second entry is correctly inserted. I use the myDatabase.executesql()

[web2py:28084] get the row id from form

2009-08-06 Thread max
i am inserting Form values into a postgres database. For on-the fly parsing of other data, i need the entry id of the database, which was inserted by my form. I am getting this values by calculating field values and it is so ugly. Is there any web2py way of just getting the entry id of the curre

[web2py:28143] ldap authentification

2009-08-07 Thread max
How can i configure the Active directory authentification using CAS? should i have to uncomment and edit the "" auth.settings.login_methods.append(ldap_auth (mode='ad',server='my.domain.controller',base_dn="ou=Users,dc=domain,dc=com",bind_dn="cn=Administrator,ou=Users,d c=domain,dc=com",bind_pass=

[web2py:28155] Re: ldap authentification

2009-08-07 Thread max
thanks, fran On 7 Aug., 14:10, Fran wrote: > On Aug 7, 8:19 am, max wrote: > > > How can i configure the Active directory authentification using CAS? > > should i have to uncomment and edit the > > "" > > auth.settings.login_methods.append(ldap_auth >

[web2py:28412] Chceking the url

2009-08-12 Thread max
I am using to dynamically load the pictures. Sometimes the pictures are not for some ids. Is there any way to chcke if the picture is available using the request? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

[web2py:28429] Re: Chceking the url

2009-08-12 Thread max
thanks massimo On 12 Aug., 12:02, mdipierro wrote: > Should be > > > > > you can do > > {{import os}} > {{if os.path.exists(os.path.join(request.folder,'static/my_pics/%s' % > myrows.id)):}} > > {{else:}} > No image > {{pass}}

[web2py:28811] Re: simple join in DAL

2009-08-17 Thread max
.keywords.schlagwortzo.like('%%%s%%' % my_search)) > > table details does not have a titel (nor title) field and table > keywords does not have a schlagwortzo field. > > Something is missing. > > On Aug 17, 8:19 am, max wrote: > > > I am having a small

[web2py:28809] simple join in DAL

2009-08-17 Thread max
I am having a small problem, that i can't solve using the example in book. I want to search in two tables for one search word and output only rows in one table. I can't write the joined statement using web2py DAL commands. First Table: my_db.define_table('details', SQLField('lokid'), SQLField(

[web2py:28818] Re: simple join in DAL

2009-08-17 Thread max
my_search)) q2 = (my_db.keywords.keyword.like('%%%s%%' % my_search)) __ On 17 Aug., 16:10, mdipierro wrote: > Sorry, I still think your tables have something missing since q1 and > q2 reference fields that do not exist. > > On Aug 17, 8:47 am, max wrote

[web2py:28884] Re: simple join in DAL

2009-08-18 Thread max
id for row > in s2]))) > > Perhaps somebody else has a better suggestion. > > On Aug 17, 9:52 am, max wrote: > > > sorry for the failure in copy and pasting as i have a lot more fields > > and i just kept it simple. > > > First Table: > > my_db.define_table(&#x

[web2py:28890] Re: simple join in DAL

2009-08-18 Thread max
erro wrote: > for i in s: > result_dict[i]=(my_db.details.lokid == i).select > (my_db.details.row1,my_db.details.row2,my_db.details.row3)[0] > > or > > for i in s: > result_dict[i]=(my_db.details.lokid == i).select > (my_db.details.row1,my_db.details.row2,my_db.detai

[web2py:28893] Issue Solved: simple join in DAL

2009-08-18 Thread max
t; {{=XML(record.lokid)}} >{{pass}} > {{pass}} > > anyway, if result is a dict, items will not be sorted. > > On Aug 18, 7:32 am, max wrote: > > > that doesn't give my desired result and i get the failure in my view > > when i want to run throught the dictionar

[web2py:29006] select box

2009-08-20 Thread max
i just want to make a select box in the form and , i get the select box , but can't get the values as i intedend. there's something wrong in the way i write. can someone just give me a tipp? form2 = FORM(INPUT(SELECT(_name="tipo",OPTION('20','40')), INPUT (_type='submit', _value=" Search")) --~

[web2py:29025] Solved: select box

2009-08-20 Thread max
Thanks. that was it. On Aug 20, 4:09 pm, "mr.freeze" wrote: > Does this do what you want? > form = FORM(SELECT('20','40',_name="tipo"), INPUT(_type='submit', > _value=" Search")) > > On Aug 20, 8:47 am, max wrote

[web2py:29315] ldap authentification AD

2009-08-25 Thread max
ontrib.login_methods.ldap_auth import ldap_auth File "/srv/www/ web2py/gluon/contrib/login_methods/ldap_auth.py", line 1, in import ldapImportError: No module named ldap But if i insert the code in the controller the import shows no failures. does anybody have any idea? On 7 Aug., 15

[web2py:29320] Solved: ldap authentification AD

2009-08-25 Thread max
thanks. now i installed it. On 25 Aug., 11:52, mdipierro wrote: > Do you have python ldap API installed? It does not come with web2py. > > On Aug 25, 4:41 am, max wrote: > > > I tried to add the following code in the db.py > > > from gluon.contrib.login_methods

[web2py:29323] Re: Solved: ldap authentification AD

2009-08-25 Thread max
d('ctime','integer',default=now), SQLField('url'), SQLField('code'), SQLField('cas_user',db.cas_user)) db.cas_user.name.requires=IS_NOT_EMPTY() db.cas_user.email.requires=[IS_EMAIL(),IS_NOT_IN_DB (d

[web2py:29325] ldap authentification AD cas

2009-08-25 Thread max
d('ctime','integer',default=now), SQLField('url'), SQLField('code'), SQLField('cas_user',db.cas_user)) db.cas_user.name.requires=IS_NOT_EMPTY() db.cas_user.email.requires=[IS_EMAIL(),IS_NOT_IN_DB (db,&

[web2py:29375] compressing the data sent through network

2009-08-26 Thread max
Does anybody have experience in sending compressed data using web2py? I am writing a multi-langual, multimedia search engine using web2py and in some of my search results i get thousands of images and it takes longer for them to load althogh the calculation in backend fast enough ist. If somebo

[web2py:29378] Re: compressing the data sent through network

2009-08-26 Thread max
thanks massimo i use Apache+mod_wsgi and i will try it. On 26 Aug., 11:35, mdipierro wrote: > If you use Apache+mod_wsgi, you can configure apache to do it. The > built-in web server does support compression. > > Massimo > > On Aug 26, 4:06 am, max wrote: > > > Does

[web2py:29381] Re: web2py book, 2nd Ed

2009-08-26 Thread max
i am having the paper version of web2py. is there any way that i can get the rest pages, till i persuade my boss to buy me the new online version. On 26 Aug., 11:34, mdipierro wrote: > The new web2py book is available on lulu.com > > http://www.lulu.com/content/e-book/web2py/4968879 > >

[web2py:29384] ldap authentification AD

2009-08-26 Thread max
i am having the active active directory authentification problm althoght i have tried lot of different variation using cas. I will be happy if some one just show me a simple model/db.py where it is correctly configured. i exclude misbaviors from my Active Directory Autentification server as I get

[web2py:29406] Re: ldap authentification AD

2009-08-26 Thread max
> > Do you have this needed line anywhere? > from gluon.contrib.login_methods.ldap_auth import ldap_auth Yes. > > Do you have ldap installed in the version of Python that you're > running? > try: > import ldap i installed python-ldap 2.3.9 and import ldap functions without failures. > > > auth.s

[web2py:29408] Re: ldap authentification AD

2009-08-26 Thread max
Hi Fran, I also tried this one using another example. import ldap l=ldap.initialize('ldap://ad.mydomain.com') l.simple_bind_s('cn=myuser ou=users,ou=kjc,ou=institute,dc=ad,dc=mydomain,dc=com','password') then i get (97, []) On 26 Aug., 14:10, max wrote: &g

[web2py:29682] unicode in request.args

2009-08-31 Thread max
I have a unicode string in my multilinugal search. When I insert a german alphabet ß. "großbritannien " . I got this code in th my search. region_search=gro%C3%9Fbritannien/time_search=1800/page=153/box=20/ I want to pass this word and I get an invalid request in the server. --~--~-

[web2py:29699] Re: Comma creates an invalid request?

2009-08-31 Thread max
I have the same problem for other language symbols such as ö ,ä, ß in German. What do you mean routes_in for it? My symbols look like %C3%9F for ß. On 31 Aug., 14:56, mdipierro wrote: > Your url does not pass validation and it is invalid. To allow this you > must create a routes_in for fit.

[web2py:29783] Re: Comma creates an invalid request?

2009-09-01 Thread max
I am interested in knowing how can i do this for % routes_in=(('(?P.*?),(?P.*)':'\g?other=\g'),) What does p ,q and other define in the routes_in file? On 1 Sep., 03:49, mdipierro wrote: > In my mind I think of a URL as a filename,so I think of request.args > as objects that can be used to bu

[web2py:29969] Book2 and LDAP auth

2009-09-03 Thread max
Now I bought the second version of the book to read more about the ldap authentication. I did the following and i can't understand why it doesn't work. Here is my controller in the order from gluon.tools import * auth=Auth(globals(),db) # authentication/ authorization auth.

[web2py:30124] Is auth comptible with MS active directory?

2009-09-05 Thread max
After lots of tests and research of ldap_auth , I have some questions 1. Does the mode="ad" identify the Active directory in ldap_ath_aux? 2. In my active directory server to use "search_ext_s" i need a administrator account, What i think is general to all ad servers. How can i define it in ld

[web2py:30288] Re: Is auth comptible with MS active directory?

2009-09-07 Thread max
#print entry[1]['unicodePwd'][0] print entry[1]['sAMAccountName'][0] #print entry[1]['memberOf'] #print entry[1]['proxyAddresses'][0] print entry[1]['uidNumber'][0] cou

[web2py:30297] Re: Is auth comptible with MS active directory?

2009-09-07 Thread max
ve the hash in the local auth database table.) Thank youvery much! On 7 Sep., 17:04, mdipierro wrote: > It is not clear from your message if this script works and you provide > it as an example or if not. > > Massimo > > On Sep 7, 9:26 am, max wrote: > > > Hi Every

[web2py:31455] full text index for postgres

2009-09-22 Thread max
I have created a full text index on a postgres database. Is there any web2py type search syntax for tsvector search without using the sql syntax? This is a example way how i create the fulltext index. 1. ALTER TABLE blog_entry ADD COLUMN body_tsv tsvector; 2. CREATE TRIGGER tsvectorupdate BEFO

[web2py:31596] Re: full text index for postgres

2009-09-24 Thread max
t; as > > db("body_tsv @@ plainto_tsquery('hello world')").select > (db.blog_entry.title) > > I have not tried it but it should work. > > Massimo > > On Sep 22, 4:34 am, max wrote: > > > I have created a full text index on a postgres database. >

[web2py:32407] RESTful Web Services

2009-10-07 Thread max
Dear developers. My web2py search engine needs get content from a REST API from a Java application server. How would I do it best with Web2py? Has somebody any experience with web2py or python rest clietns. I also need to implement REST Services through Web2py ? Is there any example applicatio

[web2py:33192] Customize user login

2009-10-20 Thread max
As per Book (page 241 version 2) I have defined my own table for the authentification in the db.py In the database i see my new fields. auth=Auth(globals(),db) # authentication/ authorization auth_table = db.define_table( auth.settings.table_user_name, Field('cluster_user_

[web2py] default values in options widget

2010-12-21 Thread max
form = crud.create(db.mytable) return dict(form = form, values = values) def validate_values(form): for value in form.vars: if form.vars[value] == 'unknown': form.vars[value] = None In this special case the user have to select 'unknown' if he didn't know the value during record creation, but later (during update), the user must not select a value, None values are automatically set to unknown. thanks max

[web2py] Re: default values in options widget

2010-12-21 Thread max
ns_1.requires = [IS_IN_SET({'option_1' : 'Option 1', 'option_2' : 'Option 2', 'option_3 : 'Option 3'', 'option_4' : 'Option 4', None: 'unknown'}, zero = None)] documentation: IS_IN_SET({'id1':'first label', 'id2':'second label'})('id1') http://web2py.com/examples/static/epydoc/web2py.gluon.validators.IS_IN_SET-class.html thanks max

[web2py] Re: default values in options widget

2010-12-21 Thread max
ok actually I thought I have sovled my problem with writing None values to the database with this: >>> IS_IN_SET({None :'unknown', 'option_1:'Option 1'}, zero = None) in stead of: >>> IS_IN_SET(['unknown', 'option_1'], zero = None) but you are right, this only works when I use curd.create the

[web2py] Change action of the submit button

2012-07-28 Thread max
I have a requirement , that when I post values of a crud form, that values of some fields copied to another table. How can I add this action to the submit button or inside the procedure? --

[web2py] default tab key behavior change in fields

2012-08-13 Thread max
I want to add the enter key instead of tab keys to the forms. is it possible to intergrate into web2py. --

[web2py] Re: default tab key behavior change in fields

2012-08-13 Thread max
thank anthony. Am Montag, 13. August 2012 15:30:24 UTC+2 schrieb Anthony: > > On Monday, August 13, 2012 9:24:13 AM UTC-4, max wrote: >> >> I want to add the enter key instead of tab keys to the forms. >> is it possible to intergrate into web2py. >> > > Sur

[web2py] enter a 'comma' instead of dot for floating point numbers.

2012-08-13 Thread max
One of my users use german keyboard. is there any possibility for the dot in a floating point number identified as comma. for me global replacing is also o.k. Example: 1223.12 as 122,23 for all the values in forms. --

Re: [web2py] enter a 'comma' instead of dot for floating point numbers.

2012-08-13 Thread max
thank a lot. helps me to do what i want. Am Montag, 13. August 2012 16:00:17 UTC+2 schrieb rochacbruno: > > take a look on custom validators > http://rochacbruno.com.br/custom-validator-for-web2py-forms/ > Em 13/08/2012 10:54, "max" > escreveu: > >> One o

[web2py] Re: default tab key behavior change in fields

2012-08-20 Thread max
hi anthony, i can include the change in the views/xyz.html , but how cupld i set it globally for all the forms? Am Montag, 13. August 2012 15:50:25 UTC+2 schrieb max: > > thank anthony. > > Am Montag, 13. August 2012 15:30:24 UTC+2 schrieb Anthony: >> >> On Monday, Au

[web2py] Re: default tab key behavior change in fields

2012-08-21 Thread max
> Anthony > > On Monday, August 20, 2012 8:56:18 AM UTC-4, max wrote: >> >> hi anthony, i can include the change in the views/xyz.html , but how >> cupld i set it globally for all the forms? >> >> >> Am Montag, 13. August 2012 15:50:25 UTC+2 schrieb max

[web2py] Re: default tab key behavior change in fields

2012-08-21 Thread max
return false; //event.preventDefault(); } } } Am Dienstag, 21. August 2012 15:13:21 UTC+2 schrieb max: > > Hi, > This is the script, i have generated but anyhow, it jumps to next key and > tries to validate and the it looses focus. > Another problem is, my script only work

[web2py] Form field deactivate

2012-05-22 Thread max
I have a table with two fields. EN | SP Hello | Hola I | Yo Both the fields A and B represent the same vale in two languages. I want in a drop-down field , the Spanish value automatically selected, when english value is set to a specific word. It should also work , if I set the spanish wor

[web2py] drop down list as auto-complete

2012-12-29 Thread max
In my dependancy tables I have thousands of entries. e.g. frg.define_table('group', Field('name','string'), ) frg.define_table('kundenstamm', Field('a20',frg.group), ) frg.kundenstamm.a20.requires = IS_IN_DB(frg, frg.group.id, '%(id)s , %(name)s',zero=T('Choose')) I have thousands of val

[web2py] Re: postgres "there is already a transaction in progress"

2012-01-04 Thread max
makes me very nervous if hundred of warnings appear every day ;) But maybe the web2py-"problem" of transaction handling James suggested is the reason, but i don't have enough detail knowledge of the DAL. Does anybody have the same problem or recently solved it? Any suggestions? M

[web2py] DAL reserved keywords (Inherited method from dictionary)

2011-09-05 Thread max
the field: db = DAL('postgres://testuser:testpassword@testhost/testdb') db.define_table('testtab', Field('test'), Field('values')) db(db.testtab.values).select() Do you have any ideas for a workaround or is there a possibility avoid this problem. Greets Max

[web2py] Size of the list:string input box

2011-05-21 Thread max
I am using the list string to enter data where the number of input texts. Can I customize the size of the input boxes in one form because i am inserting large texts? Can't use the type 'text' because the number of entries is not previuosly known.

[web2py] making table data avaialable to a javascript application

2011-05-26 Thread max
Hi, I am trying to integrate my database data into a ajax application as follows http://dev.sencha.com/deploy/ext-4.0.1/examples/view/animated-dataview.html How would I open/interface my table data to the java script application? Thanks

[web2py] template in crud

2011-05-30 Thread max
Hi all, I have been searching for a customizable way to select and deselect fields. i have found this way tempate_01 = {'myfiled':False, 'myscofield':True} read this values in the db defitionion. Field('myfield', type='text',readable=template_01'myfiled']), is this a good way to do this? Becau

[web2py] Re: template in crud

2011-06-03 Thread max
t; > If you need to hide field base on user group membership you will have to > define the readable/writable field for each group in your function... You > could also use function decorators and CRUD... > > Richard > > On Mon, May 30, 2011 at 10:16 AM, max wrote: > > Hi all,

[web2py] Re: Size of the list:string input box

2011-06-03 Thread max
thanks. On May 21, 5:14 pm, Anthony wrote: > On Saturday, May 21, 2011 3:56:13 AM UTC-4, max wrote: > > > I am using the   list string to enter data where the number of input > > texts. > > Can I customize the size of the input boxes  in one form because i am > > in

[web2py] splitting the field values of a list:string field

2011-06-03 Thread max
I have the following use case. -- User has to input a unknown number of strings in a pref-defined format. eg. a#b#c , a1#b1#c1, a2#b1#c2 Currently i am using the list:string and allow the user to directly add the string with a hash sign. But I would prefer to format the input like this, myfie

[web2py] genrate daily value form for a month

2011-06-11 Thread max
I am trying to generate a custom form depending on he month for user to add values to each day key is there any idea how to do it dynamically?

[web2py] entry level permissions

2011-06-17 Thread max
i want to give for ceratin records of a table different user permissions. can the authentication of web2py used for this?

[web2py] Re: entry level permissions

2011-06-17 Thread max
thanks On Jun 17, 8:17 pm, Anthony wrote: > On Friday, June 17, 2011 2:08:45 PM UTC-4, max wrote: > > > i want to give for ceratin records of a table different user > > permissions. > > can the authentication of web2py used for this? > > Look at add_permission a

[web2py] FORM Field change keyboary reaction type

2011-06-19 Thread max
Is there any way to change the behaviour of the field in web2py. I want to use the ente rkey in the number side of the keyboard for jumping into the next field. looks like there is something similar in the multiple value columns.

[web2py] Re: FORM Field change keyboary reaction type

2011-06-20 Thread max
thanks a lot for the advice. On Jun 19, 6:58 pm, pbreit wrote: > Any behaviors you see are provided by the browser. What you are seeing on a > multi-down is that some browsers let you press enter to select the current > entry and move to the next field. To do what you want, you'd need to trap >

[web2py] update database row without changing contents

2013-11-19 Thread max
I have two seperate tables, which are updated using web2py forms. first table has fields using calculate attbitute of the values from second table. I want to update the first table, when i change something something in the second table. is that possible? -- Resources: - http://web2py.com - ht

[web2py] Re: update database row without changing contents

2013-11-20 Thread max
thanks a lot On Tuesday, November 19, 2013 10:42:52 PM UTC+1, Niphlod wrote: > > use callbacks: they'll make your life easier > > > http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#before-and-after-callbacks > > On Tuesday, November 19, 2013 9

Re: [web2py] Re: web2py and python3

2018-12-21 Thread max
*Did some quick tests with python 3.5.2 and it seems now web2py master branch is python3 compatible.* *Is there anything , I should worry before switching it to a production modus.* On Thursday, May 11, 2017 at 2:08:43 PM UTC+2, Richard wrote: > > No problem... I can't say when Massimo's

[web2py] sqlfrom grid results none

2014-10-14 Thread max
i see everywhere, there is none returned in the , SQLFORM.grid when there is no value in the table. is there a way to globally disable this. i can do a dom manipulation using a jquery function, which is not very clean. has somebody any idea. thanks for any advice. dulip -- Resources: - htt

[web2py] Intergrating another python tool in web2py

2015-04-21 Thread max
I would like to runs a typesetting tool which generates a TEI xml from a word doc , after a file is uploaded to web2py. I have the ubuntu script configuration from web2py with the user www-data running the web2py framework. I have given the typesetting script the www-data rights , but it can

[web2py] Cant logout

2011-01-31 Thread Max Slimmer
index method in the controller, however the @auth.requires_login() doesnt think that auth is None and in fact it isn't. I found that if I add session.clear() to the logout function all works OK. Is there an explanation for this. If nothing else, maybe the session.clear() should be included in distro. thanks, max

Re: [web2py] Re: Slow TTFB debugging with Wing IDE

2016-04-13 Thread Max Slimmer
gt; >>>> Thanks, >>>> >>> -- > 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 t