On Jul 25, 2010, at 12:16 PM, mdipierro wrote:
> BTW I am working on it... I had not realized how much new stuff
> was still undocumented. Sorry.
It's been a year, after all. That's the problem with relatively static docs,
though.
Chris, thanks for your answer.
I will play around a bit more and see if I get everything I want
working...
Aurelien
On 22 juil, 07:08, Chris S wrote:
> I've been really exploringplugin_Wikisince it's launch and I can at
> least answer what the Role: box does.
>
> If a group is listed in this bo
The new template system supports custom lexers, if web2py would expose
the correct interface, it would allow you to define something like
{{:PT}}
Which would translate to
response.write(XML(simplejson.dumps(PT), escape=False)
We can add as many of these custom named commands as we would like...
Yes.
Just go the extra half a mile and add it for every database that will
use a table behind the scenes.
--
Thadeus
On Sun, Jul 25, 2010 at 6:17 PM, mdipierro wrote:
> GAE has a ListPropery and IS_IN_DB(...,multiple=True) does not use it
> but uses '|2|34|45|' instead for portability over
Update the deployment section.
I never got the instructions in the book to work without tweaking, so
I think it needs
some fine tuning and references to web2pyslices slice 14, 29, 33, 36,
57, 64
--
Thadeus
On Sun, Jul 25, 2010 at 5:27 PM, howesc wrote:
> I use google app engine a lot, and w
I've used the sortable plugin (
http://www.web2py.com/plugins/default/sortable ) in some projects and
I think it is very useful to arrange list of items in database. What I
miss is the "connect list" functionality (
http://jqueryui.com/demos/sortable/#connect-lists ) of jQuery UI. What
I think can
I am thinking of implementing a twitter clone as a proof of concept of
the capabilities of web2py to be demoed in a tech meetup here in
Lagos, and I have some questions to ask.
1. I know that twitter uses a message queue system in delivery of
tweets, can web2py does this natively? or do I have to u
Thank you for the quick answer Massimo!
I'll change the links explicitely, it is much more easy than API
changes.
On Jul 26, 2:05 am, mdipierro wrote:
> At this time navbar is not customizable. the reason is that it is much
> easier to just built the link explicitly than create an API for this.
GAE has a ListPropery and IS_IN_DB(...,multiple=True) does not use it
but uses '|2|34|45|' instead for portability over relational databases
and GAE.
Should there be a web2py type 'list' that hides all of this and uses
ListProperty on GAE and provides simpler query syntax in this case?
Massimo
At this time navbar is not customizable. the reason is that it is much
easier to just built the link explicitly than create an API for this.
On Jul 25, 5:43 pm, Vidul Petrov wrote:
> Is there a best practice for auth.navbar changes?
>
> For example I'd like to remove "password" link and add "ret
please try again. I uploaded it again. I did not try but there should
not any invitation in the code any more.
On Jul 25, 5:43 pm, Stef Mientki wrote:
> sorry Massimo,
>
> but it still gives exactly the same error (a quick file comparison, didn't
> show any differences, did
> you upload a new v
Is there a best practice for auth.navbar changes?
For example I'd like to remove "password" link and add "retrieve
username" link.
Probably an oversight from my side but "gluon.tools.Auth.navbar"
method does not say a lot about such changes.
sorry Massimo,
but it still gives exactly the same error (a quick file comparison, didn't show
any differences, did
you upload a new version ?)
( the invitation is received by the second person, but if the second person
clicks on the
invitation, the error pops up)
thanks for your quick efforts
I use google app engine a lot, and would love to have mention in the
main content of the book when features won't work on GAE. some are
now, and others are only in the GAE section at the end.
also not everything in
http://groups.google.com/group/web2py/browse_thread/thread/cd89f11de4d23b53/f67faa
Chris,
sounds like a fun...and possibly complex problem. some thoughts:
- web2py could be made to work well for you
- because web2py is easy to install and run on a laptop (i do all my
development work on local web2py installs on a laptop), you could
write everything as a set of web2py apps and
ouch! fixed in trunk.
On Jul 25, 2:52 pm, ciastek wrote:
> Disabling auth in application breaks appadmin.
> layout.html assumes, that auth is defined:
> --- layout.html { ---
>
> {{=response.flash or ''}}
>
> {{#-- Layout 3 fromhttp://www.ez-css.org/layouts--}}
>
Sure. I am making many revisions to the book. I hope to have the third
edition out by the end of August.
I will need help from some of you to spot typos.
On Jul 25, 4:43 pm, Donald Hughes wrote:
> Any chance of getting an epub version of the official book in addition
> to the pdf? I would gladl
Any chance of getting an epub version of the official book in addition
to the pdf? I would gladly pay $12.50 for that.
Or you can have explicit routes for the actions you have and, at the
end, the catch all route as Thadeus suggests.
On Jul 25, 4:52 pm, Thadeus Burgess wrote:
> I would use a routes_in that would redirect to a single function which
> would then look at the arguments of the path to determine what t
I would use a routes_in that would redirect to a single function which
would then look at the arguments of the path to determine what to do
=/
--
Thadeus
On Sun, Jul 25, 2010 at 2:47 PM, Andrew Thompson wrote:
> If I wanted to create pages like /about /contact /asdf1 /asdf2 /asdf3,
> how's
Hello,
I´m trying to decided what kind of a ordering page I should make.
What I´m trying to do is a page where customer orders product. There
can be maybe 25 products. Every product has it´s own price. The
customer has a sum of money he can order with. He can´t order more
than hes sum of money.
Disabling auth in application breaks appadmin.
layout.html assumes, that auth is defined:
--- layout.html { ---
{{=response.flash or ''}}
{{#-- Layout 3 from http://www.ez-css.org/layouts --}}
{{=auth.navbar(action=URL(request.application,'default','user'))}}
If I wanted to create pages like /about /contact /asdf1 /asdf2 /asdf3,
how's the best way to have web2py capture and process them without
building controllers for each page?
I'd prefer to capture the urls early and internally redirect them to
/content/about or wherever my database tells me th
Nobody knows?
Harvesting web almost week, with no results. Have no idea how to solve
this feature.
Thanks for advices.
On 07/19/2010 09:59 PM, Tomas Pelka wrote:
Yes this is nice, but I thing this is better approach:
in controler:
def getResults():
.
.
return something
in view:
{{=LOA
I will use it as an example in the new edition book.
BTW I am working on it... I had not realized how much new stuff
was still undocumented. Sorry.
On Jul 25, 12:27 pm, Kuba Kucharski wrote:
> huge part creation is about modifying smth that was previously there.
> there are a lot of things
You need to define a custom table (as explained in the book) and give
explicit error messages to validators
...requires=IS_NOT_EMPTY(,error_message=T('cannot be empty'))...
On Jul 25, 10:45 am, Neveen Adel wrote:
> Dear all,
>
> How can i translate the login page " .../default/user/logi
I reposted it. Please try again
On Jul 25, 6:15 am, Stef Mientki wrote:
> thanks Massimo,
>
> loging in /out now works,
> but inviting other people to a chatroom doesn't work.
> I get an error:
>
> Traceback (most recent call last):
> File "gluon/restricted.py", line 178, in restricted
> Fil
huge part creation is about modifying smth that was previously there.
there are a lot of things that can be used in a bad or good
way(photoshop?). and yes, they are still on the market. let's leave
the choice between good and evil to the people. I don't really care SO
MUCH about "clone" feature(alt
There are also comments embedded directly into the online book. These
should be reviewed and incorporated into the new doc as deemed fit.
I did what you asked, but removing _value=False seems to have no
impact on the request.vars result. The return value is always "on"
whether or not the checkbox is clicked.
Dear all,
How can i translate the login page " .../default/user/login" ,
how can i translate the username and the password fields and also how
can i translate the error messages the are displayed.
Thanks in Advance
Neveen
bump
On Jul 13, 11:20 am, NickFranceschina
wrote:
> thanks but this doesn't help me...
> 1) I'm using Wing
> 2) I'm trying to debug using GAE's dev_appserver.py
>
> Wing debugs fine if I use web2py's web server... but when run on GAE,
> Web2py has that extra code to cache files by key... and
I agree that it should be available in either context, which means
including the helper. If folks wish to implement it in the view, they
could continue to do so...
On Jul 24, 10:40 pm, Michael Ellis wrote:
> I'm of two minds on this. It's a one-liner to implement as I've done it,
> but my imple
On 25-07-2010 02:06, mdipierro wrote:
> Taking a second look. This is really cool and I see there is more than
> the interface.
thanks, and the answer to your previous mail, it;s based on wxPython
> How difficult would it be to implement this with a web
> front-end using elFinder?
>
I've no idea.
When I send my registration form I get the error below from the
controller: controllers/default.py
What should I do to be able to send the form and save form data into
database?
Line 17 in default.py refers to:
form=auth()
Do I have to add some code yet to user function to be able to send my
When I try to submit my registration form I get this error from
controller: controllers/default.py
Where line 16 is:
form=auth()
So, what should I do to be able to send and save data from my
registration form into database?
---
thanks Massimo,
loging in /out now works,
but inviting other people to a chatroom doesn't work.
I get an error:
Traceback (most recent call last):
File "gluon/restricted.py", line 178, in restricted
File "S:/Python_26/web2py_win/web2py/applications/kat/controllers/default.py"
, line 72, in
This seems like a great idea and the possibility to a great site and
application. But there is a lot of work to do in this project. You
could make a small business out of this idea. I highly recommend
looking for a bit of funding and then you can create the app with some
financial motivation. W
I've used the sortable plugin (
http://www.web2py.com/plugins/default/sortable ) in some projects and
I think it is very useful to arrange list of items in database. What I
miss is the "connect list" functionality (
http://jqueryui.com/demos/sortable/#connect-lists ) of jQuery UI. What
I think can
I solved the problem.
It is strange but in sql.py before
"self._pool_connection(lambda :MySQLdb.Connection" I add import
MySQLdb.
I print some logs from sql.py and the first import in sql.py is not
processed when running with apache.
I am not sure why first import is not processed but I solved my
p
Thank you!
On Jul 25, 12:52 am, keitheis wrote:
> Hi,
>
> I made the OpenID support for sahana eden. And thanks to Fran Boon, I
> did it most on web2py/gluon/contrib/login_methods . Here is the code:
>
> https://code.launchpad.net/~keitheis/web2py/openid
>
> Fran said that in the long run it's be
This is a good argument to not include it.
On Jul 24, 9:40 pm, Michael Ellis wrote:
> I'm of two minds on this. It's a one-liner to implement as I've done it,
> but my implementation hides the rich argument set available in
> simplejson.dumps():
>
> dumps(obj, skipkeys=False, ensure_ascii=True,
I have a bonafide project that I know ( at least I think I know) that
Web2py will be perfect for. I AM NOT A PROGRAMMER but I want to learn
how to program and I think this is the perfect platform for me to get
my feet wet. PLEASE either point me in the direction of someone who
wants to teach an idi
Hi,
I made the OpenID support for sahana eden. And thanks to Fran Boon, I
did it most on web2py/gluon/contrib/login_methods . Here is the code:
https://code.launchpad.net/~keitheis/web2py/openid
Fran said that in the long run it's better to have it maintained up
here.
So I send it here for the f
44 matches
Mail list logo