[web2py] How to convert JSON to Web2py dict?

2016-07-14 Thread pbreit
I can't seem to figure out how to convert the JSON that I'm getting back from an API call to a Web2py dict that I can use in a view like I do a set of rows from a DB query. { "data": [ { "id": "564b95645250790600479164", "client_id": "55948892bda24f0c0086b64a",

[web2py] Re: How to implement token based restful api in web2py

2016-07-14 Thread botasservice
Ok. Thank you. четверг, 14 июля 2016 г., 22:28:50 UTC+4 пользователь Dave S написал: > > > > On Thursday, July 14, 2016 at 7:58:55 AM UTC-7, botass...@gmail.com wrote: >> >> I'm using 2.14.6. I solved this by just removing indent=2 > > > I think Massimo was suggesting the developer's version (aka

[web2py] Re: How to implement token based restful api in web2py

2016-07-14 Thread Dave S
On Thursday, July 14, 2016 at 7:58:55 AM UTC-7, botass...@gmail.com wrote: > > I'm using 2.14.6. I solved this by just removing indent=2 I think Massimo was suggesting the developer's version (aka "tip of trunk"). /dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentati

[web2py] Re: How to implement token based restful api in web2py

2016-07-14 Thread botasservice
I'm using 2.14.6. I solved this by just removing indent=2 -- 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 subscr

[web2py] Help with setting up apps with virutualenv and nginx

2016-07-14 Thread Jason Solack
Hello all, I am trying to get my head around setting up apps with virtual env on my server running nginx. i have found this: http://www.web2pyslices.com/slice/show/1464/setting-up-web2py-in-a-virtual-environment but i am not able to make the connection between running web2py locally and havin

[web2py] Re: How to implement token based restful api in web2py

2016-07-14 Thread botasservice
I'm using 2.14.6. I solved this by just removing indent=2 -- 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 subscr

[web2py] Field type list:string in SQLFORM.grid problem new entries.

2016-07-14 Thread Alex Santana
Helo, I created a basic table where one of the fields are a list:string. I use the SQLFORM.grid to manage the data. In development mode, using the Web2py application and server, everything is ok. I am able to insert new values in the form just pressing "enter". When enter is pressed, a new input

[web2py] Web2py server crashes when sending multiple emails

2016-07-14 Thread Daksh Anand
I have a function through which i send mail to around 10-12 people after the form on page is submitted. But the server crashes and I have to reboot my Apache Server everytime. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source co

[web2py] Re: How to implement token based restful api in web2py

2016-07-14 Thread Massimo Di Pierro
You need the latest version of web2py. response.json has been patched in this and other ways. On Wednesday, 13 July 2016 02:53:51 UTC-5, botasserv...@gmail.com wrote: > > Massimo, i've downloaded your example with APIMaker and getting error: > > json() got an unexpected keyword argument > 'inde

[web2py] Re: How to see error tickets listed by date?

2016-07-14 Thread Toby
Thanks Anthony, not sure how I missed that! Toby -- 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 subscribed to

[web2py] Re: onvalidation error for nonSQLFORM but request.vars

2016-07-14 Thread Anthony
SQLFORM is only going to deal with the parts of the DOM it generates based on fields it knows about. It's hard to say how you should display the errors without knowing how those input fields are generated in the HTML. Anthony On Wednesday, July 13, 2016 at 1:15:15 PM UTC-4, lucas wrote: > > so

[web2py] Re: How to see error tickets listed by date?

2016-07-14 Thread Anthony
On the errors page in the admin app, click the "lists by tickets" button. Anthony On Thursday, July 14, 2016 at 4:07:24 AM UTC-4, Toby wrote: > > Hi folks, > > Is there a way to see error tickets by date? > > For instance, I know that a user experienced an error yesterday (they > emailed me) and

[web2py] Re: How to see error tickets listed by date?

2016-07-14 Thread 黄祥
not sure what do u want to achieve, i think to list tickets by date, you can check it on your_apps/errors/ folder for file ticket errors, there is contain date information on error file name and you can also check it date modified in file properties. another way around is i think you can store t

[web2py] How to see error tickets listed by date?

2016-07-14 Thread Toby
Hi folks, Is there a way to see error tickets by date? For instance, I know that a user experienced an error yesterday (they emailed me) and I want to see just yesterday's errors for a particular app, so I can figure out what caused that particular error. Thanks, Toby -- Resources: - http:/

[web2py] Re: Nginx & The Welcome App

2016-07-14 Thread Niphlod
the config file is pretty standard. You just need to use routes.py (or rename your 't4' to 'init') if you want your default application not being "welcome" On Thursday, July 14, 2016 at 12:44:26 AM UTC+2, pbreit wrote: > > I think the path to web2py is typically specified in the uwsgi ini file.