[web2py] Re: How do I get reply from default.py after calling request from ajax

2017-06-15 Thread pbreit
First, I'd advise against doing this, at least initially. Take what Web2py gives you for free and concentrate on your app. 2nd, web2py URLs do not end in ".html" 3rd, i think you would use this for login: http://web2py.com/books/default/chapter/29/09/access-control#Manual-Authentication On T

[web2py] Re: Archived records not being written to archive file

2017-06-15 Thread 'jim kaubisch' via web2py-users
Sorry, Anthony. Yes, I meant the MySQL archive tables (mediatitles_archive in this case). I'm looking at the table(s) using the command line MySQL console. This is what it says: ...a couple of sample records from the mediatitles table (id 511 is an updated record created after logging in as

[web2py] Re: Archived records not being written to archive file

2017-06-15 Thread Anthony
What do you mean by archive "file" -- archived records are written to a database table? How are you checking for the archived records? Anthony On Thursday, June 15, 2017 at 11:06:57 PM UTC-4, jim kaubisch wrote: > > Hi, > > > I’m stuck. Have looked at all documentation/discussion groups I think,

[web2py] Archived records not being written to archive file

2017-06-15 Thread 'jim kaubisch' via web2py-users
Hi, I’m stuck. Have looked at all documentation/discussion groups I think, but the following just doesn’t write records to an archive file I’ve been struggling with this for a while now, so help would be VERY appreciated. The environment is MacOS 10.12.5,, Python 2.7, Web2py 2.14.6, MySQ

[web2py] Re: How can javascript reads a SQLFORM field which writable=False

2017-06-15 Thread Rudy
I ended up updating the database fields in the callback function in web2py controller, then return a True to indicate ajax to do a location.reload() to render the page. it does what I need. Apologize for all these questions and answers myself, but I thought i would share with someone who may nee

[web2py] Custom js popup confirmation not working

2017-06-15 Thread Jordan Ladora
Hello, I'm trying to get a custom js confirmation popup working. This is pretty much verbatim from the 2nd answer at - https://stackoverflow.com/questions/887029/how-to-implement-confirmation-dialog-in-jquery-ui-dialog When I add this code below to the view, this kills the rest of the js on th

[web2py] Re: SSL Error with Sparkpost api with web2py.exe

2017-06-15 Thread icodk
With web2py.exe more complete screenshot C:\Dev\web\web2py_win\web2py_2_14_06>web2py.exe -S welcome web2py Web Framework Created by Massimo Di Pierro, Copyright 2007-2017 Version 2.14.6-stable+timestamp.2016.05.10.00.21.47 Database drivers available: psycopg2, pymysql, imaplib, MySQLdb, sqlite3, p

[web2py] Re: SSL Error with Sparkpost api with web2py.exe

2017-06-15 Thread icodk
Sorry for the late response There is definitly a different if I use web2py shell source to send mail or web2py.exe It works fine with source and failes with web2py.exe My python installation is 2.7.13 here is my source execution : C:\Temp\web2py_src\web2py>python web2py.py -S welcome No handlers

[web2py] Re: Is there any workaround to include 'does not contain' option in SQLform grid search?

2017-06-15 Thread Anthony
SQLFORM.grid(~db.sometable.somefield.contains('some string'), ...) The first argument can be a DAL Query object. Use .contains() with the query preceded by ~ for negation. Anthony On Thursday, June 15, 2017 at 10:08:53 AM UTC-4, Pranshul Chitransh wrote: > > I want to filter my results by provi

[web2py] Is there any workaround to include 'does not contain' option in SQLform grid search?

2017-06-15 Thread Pranshul Chitransh
I want to filter my results by providing a *does not contain *condition. Does anyone knows how can it be made possible? Thanks in advance. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py

Re: [web2py] Re: web2py 2.15.1

2017-06-15 Thread Richard Vézina
On Wed, Jun 14, 2017 at 6:22 PM, Anthony wrote: > On Wednesday, June 14, 2017 at 2:33:58 PM UTC-4, Richard wrote: >> >> Anthony, >> >> What are the issue with Calendar?? I know it outdated, support seems to >> shade away (http://www.dynarch.com/ -> Website down and a link to >> documentation is p

{Disarmed} Re: {Disarmed} Re: [web2py] Re: web2py and SEO

2017-06-15 Thread Carlos Cesar Caballero Díaz
Hi, it seems to be working in my apps, can you share how are you using it, and the web2py version? Greetings. El 14/06/17 a las 15:21, rajjmatt...@gmail.com escribió: Did anyone had any success on inserting metadata on layout or SEO ( http://www.web2pyslices.com/slice/show/2048/simple-seo) pl

[web2py] Pyfpdf - Split multicell from DB template

2017-06-15 Thread Omicron VT
Is it possible to use the split_multicell option to show a text field from a template stored in the DB ? 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 Issue

[web2py] Re: problem with gluon.contrib.simplejson.loads JSONDecodeError

2017-06-15 Thread Dave S
On Tuesday, June 13, 2017 at 8:44:28 AM UTC-7, Alessio Varalta wrote: > > I send my data with this javascript > > $.ajax({ > url: url, > dataType: 'json', > type: 'POST', > contentType: 'application/json', > success: function (data) { > location.replace("{{

[web2py] Re: Application developed and hosted in the web2py is very slow, how to increase memory for application?

2017-06-15 Thread Dave S
On Wednesday, June 14, 2017 at 11:31:11 PM UTC-7, skylab.ch...@gmail.com wrote: > > Hi Team, > > Application developed and hosted in the web2py. When I am trying to access > any page even simple page, it is taking minimum 5 to 20 seconds. I am using > m4.10x large EC2 instance. I have lot of m

[web2py] How do I get reply from default.py after calling request from ajax

2017-06-15 Thread 'hardclock' via web2py-users
I made a custom signin form using javascript and ajax to check for duplicated user/wrong username-password combination.The ajax request I made is like this $.ajax({ url:'../default/signin.html', type:'POST', data:{ username:username, password:password, email:email }, success:functi

Re: [web2py] Re: Why do I get a blank screen on view

2017-06-15 Thread Maurice Waka
Thanks. Once logged in I'll fix it. Regards On Jun 15, 2017 09:19, "Anthony" wrote: > On Thursday, June 15, 2017 at 1:48:51 AM UTC-4, Maurice Waka wrote: >> >> Sorry. Am not sure about value of Auth.user_id >> > > It is the id of the current logged in user. You can simply display it on > the pag