Il 05/04/15 21:23, Gary Cowell ha scritto:
> Hello
>
> I installed web2py from pip, I think it's at 2.1.1
>
> Then ran w2p_clone to bring in latest version.
why not just clone the latest version from github and eventually choose
a stable tagged version after by doing:
$ git checkout tags/
M.
done.
https://github.com/web2py/web2py/issues/904
attached that running fine (shown a format instead of an id) in prev version
thanks and best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://cod
Hmm, I'm not sure what changed, but if it used to work, we should fix it.
Please submit an issue about this.
Anthony
On Monday, April 6, 2015 at 10:19:14 PM UTC-4, 黄祥 wrote:
>
> in the previous version, the same code can show the proper format of
> auth_user table, yet in the newest version can
Assuming you don't really need admin permissions and impersonated user
permissions in the same request, a better approach might be to build the
functionality you need into the application (perhaps via a plugin). Before
starting impersonation, set a flag in the admin session (e.g.,
session.imper
in the previous version, the same code can show the proper format of
auth_user table, yet in the newest version can't. already test another
table too, it didn't showed the proper format in grid table (just show the
id instead of the proper format). or in the newest version the policy is
changed
By default, .validate doesn't do a database insert (which is why you have
manually done the insert yourself after calling .validate), so obviously
there will be no form.vars.id at the point that the onsuccess callback is
called. If you need the id available in the callback, then either use
.pro
when you do
for line in open('afile.txt'):
do_something_on_line
you are using a generator that is memory-friendly. readlines() creates a
whole list of lines beforehand, so it uses more memory.
On Saturday, April 4, 2015 at 10:09:50 PM UTC+2, Alex Glaros wrote:
>
> your new example worked,
Once again: it's just an ini parser that works as a singleton when you
don't pass reload: it's not black magic.. but it's not made to hold
every bit of python syntax (if you want it, you don't need appconfig, just
use models and modules.)
You calling it "not stable" is just calling SafeConf
So far Google Analytics has been part of the scaffolding application for
quite some time.
I'm guessing it was put there to remind you that a good web application
should be data-driven.
My project is to help direct new users towards this goal, while still
preserving an agnostic framework.
Mos
why the result in form.process and in form.validate is different?
e.g.
*modules/test_event.py*
def oncreate_event(form):
current.db.auth_event.insert(time_stamp = current.request.now, client_ip =
current.request.client,
user_id = current.auth.user_id, origin = '%s/%s' %
(current.request.contro
I use session storage for cart until checkout.
You can find an example from Massimo here:
https://github.com/mdipierro/web2py-appliances/tree/master/EStore
I was studying this before implementing my own solution.
Best,
K.
On Monday, 6 April 2015 21:08:25 UTC+2, Gael Princivalle wrote:
>
> Hel
Hello all.
I've to make a cart.
I would like to let the user add products to the cart without login.
Login will be done at checkout.
I would like to save all carts, so when a user will add the first product,
I'll add a record in my cart table.
I'm wondering about how can I manage the fact that I
On Monday, April 6, 2015 at 3:16:35 AM UTC-7, BlueShadow wrote:
>
> Hi,
> I have a function in my web2py app which takes quite a while. I like to
> have a button on a page which starts the funktion but does not reload the
> page for 10 minutes. The function should also dynamicly display its
>
Hi Ron,
On 06/04/15 18:38, Ron Chatterjee wrote:
Also, open source product wouldn't be
as secured as MYSQL since its open source. But I do agree with the rest.
I don't agree that open source products are inherently less secure then
proprietary ones, but in this case both Postgres and MySQL (
I get what you are saying, GoDaddy is not my choice of a host. In fact, I'd
recommend you stay away from them. Openshift is very fast and has
competitive rates, and it has PostgreSQL support.
In any case, no they apparently don't support Python so yea...
On Monday, April 6, 2015 at 10:38:36 AM
Hi Derek,
On 06/04/15 17:52, Derek wrote:
I have to take issue with your 'not for production' criticism of sqlite.
OK, but...
https://www.sqlite.org/whentouse.html
...just to be clear, that comment was in the context of web2py use, not
generally.
It has changed a lot since 2009 and y
Lot of hosting doesn't support Postgres. For example, go daddy.
https://support.godaddy.com/help/category/67/web-hosting-databases
That said, I realize, go daddy is not a typical python hosting platform.
Just playing devils advocate here. Also, open source product wouldn't be as
secured as MYSQ
Do you know if the tutorials are going to be available online or available
to buy. Since I can't make it.
On Monday, April 6, 2015 at 12:26:49 PM UTC-4, LoveWeb2py wrote:
>
> Anyone going?
>
> https://us.pycon.org/2015/
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation
>
> Imagine you have -10 years of computer knowledge, and that you’re on the
> phone with a customer and have to check data on your platform by
> impersonating him.
>
> Most likely, you’re gonna forget that you have to use a separate session
> and see an error message when trying to reach your
I have to take issue with your 'not for production' criticism of sqlite.
https://www.sqlite.org/whentouse.html
It has changed a lot since 2009 and you should really get familiar with it
if you are going to use it.
Also, concerning the data types, SQLITE only supports 4 data types. NULL,
INTEG
Usually I would agree with you guys : browsers can manage separate sessions
perfectly well… but we are all devs here so we have a bias.
Imagine you have -10 years of computer knowledge, and that you’re on the phone
with a customer and have to check data on your platform by impersonating him.
Mo
>
> With all due respect to Support Team members across the globe, using two
> browsers isn’t something you should expect from them.
How hard is it to open a private browsing window of the same browser
(ctrl+shift+n)? Not to mention the problems that keeping the permissions of
the original us
Chrome allows not just incognito mode, but that little person icon in the
upper right by the minimize is 'switch account' and you can use a guest
account that's not incognito, which is just perfect for testing out stuff
like that.
On Monday, April 6, 2015 at 9:02:21 AM UTC-7, Anthony wrote:
>
>
Anyone going?
https://us.pycon.org/2015/
--
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 the Goog
Yes, as I mentioned, because you cannot set db.auth_user._format before
defining the other tables, you instead have to explicitly change the
"represent" and "requires" attributes of the other tables after they have
been defined. We should probably add a setting for db.auth_user._format to
avoid
It doesn't have a GIL, plus it has a good JIT and I know Web2Py works on
PyPy, so it seems like a good fit. It does run pretty fast. If you have any
benchmarks you want me to run I'll give them a try.
I think Windows users should have a choice of what python interpreter they
want to use. It does
On Monday, April 6, 2015 at 11:16:51 AM UTC-4, Louis Amon wrote:
>
> Well maybe I’m just biased then.
>
> I think of web2py as THE framework for startups, and in that regard an
> easy-to-use user management system seems to me like a priority.
>
> With all due respect to Support Team members across
When you guys resolve this, can you please share?
On Monday, April 6, 2015 at 11:34:53 AM UTC-4, Jim S wrote:
>
> Alex - your setup looks pretty much just like mine. I'd contact support
> at pythonanywhere. They were really helpful when I was going through this.
>
> -Jim
>
> On Sat, Apr 4, 2015
Alex - your setup looks pretty much just like mine. I'd contact support at
pythonanywhere. They were really helpful when I was going through this.
-Jim
On Sat, Apr 4, 2015 at 6:10 PM, Alex Glaros wrote:
> need help with configuring pythonanywhere.com site and hostmonster.com.
>
> domain name
Well maybe I’m just biased then.
I think of web2py as THE framework for startups, and in that regard an
easy-to-use user management system seems to me like a priority.
With all due respect to Support Team members across the globe, using two
browsers isn’t something you should expect from them.
I agree that impersonate is just right the way it is.
-Jim
On Sunday, April 5, 2015 at 6:00:52 PM UTC-5, Limedrop wrote:
>
> Well the easy answer is to simply open the impersonated user in a
> different browser (eg, have Support Team login in chrome and impersonated
> user login in firefox).
>
Upgraded to
2.10.3-stable+timestamp.2015.04.02.21.42.07
(Running on nginx/1.4.6, Python 2.7.6)
...still having the same problem with record versioning.
-Jim
On Thursday, April 2, 2015 at 4:37:03 PM UTC-5, Jim S wrote:
>
> Version 2.10.1-stable+timestamp.2015.04.01.03.27.40
>
> I have one t
I said, "start with sqlite" before deployment. Means, to get something
going pretty quick and prototype. While in deployment or "production",
other database is more suitable. I am not a d-base expert. So I can't say
which one is better, but since Postgres is an open source, common sense
tells m
Did you upgrade recently? What's in your application's cache folder?
--
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
Thanks for sorting out poweredby.
There seems to be a minor issue with scraping the front page of the example
sites. If you look at my UK Jazz site you will see what I mean.
Thanks
Peter
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py
Hi,
I have a function in my web2py app which takes quite a while. I like to
have a button on a page which starts the funktion but does not reload the
page for 10 minutes. The function should also dynamicly display its
progress on the page. Is there a way to do that?
--
Resources:
- http://web2
Hi,
On 05/04/15 12:07, Wellington Faria wrote:
I would like to know wich is better database to use in web2py? Mysql
or postgre?
I would suggest very strongly that Postgres is a better option.
The reason for this is that Postgres runs its migrations (e.g. DDL)
inside a transaction, so migrat
37 matches
Mail list logo