+1
On 1 April 2011 06:35, David Marko wrote:
> I'm also interested in testing ...
>
> David Marko
>
> can you summarize for us, what is done, what needs to be done.
so far we have experiences visualizing biochemical networks with tools
like Cytoscape, Graphviz, ... we even wrote our own web2py plugin to
create force directed graphs
http://groups.google.com/group/web2py/browse_thread/thread/d9c5
Jonathan was talking about how the w2p is generated. It's only a compressed
file: tar.gz. Always you can digg in the code
http://code.google.com/p/web2py/source/browse/gluon/fileutils.py#183 and
http://code.google.com/p/web2py/source/browse/gluon/fileutils.py#218 make
your own that only include the
also I need to localize reCaptcha, any easy way in web2py?
Sorry for the long reply time (I am working at two jobs and didn't have time
to get to it yet).
I can supply the following simple example:
the data model is:
db.define_table("timestamps",
Field("by", db.auth_user),
Field("at", "datetime", default=request.now))
and the controller function is:
f.y.i. A Django blog mentions a garbage collection problem in most
python frameworks, and web2py is also mentioned:
http://pydanny.blogspot.com/2011/03/announcing-garbaginator.html
It is one of the April's fools jokes
There is more than one fake news here:
http://www.reddit.com/r/Python/
On Apr 1, 7:08 am, cjrh wrote:
> f.y.i. A Django blog mentions a garbage collection problem in most
> python frameworks, and web2py is also mentioned:
>
> http://pydanny.blogspot.com/201
Hello,
as you know, Web2py transform the content and the name of a file when
uploaded.
I tried several time to expose the real content of the file
But I always have "Fieldstorage" and other information at the
begining. I can't get rid of this.
The file content are like:
FieldStorage('file_path'
I'd also like to help with web2py+mongodb.
On Apr 1, 2:29 pm, Massimo Di Pierro
wrote:
> It is one of the April's fools jokes
> There is more than one fake news here:http://www.reddit.com/r/Python/
Ha Ha. I suspected something was up when I had a quick look at the
source repo after I posted the link here. I think I need a holiday :)
Hi, can anyone please confirm or correct the behavior I'm describing above?.
Thanks,
Carlos
The road to web2py is a too steep climb? put Python at your feet!
http://www.lasportiva.com/magazine/?p=1176&lang=en
(disclaimer: i am not affiliated in any way to the above brand)
In an unusual move, Oracle offers to buy Web2py.
Ha Ha! April Fool
Mr.Netadmin
Web.2.py Garbaginator Bridgerator ('cause people always get Web2Py and
web.py confused with each other so we bridged them together)
http://garbaginator.cartwheelweb.com/
DJ2PY Allied Forces is the best joke of the day!
--
Bruno Rocha
[ About me: http://zerp.ly/rochacbruno ]
On Fri, Apr 1,
On Friday, April 1, 2011 8:29:47 AM UTC-4, Massimo Di Pierro wrote:
>
> It is one of the April's fools jokes
> There is more than one fake news here:
> http://www.reddit.com/r/Python/
Yeah, now even Flask is going "Enterprise". :)
http://www.reddit.com/r/Python/comments/gfxzf/we_just_releas
...on condition that it be rewritten in Java.
web2py is just a scripting framework on top of jython which runs on jvm, so
they can buy it :)
The Python Community group has a discussion on replacing ASP pages with
python frameworks.
http://www.linkedin.com/groups?home=&gid=25827
I think this is a good place for regular updates on web2py (such as the
video webcasts) to be announced.
When importing the database from csv, it appears that it does not
update the reference id's in list:reference.
It looks like to me that only references are mapped to their new
values and list:reference is just grabbed as a string.
In dal.py, within import_from_csv, the fix function seems to just
Just skimmed over it. Looks very powerful and promising.
If it's easy to implement with parse_as_rest it would be a great
feature for web2py!
There are still not many "consumers" (http://www.odata.org/consumers),
but nevertheless it'd be worth IMHO.
(Unfortunately no Python client library seems to
Despite a lot of time, I'd like to help as well.
MongoDB looks promising.
On 1 Apr., 04:58, Massimo Di Pierro
wrote:
> Lots of people asked for support but nobody volunteered to help test
> it.
> If you are interested and can help with some regular tests we can make
> it work in relatively sho
While DAL might not support MongDB; you can still use it via mongoengine;
On 4/1/11 10:41 AM, Marcel Luethi wrote:
Despite a lot of time, I'd like to help as well.
MongoDB looks promising.
On 1 Apr., 04:58, Massimo Di Pierro
wrote:
Lots of people asked for support but nobody volunteered
The extra shared memory allows PostgreSQL to cache more and perform better.
It's mostly for production servers. It shouldn't have any adverse effects on
the Mac. If it's the same setting I'm thinking of, then all it does is
increase the amount of shared ram a single application can use. If it do
I have been experimenting with web2py for a while. I have used only
sqlite so far. However, in the future I would like to create new a web
interface upon our existing mysql database. Currently we are using MS
Access based user interfaces. MS Access connects to mysql by using
ODBC driver and each us
Thanks for props guys ;-)
@Martin: I was actually looking on enhancing the entry description
field, in which I stumbled upon markitup, which should be supporting
markmin. I just made the enhancement a while ago.
Regards,
Arbie
On Apr 1, 3:37 am, Martín Mulone wrote:
> I like it, perhaps you can
Hmm didn't know Rails was a Python web framework, according to Garbaginator
it is. :-)
Check out gmail motion on Google home page
I created some app. Then packed it with "pack all" to install on VPS
for deploy.
When I install it, I have seen, that it didn't make postgres database
structure, because of files in myapplication/database.
Also all upload folder was packed.
So, the question is:
for what purpose "pack all" pack in
http://web2pyramid.pylonsproject.org/
--
Bruno Rocha
[ About me: http://zerp.ly/rochacbruno ]
DISCLAIMER: very new to web2py, read book and building first app...
I'm having some brain cramps trying to add some default groups.
Basically I need some default groups set-up when I rollout my
application, like Admins, End-Users, Management - when users register
one of us will manually filter the
Happy April 1 to you too.
On Apr 2, 1:50 am, Bruno Rocha wrote:
> http://web2pyramid.pylonsproject.org/
>
> --
> Bruno Rocha
> [ About me:http://zerp.ly/rochacbruno]
hahaha
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/4/1 CVstash dot com
> Happy April 1 to you too.
>
> On Apr 2, 1:50 am, Bruno Rocha wrote:
> > http://web2pyramid.pylonsproject.org/
> >
> > --
> > Bruno Rocha
> > [ About me:http://ze
I love this one:
http://www.reddit.com/r/Python/comments/ggh70/the_pylons_project_announces_web2pyramid/
Massimo
On Apr 1, 11:45 am, ron_m wrote:
> Hmm didn't know Rails was a Python web framework, according to Garbaginator
> it is. :-)
> Check out gmail motion on Google home page
Here is the comment - http://linkd.in/gNkdsa
"""
I read the web2py manual, and most what I saw in it is in the way thing
should not be done. Without going into details, just the strategy of
executing python files that are not modules with execute() make the
framework a no-go.
"""
Yes, your model files will be executed upon every request, so you don't want
to add the default groups there. The easiest method might be to add groups
into the auth_groups table via appadmin (see
http://web2py.com/book/default/chapter/03#More-on-appadmin). You can get to
appadmin for your appl
On Friday, April 1, 2011 2:21:50 PM UTC-4, Massimo Di Pierro wrote:
>
> I love this one:
>
>
> http://www.reddit.com/r/Python/comments/ggh70/the_pylons_project_announces_web2pyramid/
That's pretty funny coming from a framework that had to take nearly 12,000
words to defend its own design deci
This is probably simple but I can't find in the documentation or
recognize anything posted on this. I have a primary database including
fields which entries must be members of other databases - this is
enforced through the primary database definition and select lists
entry for the enforced membersh
Nevermind. I thought there was a builtin web2py way for this but I
just did this instead (after sifting more through the groups):
def groupadd(check_group):
if not db(db.auth_group.role==check_group).count():
db.auth_group.insert(role=check_group)
groupadd('Admins')
groupadd('Maintenance
On Apr 1, 3:24 pm, "james c." wrote:
> This is probably simple but I can't find in the documentation or
> recognize anything posted on this. I have a primary database including
> fields which entries must be members of other databases - this is
> enforced through the primary database definition
from my country
http://www.tigan.md/card1.aspx?id=7417ac7c-3188-4652-b9b2-362875219e70
from google
http://www.google.com/mail/help/motion.html#utm_source=en-et-na-us&utm_medium=new-features-link&utm_campaign=en
Massimo has addressed this previously so it might be best to search the
postings. Python programmers should definitely be careful about the use of
exec but Massimo has made a very conscientious decision to use it. There are
tradeoffs and many feel that the design decisions Web2py has made are
b
Pylons can only wish it has those features!
Hello,
Im designing an application for license management of some software
that my company produces. The intended workflow is as follows:
1) End-user of product registers on app, approval pending for review
2) When a user in the 'Admin' group logins they have access to a
approval section where the
And your question is?
haven't seen any news either. it's probably an indication that they are at
least testing it.
cfh
Teemu,
i have never tried it but i have an idea, but first a question: can you use
web2py's built in history tracking with the authentication to preserve the
information you need. i assume you are looking for an audit trail of who
did what. i'm assuming you have already considered this so, th
Thanks for that! I guess its that easy way out I was looking for
(removing that sysctl.conf file)
thanks for the handy info!
Mart :)
On Apr 1, 11:29 am, Ross Peoples wrote:
> The extra shared memory allows PostgreSQL to cache more and perform better.
> It's mostly for production servers. It sho
I think, he may be inquiring about workflow capabilities? If so, I
don;t think web2py has workflow built in (I could be wrong), but can
be concocted in a few different ways (depends on effort, time &
interest ;) ). If I remember, Massimo's conferencing app had some
workflow features (something like
That's pretty close to what I did. Since my groups are created once
and never changed I did one check to see if there are ANY groups
created. If not, I create the ones I care about:
if not db(db.auth_group).count():
db.auth_group.insert(role='root',description='Exactly what you
think it does
It does not copy the DATA from your database. But the STRUCTURE is
defined by the Python files in the "models" area. Your new
application should create a new instance of the database with all
tables initially empty.
If you want to copy your table data, you can export the database to a
CSV file a
Correct, there's not built-in workflow. But there is built-in authentication
and roles. If you keep it simple, shouldn't be too bad.
I think there's a bug in the populate.py code: when a string field has an
IS_IN_SET(['a','b','c','d']) validator, populate will also add a fifth
option '' (zero length string). This follows from it reading the
field.options set (which includes the zero length string *unless* you set
zero=None i
Thanks Denes,
Thank you Denes for your recommendations.
I've seen documentation leading me to believe that most of this here
should work. But it doesn't. 'Which reminds me that I have Python 2.6x
installed and when I downloaded my current version, Version 1.91.6
(2011-01-03 17:55:14), there was
On Friday, April 1, 2011 2:22:55 PM UTC-4, Mike wrote:
>
> Nevermind. I thought there was a builtin web2py way for this but I
> just did this instead (after sifting more through the groups):
>
> def groupadd(check_group):
> if not db(db.auth_group.role==check_group).count():
> db.auth
so, I installed the the pre-built bins for macos from
http://www.postgresql.org/download/ and when trying to connect to a
remote DB, i get the 'psycopg2 is not defined' exception. A few days
ago, Massimo pointed me to what seems like the obvious solution now
(for windows) ;) "install psycopg2". Th
hello everybody,
i like to display database records in sidebar of every page.
i define the function that fetch the records and return as dictionary.
then i put the function in default.py and return the result of the
function every view function, it works fine.
such as,
def some_function():
You could define some_function in a model file (functions defined in model
files are available in views, though functions defined in controllers are
not), and then you could call it directly in your layout.html view (or you
could call it within a separate sidebar view file, and then include that
Are you saying that
db(db.customer_names.id==names.index).select('name').first().name does
not return just the name? Can you show your model code?
Also, if you use as_list, you get a list of dictionaries (one dictionary per
Row in the Rows object). If there is only one Row, then there is only
LOAD sounds like the perfect approach.
Thank you Anthony
That is beautful!!
On 4月2日, 午後12:57, Anthony wrote:
> You could define some_function in a model file (functions defined in model
> files are available in views, though functions defined in controllers are
> not), and then you could call it directly in your layout.html view (or
Some other folks mentioned issues with installing PIL on OS X and I
previously mentioned some binaries (they work, but you are "stuck"
with Python 2.5).
You can compile your own Python if you have XCode installed and then
you should have no issues installing PIL to your virtualenvs or your
system
I would like to know if anybody has used mongoengine, it looks like an
interesting project.
On Apr 1, 8:21 pm, Terrence Brannon wrote:
> Here is the comment -http://linkd.in/gNkdsa
>
> """
> I read the web2py manual, and most what I saw in it is in the way thing
> should not be done. Without going into details, just the strategy of
> executing python files that are not modules with execu
On Apr 1, 10:29 pm, pbreit wrote:
> Python programmers should definitely be careful about the use of
> exec but Massimo has made a very conscientious decision to use it.
I think the primary concern with the use of exec() is the danger of
arbitrary code execution, because that immediately raises s
Thank you christian! I will try your suggestion.
It seems that web2py allows as many connections to different databases
as developer needs! Maybe it is good idea to define two database
connections like you suggested: one for anonymous/unauthenticated
users (db) and another for authenticated users
That is the point where things are mis-interpreted. We do not exec-ute
code built from arbitrary user input at all. The fact that we validate
all input escape(sanitize) all output is not even relevant here. We
ONLY exec-ute programs created by the administrator (whether via shell
of administrative
Ofcourse, it copy models files. But also! it copy databases folder
with *.table files + sql.log. So if I try to install from this w2p
packet to another vps, I can't create database structure because of
*.table files.
On 2 апр, 06:41, Joe Barnhart wrote:
> It does not copy the DATA from your data
66 matches
Mail list logo