[web2py] Re: Why web2pyslices.com is down? What we can do?

2015-05-09 Thread Carlos Zenteno
Maybe maintenance??? On Saturday, May 9, 2015 at 4:54:51 AM UTC-5, Carlos A. Armenta Castro wrote: Im trying to acces web2pyslices.com but the site is down ( http://downforeveryoneorjustme.com/web2pyslices.com ). Anyone knows the reason? =( -- Resources: - http://web2py.com -

[web2py] Re: how does search work on sql grid? (search over a whole table instead of a field)

2015-05-09 Thread Anthony
See https://groups.google.com/d/msg/web2py/WvGH9XAH160/TjzYVCDBzQ0J Anthony On Saturday, May 9, 2015 at 9:57:03 PM UTC-4, Kenneth wrote: I am curious how I can implement the search widget used on sql grid. It seems to me that sql grid searche widget searches a keword over a whole table

[web2py] Re: Prince - Print Python Html to PDF

2015-05-09 Thread Kenneth
You can check out this post. https://groups.google.com/forum/?fromgroups#!topic/web2py/B21c-PgscJg On Monday, April 20, 2015 at 3:52:10 PM UTC-4, Ovidio Marinho wrote: Has anyone tried to use it with web2py? http://www.princexml.com/doc/9.0/python/ [image:

[web2py] 3gp

2015-05-09 Thread Ovidio Marinho
Alguem ja rodou 3gp no web2py? Good Night , someone already performed 3gp files? [image: http://itjp.net.br] http://itjp.net.br http://itjp.net.b http://itjp.net.brr *Ovidio Marinho Falcao Neto* ovidio...@gmail.com

[web2py] Re: Tutorial: Populating a Handsontable Grid using web2py

2015-05-09 Thread Kenneth
Look great, Tom. Thank you for sharing. I wonder what we can implement with this instead of CRUD. On Thursday, April 9, 2015 at 11:49:02 PM UTC-4, Tom Campbell wrote: Niphlod helped me with some crucial code getting Handsontable to work with web2py so I wrote this: web2py Handsontable

[web2py] Re: Tutorial: Populating a Handsontable Grid using web2py

2015-05-09 Thread Tom Campbell
Done and done, Ken--another blog post floating in the wind. Fixed the CRUD thing and a few other items. PyGuy web2py Handsontable tutorial #1: Populating a Handsontable grid using web2py http://www.pyguy.com/web2py/web2py-handsontable-tutorial-1-populating-a-handsontable-grid-using-web2py/

[web2py] Re: Tutorial: Populating a Handsontable Grid using web2py

2015-05-09 Thread Ron Chatterjee
I tried to go to slice and its kind of sliced off instead of slides on. lol. Any ideas? On Saturday, May 9, 2015 at 8:51:11 PM UTC-4, Kenneth wrote: Look great, Tom. Thank you for sharing. I wonder what we can implement with this instead of CRUD. On Thursday, April 9, 2015 at 11:49:02 PM

[web2py] Re: Mongodb api reference

2015-05-09 Thread Ron Chatterjee
Saying, they can be used interchangeably if warranted. On Saturday, May 9, 2015 at 9:34:31 AM UTC-4, Alan Etkin wrote: Question: is there an equivalent db().select(db.blog.author) in pymongo api? For example if I use the above implementation in pymongo: db1.blog.author (wouldn’t work).

[web2py] Re: instagram login

2015-05-09 Thread Kenneth
This is what I've added on db.py. Hope this helps. == from instagram.client import InstagramAPI access_token = access_token client_secret= client_secret client_id = client_id redirect_uri = redirect_uri auth = Auth(db) auth_table = db.define_table(

[web2py] how does search work on sql grid? (search over a whole table instead of a field)

2015-05-09 Thread Kenneth
I am curious how I can implement the search widget used on sql grid. It seems to me that sql grid searche widget searches a keword over a whole table and show the result. Can anyone tell me how to create a search widget to search a keyword on a table instead of selecting fields? Thank you.

[web2py] SQLFORM.grid multiple left joins and where clause

2015-05-09 Thread A36_Marty
A few novice questions while learning the SQLFORM.grid on a throw-away app. My apologies for the basic questions *1) How to show all users (auth_user) and related group roles (auth_group.role) only for certain auth_groups?* I can display *all* groups with the following code, but can't seem

[web2py] Store Selected DB Data in Array

2015-05-09 Thread fuuby
Hello Everyone :) I just startet using Web2Py and I currently work on a little project. Therefor I want to store the results from a sql request (SQLTABLE(db().select(something))) into an array (Each result into one array slot) Like I said, I am very new to this and dont really know how to do

[web2py] web2py ldap

2015-05-09 Thread Matheus Suffi
Hello, have an ActiveDirectory Server and, I was wondering how to catch all user data and return the view , i can connect normally , just need to know how to get all user data -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source

[web2py] Why web2pyslices.com is down? What we can do?

