Is there a reason why you can't put that code in yout controller?,
it'd be much easier and you'll separate obvious logic from the
presentation.
Regards,
Julio
On Jun 22, 10:05 am, pk wrote:
> hi together,
> i need help
>
> how can i update in the view a table entry, in my case the row called
>
Massimo, is there a limit or a relationship between the database and
the number of collection pools to be defined?
(I am sorry, I am at work currently and do not have access to the
source to see how pool_size is implemented)
Thanks!
On Jun 25, 4:57 pm, mdipierro wrote:
> db=SQLDB(,pool_
those imposed by the database. They can always be
> changed by editing mysql.conf, postegrsql.conf etc.
> sqlite does not use pooling.
>
> Massimo
>
> On Jun 26, 9:57 am, Speedbird wrote:
>
> > Massimo, is there a limit or a relationship between the database and
> >
Excellent reply IMHO, I've been "slightly" slapped in the wrist on
previous posts when I talked about separation of logic and
presentation, a very subjective topic if you will, since where to
define that "fine line" in presentation vs logic implementation for
one thing..
I'd rather have a UI desi
Just my 2 cents here, I personally update my apps via rsync/ssh from
my own PC at home to my external server miles away, rsync will only
copy differences and ignore certain files/directories, etc (all is
configurable), perfect for me for production deployment, I'd be happy
to share the shell scrip
In addition to that, are we talking about companies that support
web2py in the sense that they provide some sort of "control panel" for
it? - I mean I've been using my (same) hosting company for ages now,
though I have a "dedicated" VPS with them I do not have a control
panel of any sort, and I've
Replied. Thanks!
On Jul 6, 9:08 am, Yannick wrote:
> Can I know the name of the company you are using please ?
>
> On Jul 6, 11:25 am, Speedbird wrote:
>
> > In addition to that, are we talking about companies that support
> > web2py in the sense that they provide som
onclick="confirmation('{{=r.id}}');"
Then just accept the parameter in your JS function and handle it
there, something like
function confirmation(recno) {
...
-- Julio
On Jul 6, 1:57 pm, NetAdmin wrote:
> Hello All,
>
> I'm trying to display records in a table, that has a button at the end
>
I must say that I grow even more impressed with this framework as time
goes by :)
On Jul 6, 2:53 pm, mdipierro wrote:
> hey... web2py does this automatically if you use an input checkbox
> with class="delete". No JS needed.
>
> Massimo
>
> On Jul 6, 3:57 pm, NetAdmin wrote:
>
> > Hello All,
>
>
>From Yarko:
#
#...@user.is_logged_in
#def my secure function
#
#A user (class) validating access to sensitive information ugh!
Perhaps I am a little lost here Yarko, what would then be the
alternative to the above syntax? - I am asking this because at least
in the Zope realm, this is rather
I'd say Safari's caching, it is known that safari does not handle
changes in certain type of files very well (a feature or a nuisance,
who knows)..
Anyway, read here for more info:
http://forums.macrumors.com/showthread.php?t=73360
-- Julio
On Jul 9, 2:16 pm, Jonathan Lundell wrote:
> I'd lik
First of all, thanks to Massimo and the community for providing an
impressive framework to work with.
Being a Zope developer (and back-end python programmer) for the past
10 years (and soon to web2py convert) , I'd like to share one of the
issues that I have struggled since the early days of DTML
Fair enough Massimo,
I do agree that setting specific examples sometimes can lead to
misinterpretations (sometimes even being plain wrong), as an example,
I have many process currently written in python, which do not provide
any UI, these processes send many emails to different areas of my
compan
s (I need to allow users to
create accounts and log in into my blog, but only to respond to
posts), can this be done using CAS??
Take care all
-- speedbird
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2
This is awesome Massimo, thank you for pointing this out.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe fro
Just wanted to post the configuration page that is working in my
production server, I've installed web2py and my "new" app in it,
written 100% in python/web2py (my blog), here are the settings:
Webserver: Apache 2.0.63
System: CentOS 4.5
Access Level: Full (root)
# Apache Configuration file for
Congratulations on this great release,
I specially welcome the authentication/authorization patterns, really
needed! - In fact this version beat me to it, I just released my
weblog a couple of days ago, a pure web2py implementation (including
authentication/authorization) :(
Massimo, can you ple
Howdy,
I ended up with the same predicament and at the end of the day decided
to implement it myself, maybe not the most "desirable" option but it
has worked perfectly for me, writing an authentication/authorization
pattern is not as hard as you would imagine, especially in web2py, I
wrote a bit
Julius,
>
> Could you explain what are the differences when compared with the new
> default Auth (http://mdp.cti.depaul.edu/examples/default/
> tools#authentication)?
>
> Massimo
>
> On Mar 16, 12:18 am, Speedbird wrote:
>
>
>
> > Howdy,
>
> > I en
In this particular line (I just assigned it to a variable for
exmpanation purposes)::
recs = db().select(db.jobs.description,u1.name,u2.name, left=(u1.on
(db.jobs.user1==u1.id),u2.on(db.jobs.user2==u2.id)))
How do you reference "u1.name" or "u2.name"? - Consider the following:
row1_desc = recs[
Excellent thanks Yarko.
On Mar 20, 8:14 am, Yarko Tymciurak wrote:
> On Fri, Mar 20, 2009 at 9:41 AM, Speedbird wrote:
>
> > In this particular line (I just assigned it to a variable for
> > exmpanation purposes)::
>
> > recs = db().select(db.jobs.description,u
Hi all, hope someone has a suggestion on how to handle this issue,
which I am running out of optiohns on how to deal with it.
In MySQL, i have a table with a "text" (LONGTEXT) column that I use to
store base64-encoded image information, I do low-level validation to
make sure the data is actually
automatically base64
> encodes blobs.
>
> Massimo
>
> On Apr 5, 5:46 pm,Speedbird wrote:
>
>
>
> > Hi all, hope someone has a suggestion on how to handle this issue,
> > which I am running out of optiohns on how to deal with it.
>
> > In MySQL, i have a ta
Technically that is an apache warning, I am deploying my second app
tomorrow and will post an updated version of the configuration file,
showing using 2 apps , one instance of web2py and apache proxying.
Cheers,
Julio
On Apr 9, 2:27 pm, zxynax wrote:
> I get an error when I use that setup as we
Here's the last of my "pets", I present you with pyForum, the FIRST
message board written exclusively in web2py, basically a forum system
containing many of the goodies of other (php?) message boards out
there.
http://www.pyforum.org/
The "official" release is at:
http://www.pyforum.org/pyforum/
m not too concern in my "production" environment as long
as my "dev" is tuned in correctly, ideally, however, having the URLS
mapped as you mentioned would be awesome.
On Apr 10, 2:44 pm, Álvaro Justen [Turicas]
wrote:
> On Fri, Apr 10, 2009 at 6:25 PM, Speedbird wrote:
> &g
I think this is your problem:
prodj=db(db.prodj.id==request.args[0]).select()[0]
and then doing this:
discuss=db(db.discuss.prodj==prodj).select ..
should it not be discuss=db(db.discuss.prodj==prodj.id).select (or
whatever column is designed to hold the LONG variable)
cheers,
Julio
On
OK, folks, beta 1 of pyforum downloadable now, please read the topics
here:
http://www.pyforum.org/pyforum/default/view_forum/2
To get started,
Cheers
On Apr 10, 2:25 pm, Speedbird wrote:
> Here's the last of my "pets", I present you with pyForum, the FIRST
>
Right, please see "What will it take to take the forum out of beta
status" at http://www.pyforum.org/pyforum/default/view_topic/26
Thanks!
On Apr 12, 1:55 pm, Álvaro Justen [Turicas]
wrote:
> On Sun, Apr 12, 2009 at 5:16 PM, Speedbird wrote:
> > OK, folks, beta 1 of pyfor
t;
> One thing I need clarification on the install instructions:
>
> " Create your SQL database and add the appropriate users and permissions to
> it. pyForum currently uses MySQL 5.0"
>
> This does not preclude me from using PostgreSQL, correct?
>
> On Sun, Apr 12, 2009 a
fore packing application from web interface press cleanup)
> as it will put size from 2 mb to less than 150k (after gzipping it of course
> :) )
>
>
>
> On Mon, Apr 13, 2009 at 12:14 AM, Speedbird wrote:
>
> > Correct, however I'd suggest read the topics in the "pyForu
Released a couple of minutes ago, the update contains Pseudo-html code
support added, and a little bit of code cleanup, read what this update
contain at http://www.pyforum.org/pyforum/default/view_topic/33
What is pyForum? - pyForum is a 100% python-based message board system
based in the excelle
14, 5:13 am, rbuc wrote:
>
>
>
> > cool, keep up the good work!
>
> > On Apr 14, 9:54 am, Italo Maia wrote:
>
> > > Nice =D I made a forum myself some time ago, with django, and yours
> > > looks great!
>
> > > On 14 abr, 01:28, Speedbird wrote:
Ok folks, here it goes:
pyForum RC1 is out, pyForum is a web2py, 100% python-based message
board system released under the Open Source license, the code is
basically ready for "heavy" usage.
The "official" release: http://www.pyforum.org/pyforum/default/view_topic/44
pyForum can manage categori
Folks,
Just wanted to share with the community a real jewel, many of you knew
this but I actually started using it "heavily" during the past couple
of weeks: the IDE is wing from wingware, basically you run web2py from
inside of it, then just open your controller/module/model from the
IDE, set up
completion and change to catch Tickets in Wing if
> debugging (and grab the entire execution context). It was great to see them
> at the web2py dojo (always great to see them).
>
> I'm glad to hear you find WingIDE useful - it's one of my favorite tools.
>
> Regards,
> Ya
Thanks for the entry Mike,
Just FYI I am just about to release the last of the "RC" versions,
this time pyForum will have English, Spanish and German translations
to show how to seamlessly include internationalization in any web2py
project, I am running the last testings and will post the update
37 matches
Mail list logo