Here's an interesting project implementing Google's Wave Server (due
later this year) in Python and Django.
http://code.google.com/p/pygowave-server/
Sort of killer app that might look nice in Web2py.
--~--~-~--~~~---~--~~
You received this message because you
Hi,
when I first came across this post, I was working on a provider so I
just posted my code.
I think the only difference is that my version uses the Web2pyStore -
the rest uses the Janrain
Python openID library, just as Massimo's original implementation
does. As I had a working example, I
did
On Mon, Jul 27, 2009 at 12:40 AM, mdipierro mdipie...@cs.depaul.edu wrote:
I fixed the example. Thanks for reporting the typo.
@Yarko, the workflow image you refer to is here:
http://www.web2py.com/examples/static/diagram1.png
Massimo
Thanks!
On Jul 26, 11:00 pm, Rob McC
On Jul 27, 7:49 am, Oleg obutov...@googlemail.com wrote:
1) moonlight will do the same job on other platforms (as soon as it
will be completed :))
No, it does not. I have FF plus moonlight plugin - and the app fails
with an error that SL2 is needed, I have ML1.0
2) what do you mean?
Best
On Jul 24, 1:17 am, mdipierro mdipie...@cs.depaul.edu wrote:
You can translate dropdowns using IS_IN_SET since its values are
constant:
IN_IN_SET(('key1','key2'),(T('value1'),T('value2')))
I guess this is a typo, which you meant as:
IN_IN_SET({'key1':T('value1'), 'key2':T('value2')})
This
On Jul 27, 1:25 am, mdipierro mdipie...@cs.depaul.edu wrote:
auth.settings.registration_requires_approval = False
auth.settings.register_onaccept = lambda form:
auth.settings.mailer.send()
A nice little recipe :)
I have been thinking that currently we are limited in that only a
single
Grazie Massimo!
The following works well for my need:
auth.settings.registration_requires_verification = True
auth.settings.registration_requires_approval = True
auth.messages.verify_email = \
'Click on the link https://mydomain/fips/default/user/verify_email/%(key)s
to verify your FIPS
I would try kate. kate is the KDE editor and is very nice, comes with
color coded python syntax. I am running
Ubuntu 9.4 and get errors every time I try to create a new app.
Therefore I am going back to Google App engine.
Every thing just works, and there is now magic going on that I don't
Arghhh
I have been using eclipse (successfully up til now) to run the web2py
svr (ubuntu 9.04 desktop) on a lan address of 192.168.0.155,
connecting to a winXP client, also on the LAN. This allowed me to
single step through my controller code and it was working...
beautifully... I
Is it possible to pass parameters to a view, as if it were a
function? Basically I want to create components in my views, reusable
parts, but may depend on on a variable for the data it renders. Any
ideas on how to do this?
--~--~-~--~~~---~--~~
You received this
sounds like you could use the response.vars dictionary to pass the
information you need. For instance, your controller could have this
line:
response.vars.piechartcomponentdata = [2,3,4,7,8,9]
and then your view could have this:
{{if piechartcomponentdata in response.vars:}}
{{... draw your
Is the appropriate solution to put the library code in web2py/ and use
this import statement?
from GChartWrapper import *
that seems to work, but I'd prefer to have the library in web2py/
applications/myapp/modules/
On Jul 27, 12:24 pm, Dan danbr...@gmail.com wrote:
Hello-
I'd like to use
whenever you return a dict() from a controller, you are able to send items
to the associated view.
For example, with something like:
def hello():
name = db(db.person.id == ...).select(first_name)
return dict( personname=name )
you pass 'name' to the view variable 'personname' in the view
On Mon, Jul 27, 2009 at 3:40 PM, Dan danbr...@gmail.com wrote:
Is the appropriate solution to put the library code in web2py/ and use
this import statement?
from GChartWrapper import *
that seems to work, but I'd prefer to have the library in web2py/
applications/myapp/modules/
then you
Thanks Yarko, but that gives me the same error as before.
On Jul 27, 2:14 pm, Yarko Tymciurak yark...@gmail.com wrote:
On Mon, Jul 27, 2009 at 3:40 PM, Dan danbr...@gmail.com wrote:
Is the appropriate solution to put the library code in web2py/ and use
this import statement?
from
you updated the __init__.py of GChartWrapper also?
You have two choices - either modify this to work as a web2py module, and be
sure it deals with it's path, or
- install it in the python path as a normal python module.
Even if you are on a hosting service, you should be able to do local
Oh - I see ... this module assumes it's installed; you will need to change
not just __init__.py but also the import line in GChart.py
On Mon, Jul 27, 2009 at 5:07 PM, Yarko Tymciurak yark...@gmail.com wrote:
you updated the __init__.py of GChartWrapper also?
You have two choices - either
yes, that's what I thought. So I thought it would be easier to leave
the library's code unchanged and put it in the path. thanks
On Jul 27, 3:12 pm, Yarko Tymciurak yark...@gmail.com wrote:
Oh - I see ... this module assumes it's installed; you will need to change
not just __init__.py but
You should not decorate call but you should decorate functions you
want to expose via the call handler. This is not the the book but it
will be in the new book, very soon
Massimo
On Jul 27, 2:05 pm, rb rbspg...@gmail.com wrote:
The example code in a controller contains the call() function as
NO. Running web2py as root is a very bad idea.
Your problem does not look like a web2py problem but, assuming it is,
it is possible that you run it as root (not good) and not you are
running as a user (good) but you do not have permissions to read the
files web2py created (for example the apps).
Yes,
#in controller
def myaction():
return dict(piechartcomponentdata = [2,3,4,7,8,9])
#in view
{{if 'piechartcomponentdata' in globals():}}
{{=piechartcomponentdata}}
{{pass}}
Massimo
On Jul 27, 3:21 pm, Dan danbr...@gmail.com wrote:
sounds like you could use the response.vars
No, No.
If you need to use third party packages you must run from source.
Assuming you do it...
There are three places to put modules:
1) web2py/applications/XXX/modules
2) web2py/
3) The Python site-packages folder (that is where they go when
installed with easy_install)
1) should only be
Thx. I am *really* relieved that web2py doesn't need to be run as
root. I think my problem was that __init__.pyc got *somehow* owned by
root and then web2py wouldn't run unless it was root. I've now
successfully gotten it up and running (***finally***) as a non-root
user (yeah, I de-installed
Well I will be first in line to purchase your next version. Keep up
the *great* work. I'm a newbie, I know, but there's still much that
isn't answered by the docs, so please be patient with my questions:
1. Ok one of my xmlrpc functions is xrGetColDefs - how would I
decorate this?
I've been looking into creating a table reference (or foreign key) in
web2py and have only found db.Field('name', db.otherTable). Now as I
understand it, this creates an integer field in the table that
contains the hidden web2py integer id of the entry in the other
table. Is this the case?
If
Hi guys,
How do you setup your web2py development environment? Of course, we all know
that we don't need complicated setup to develop web2py since it has its own
coding area. But I'm sure some of us use our favorite IDEs and plugins to
make development easier and faster.
- What OSes do you
I don't claim to be an advanced user of web2py however
On Jul 28, 11:59 am, Randell josephrandell.benavi...@gmail.com
wrote:
Hi guys,
\ - What OSes do you use? (which flavor of Linux, which Windows
version,
does anybody here use a Mac?) And why?
Just Linux. Kubuntu 9.04. CentOS5,
Hi there. I'm developing a wxPython thick client app coupled to web2py
via xmlrpc. I've put the web2py svr on my hp Ubuntu 9.04 laptop and it
also runs virtualbox with a winXP guest OS, within which I run my
thick client. I put the virtualbox into bridge mode so that client and
svr are on the
I believe that if you want to use the DAL's reference then you must
reference the foreign table's row via its id field (this hidden
field). If you want use a different field then you must construct a
join. Something like:
q = db(db.tasks.student_id==db.student.student_id) #this 'row
selection'
29 matches
Mail list logo