2015-05-09 Thread Carlos A. Armenta Castro
Im trying to acces web2pyslices.com but the site is down ( http://downforeveryoneorjustme.com/web2pyslices.com ). Anyone knows the reason? =( -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: web2pyslices down

2015-05-09 Thread Carlos A. Armenta Castro
Web2pysplices.com is on sale I think we need to rescue Web2pysplices.com because is part of our web2py movement. How can we help? any ideas? El miércoles, 19 de junio de 2013, 3:51:26 (UTC-7), Johann Spies escribió: I get a 404 error (Not found) when I try to access web2pyslices.com

[web2py] MSSQL and auth.signature

2015-05-09 Thread Claudinei Fernandes
Hi, Has anyone used auth.signature attribute with MSSQL database? For me it is returning the following error: class 'gluon.contrib.pypyodbc.ProgrammingError' (u'42000', u[42000] [Microsoft][ODBC SQL Server Driver][SQL Server]Introducing FOREIGN KEY constraint

[web2py] Store DB Data in Array

2015-05-09 Thread fuuby
Hello Everyone :) I just startet using Web2py and currently I am working on a little project. Therefor I want to store data I selected with a SQLTABLE(db().select(something)) from my database into a array (each result into a seperate array slot). Like I said, I am new to this and dont really

[web2py] Mongodb api reference

2015-05-09 Thread Alan Etkin
I'm bringing to the list some new user's questions It will b nice to document all the DAL syntax n equivalent pymongo api. Not sure what he meant, but documenting the pymongo api makes little sense (it is already documented by the authors). IMO we should instead document the way of accessing

Re: [web2py] web2py ldap

2015-05-09 Thread Massimiliano
It's a question related to ldap not to web2py... Anyway this should work. Teste on openldap I can't try AD: import ldap LDAP_URI = ldap://127.0.0.1:389; SEARCH_BASE = ou=users, dc=domain,dc=lan QUERY = 'cn=*' try: l = ldap.initialize(LDAP_URI) l.protocol_version = ldap.VERSION3

[web2py] Another kind of conditional models, maybe?

2015-05-09 Thread Octavian G
Hello, I'd like to get the community's opinion about a design pattern. I have about 35 tables at the moment. I'm not happy with the performance, yet. I plan to use memcache extensively. Right now, here's how things are set up: 1. Controllers create a variables dict to pass to views. Ex:

[web2py] Re: Mongodb api reference

2015-05-09 Thread Ron Chatterjee
On this note: I have this blog post let’s say (with mongodb connection): db.define_table('blog', Field('author', 'string', requires = IS_NOT_EMPTY()), Field('date', 'datetime', default = request.now), Field('text', 'text')) I can do: print

Re: [web2py] Re: from desktop to web2py

2015-05-09 Thread Marcello Console
Thank you again Stifan. I solved the poresent problem, but i suppose in a not efficiente and even les elegant way... The second form, should be in the the second view, am i right? To face, i need to change the in memory db to oon disk, and working with apache configuration for let me pass all the

[web2py] Re: Store Selected DB Data in Array

2015-05-09 Thread 黄祥
perhaps you can use session for store the db data query ref: http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#as_dict-and-as_list best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source

Re: [web2py] Re: Creating a grid based on queries pertaining to a primary db table, and a table that references it

2015-05-09 Thread Massimiliano
Maybe something like that? db.define_table('person', Field('first_name'), Field('last_name'), format='%(first_name)s') db.define_table('thing', Field('name'), Field('owner_id', 'reference person'), format='%(name)s') t = db.thing p = db.person

[web2py] Re: Mongodb api reference

2015-05-09 Thread Alan Etkin
Question: is there an equivalent db().select(db.blog.author) in pymongo api? For example if I use the above implementation in pymongo: db1.blog.author (wouldn’t work). But I can get specific author db1.blog.find({‘author’:’Ron’}) That is also equivalent to: db(db.blog.author ==

[web2py] Re: web2pyslices down

2015-05-09 Thread Michael Beller
In the meantime ... http://web2pyslices.pythonanywhere.com/ -- 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 this message because you are

[web2py] Re: MSSQL and auth.signature

2015-05-09 Thread Paolo Valleri
that's odd. Can you open an issue on github (https://github.com/web2py/pydal/issues) with a simple example to reproduce it? I'll have a look in the next few days Paolo On Saturday, May 9, 2015 at 11:54:30 AM UTC+2, Claudinei Fernandes wrote: Hi, Has anyone used auth.signature attribute

Re: [web2py] Re: Creating a grid based on queries pertaining to a primary db table, and a table that references it

2015-05-09 Thread Spokes
Thanks, Massimiliano. I was also considering an approach involving creating a list of IDs from the 'thing' table, but I'm not sure that this would be feasible in this case. They may be tens, possibly hundreds of IDs corresponding to the given criteria, and the grid based on these queries is