I'm using GoogleSQL. DAL sometimes seems to have some nuances there
compared to MySQL. I think your suggestion will probably work. I was just
as confused at the ~ operator working in groupby as you!
Thanks!
On Monday, 27 August 2018 20:21:22 UTC-7, Anthony wrote:
>
> WITHOUT the join works p
I'm trying to do a groupby that gets the last entry for each item checked
out by a user from db.checkout (i.e. they've checked it out multiple times,
but I just want the last entry). I then want to join on db.item.
db.checkout:
user_id
item_id (reference item)
db.item:
item_name
WITHOUT the j
If I use Google's taskqueue.add(), it keeps giving me a 303 error over and
over in the logs because it tries to use the HTTP version of the page the
POST is sent to, but I have request.requires_https() in my db.py. I can't
find a way for taskqueue to attempt an HTTPS connection.
Removing reque
Ah, I see your errors show "C:", so that has to be the output from the
local Google Cloud instance on Windows. Can you show the error message
from the Google Cloud server logs (after you've deployed the app)? When I
tried to recreate the error in the cloud, it worked fine (unfortunately).
If
I get this error when trying "Forgot Password":
tools.py:808 - Mail.send failure:coercing to Unicode: need string or buffer,
lazyT found
This is running on GAE locally. It works fine for a welcome email and for
"Lost Username".
--
Resources:
- http://web2py.com
- http://web2py.com/book (Docu
se look up login_onaccept in the book -- the last three lines
> belong there.
>
> Anthony
>
> On Tuesday, September 8, 2015 at 2:38:25 PM UTC-4, Robert Porter wrote:
>>
>> Ok, so now all I've got that's login-related in my db.py is:
>>
>> auth.settings.lo
not throwing an error now, but I also have no
idea if this will actually extend the expiration.
On Saturday, 5 September 2015 21:55:26 UTC-7, Robert Porter wrote:
>
> How can I make a login persistent. I want you to have to clean your
> cookies to ever be logged out.
>
> Right now I
27;t exist? I haven't changed
anything from vanilla with session/auth...
On Saturday, 5 September 2015 21:55:26 UTC-7, Robert Porter wrote:
>
> How can I make a login persistent. I want you to have to clean your
> cookies to ever be logged out.
>
> Right now I have a bug where I
How can I make a login persistent. I want you to have to clean your
cookies to ever be logged out.
Right now I have a bug where I get logged out after a pretty short time
(even though I set auth.settings.expiration=3600), so I just want a way
where you absolutely cannot logout unless you c
I seem to have a bug where it will log me out for no reason, but I can't
find a way to reproduce it. I do not touch session cookies anywhere in my
site and I've set the auth expiration to 360. I do not have any way
for the user to logout other than clicking the logout button. I don't wan
Ok, here's a better comma-delimited separator that looks for trailing and
following spaces:
submitted_tags = [x.strip() for x in str(XML(request.vars['submitted_tags'],
sanitize=True)).lower().split(',')]
On Thursday, 9 July 2015 16:32:28 UTC-7, Robert Porter wrote:
&
Program is acting like two identical lists containing only two items
(list/entries are same content and type) are different.
The code is commented and is extremely straightforward. If I declare
"submitted_tags = ['test','test'], it works fine and doesn't put in a
second entry, but if I take th
That's an answer, but not a solution. I think I found a workaround. Doing
some final testing and will post again if I get a proper solution.
Picture sharing is one of the fundamental pillars of the web. It's very
disappointing that web2py doesn't have a definitive solution to this (after
3 d
Could you show your DB code for reference? And you should jump in appadmin
to check just what has been uploaded to the DB to be sure.
On Wednesday, 1 July 2015 07:01:19 UTC-7, Sean Ballow wrote:
>
> We are connecting successfully to MySQL on RDS
>
> And when attempting to insert a new record it
This first part works fine on its own. It's when I try to make this part
of an AJAX component inside another page that it fails.
Model:
db.define_table('temp_pics',
Field('image', 'upload', required=True, notnull=True, requires=IS_IMAGE()))
Controller:
# This will reload itself and allow changi
7;s supposed to be there (because of a
> corresponding .table file found on the folder)
>
> On Monday, June 29, 2015 at 8:37:41 PM UTC+2, Robert Porter wrote:
>>
>> I got everything working fine at home on my Ubuntu 14.04 server. Then I
>> did a git push to pythonanywhe
For now, I'm just separating my coordinates with a letter of the alphabet,
since it doesn't make any difference. I'll try to give this a shot when I
get home. Thanks!
On Sunday, 28 June 2015 16:14:31 UTC-7, villas wrote:
>
> Hi Robert,
> I think args and vars are all url encoded.
> I think
I got everything working fine at home on my Ubuntu 14.04 server. Then I
did a git push to pythonanywhere.com. Web2py created all my new tables
except for one, and it continues to fail to create this table. Tech
support at pythonanywhere can't find the problem.
Here's my table that is having
I have lat/lng coordinates in my request.vars['coords'] saved with a '|'
separating each coordinate. When I use URL(request.vars['coords']), it
converts the '|' into '%7C'.
This seems like a web2py error, but please let me know if I've made a
mistake. And please let me know if there's some wo
On Friday, 5 June 2015 06:28:54 UTC-7, 黄祥 wrote:
>
> please take a look at web2py book about components and plugins
> ref:
>
> http://web2py.com/books/default/chapter/29/12/components-and-plugins#Components--LOAD-and-Ajax
>
> best regards,
> stifan
>
Thanks to both of you. This was very helpful
That sounds like maybe a good idea if I knew how to do that.. So I'll go
look into it! Thanks!
On Monday, 1 June 2015 17:04:24 UTC-7, 黄祥 wrote:
>
> just an idea, why not use components for google maps?
>
> best regards,
> stifan
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Do
You could almost combine the "/ /" of the "W" with the "II" and the pi
symbol into one character.
On Monday, 1 June 2015 11:06:16 UTC-7, Massimo Di Pierro wrote:
>
> Time to revamp the web site?
>
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/w
Then again, combining a capital "W" and the roman numeral "II" has a pretty
specific meaning for most of the world.
On Monday, 1 June 2015 11:06:16 UTC-7, Massimo Di Pierro wrote:
>
> Time to revamp the web site?
>
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- h
I've been beating my head against this for two days, so I'm sorry if it's a
dumb question, but I'm really lost.
I have googleplaces working and giving me lat/lon data without any problem.
Now I want to display this data on a Google Map using web2py. Am I forced
to use something like gmaps.js?
24 matches
Mail list logo