[web2py] 2.0.6: "Required=True" not enforced by DAL?

2012-09-05 Thread mjm
I have created simple table: db.define_table('hoortoestel', # algemeen Field('merk', type='string', required=True, ), Field('type', type='string', required=True, ), ... When trying to enter a new record in appadmin I noticed that when not entering anything in either field, the new record data

[web2py] 2.0.6 bug? "required=True" not enforced

2012-09-05 Thread mjm
I have defined a simple table: db.define_table('hoortoestel', # algemeen Field('merk', type='string', required=True, ), Field('type', type='string', required=True, ), ... If I then try to enter a new record in appadmin and do not enter anything for the fields, the record is still accepted and

[web2py] No CMS for Web2Py?

2013-03-12 Thread mjm
I really like Web2Py to get things done without much fuss. But I am somewhat surprised there seems to be no CMS for W2P. Projects mentioned in this context on this list Instant Press and Movuca are not very active: Instant Press has seen no releases since 2010. Movuca almost no commits in the

[web2py] Re: No CMS for Web2Py?

2013-03-12 Thread mjm
permissions. Attachments inherit > permissions. If you think of a page as a folder, this is a CMS lite. ;-) > > There is InstantPress, there is movu.ca and there is w2cms ( > https://github.com/mdipierro/w2cms experimental to be revived). > > On Tuesday, 12 March 2013 16:31:23 UTC-5, mj

[web2py] Re: No CMS for Web2Py?

2013-03-24 Thread mjm
Hi Loïc, This looks very promising! Thx for the tip. Marcel -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For mo

[web2py] Re: No CMS for Web2Py?

2013-03-24 Thread mjm
atible from > the start, so an abandoned project should work just fine in the latest > version of Web2py. The way it's laid out, it makes modifying code easy as > well. Don't be afraid to pick up an older CMS and run with it. > > On Tuesday, March 12, 2013 4:06:09 P

[web2py] CAS provider: additional fields only picked up at creation of local user

2013-04-24 Thread mjm
The docs at http://web2py.com/books/default/chapter/29/09#Central-Authentication-Service say: "Thanks to CAS 2.0 all fields that are readable on the provider and have a corresponding field in the auth_user table of the consumer will be copied automatically." This is correct but does not mentio

[web2py] Use DAL connection pool for MongoDB?

2013-04-24 Thread mjm
DAL now supports MongoDB which is nice for auth and forms. But I'd like to use the MongoDB query facilities (and maybe GridFS). Is it possible to obtain a connection to the database through DAL or should just use pymongo's MongoClient, as if it was another application? TIA Marcel -- --- Yo

[web2py] Re: Use DAL connection pool for MongoDB?

2013-04-25 Thread mjm
Thanks! -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_o

[web2py] Is LOAD broken in Web2Py github repo?

2013-07-09 Thread mjm
LOADed components don't seem to work anymore in the development version of w2p (2.6.0-development+timestamp.2013.07.08.01.37.54). As a test I modified the welcome to have this controller: def loaded(): return SQLFORM.grid(db.auth_user, csv=False) And this view: {{extend 'layout.html'}} {{

[web2py] Re: Reusing a prefilled, readonly SQLFORM.factory form?

2014-02-17 Thread mjm
I observed the same behavior for SQLFORM.factory generated read-only forms. I ran into this when I had a table with lots of fields for which I wanted to create forms that displayed/edited only a selection of the fields. SQLFORM.factory is the way to go. Having the readonly form ignore the prepo