OK here's an example of counting matching records with web2py syntax.
SQL version
select count(*) from tbbooks where id = 1 group by id;
Note! if you don't add the GROUP BY clause, you'll get a count
of 1 record... even if there a NO MATCHES probably NOT what you intended
to do.
The
Here's an example if what I'm trying to do with NBSP() -- Make a BIG
eye-catching response.flash without using the dashes..
See attached file.
if form.accepts(request.vars, session):
response.flash = TABLE(TR(' '),TR(' '),TR(' '), TR(' Center
This ') , TR(' ')
Here's a section of the book that explains how to do conditional fields on
forms.
http://web2py.com/book/default/section/10/2?search=spouse
On Wed, Jun 2, 2010 at 6:14 AM, Sverre wrote:
> I want to hide fields in a form, depending on the values of a dropdown
> list. Has some a solution?
Sorry for the slow response.
You can send he app as an attachment to mr.netadmin at gmail.com
Thanks and good luck!
On Wed, Jul 28, 2010 at 11:30 AM, Martin.Mulone wrote:
> I make an application, that i developed in last two weeks. Where i
> submit or mail to anyone?
>
> On Jul 22, 12:28 pm, N
I'll post links to websites for each submission. ( where possible. )
Mr.NetAdmin
On Fri, Jul 30, 2010 at 11:12 PM, Iceberg wrote:
> On Jul 31, 2:12 am, NetAdmin wrote:
> > Web2py Application Exhibition
> >
> > Submissions must be e-mailed before
> > 12:59pm pm CST July 30, 2010
> >
> > Do yo
I can't login, but here is a change for IS_STRONG
current
* min is minimum length of the value
* special is the minimum number of required special characters
* is the minimum number of upper case characters
= suggested changes =
The number of participants was two.
Mr.NetAdmin
On Wed, Aug 4, 2010 at 2:49 AM, mdipierro wrote:
> Can you post some stats?
> Number of participants for example.
>
> Massimo
>
> On Aug 3, 2:01 pm, NetAdmin wrote:
> > Hello All,
> >
> > The winners of the Web2py Application Exhibition have bee
The first place prize was $100 dollars, 2nd place was $50
On Wed, Aug 4, 2010 at 8:13 AM, mdipierro wrote:
> Next time we need a money prize. ;-)
>
> On Aug 4, 6:22 am, Mr admin wrote:
> > The number of participants was two.
> >
> > Mr.NetAdmin
> >
&
Note to self -- use Field because SQLField is deprecated
On Tue, Aug 17, 2010 at 4:46 PM, NetAdmin wrote:
> in gluon/tools.py, I'm trying to modify the register() function
> to save request.vars.get('last_name', None ) to a table defined in
> db.py as
> db.define_table('tbextra',
> SQLField('l
Sure!
Plugins are just miniature applications right? :-)
Mr.NetAdmin
On Mon, Nov 8, 2010 at 1:13 PM, mr.freeze wrote:
> Can we submit be a plugin?
>
> On Nov 3, 3:18 pm, NetAdmin wrote:
> > Web2py Application Exhibition Version 2.0
> >
> > Do you have a Web2py app that you'd like to show th
Hello,
One thing you can do is, login to the box using ssh, edit your models, views
and controllers without using the admin interface at all.
I use this method most of the time
Sterling
On Mon, Jul 6, 2009 at 10:04 AM, Jonathan Lundell wrote:
> Is it practical to run web2py from a non-admin r
Can you post an example of your code?
It might help us find the problem.
Sterling
On Tue, Jul 7, 2009 at 10:20 PM, kozo wrote:
>
> hi all,
>
> i need a basic understanding of ajax^^
>
> i have a dynamic table filled with an ajax call.i want to paginate
> the
> table with an jquery plugin.
>
Thanks Massimo,
It's GREAT to know that web2py can do that, but I thought I should learn
about passing variables between python and web2py using JavaScript.
On Mon, Jul 6, 2009 at 4:53 PM, mdipierro wrote:
>
> hey... web2py does this automatically if you use an input checkbox
> with class="de
MyPassWord
On Wed, Jul 8, 2009 at 9:15 AM, Jonathan Lundell wrote:
>
> On Jul 8, 2009, at 5:13 AM, Mr admin wrote:
>
> > One thing you can do is, login to the box using ssh, edit your
> > models, views and controllers without using the admin interface at
> > all.
>
&g
I like the idea! I'd like to be a tester, documenter for the eStore.
Sterling
On Fri, Jul 10, 2009 at 3:32 PM, mdipierro wrote:
>
> I think we need to build two task forces.
>
> 1) to build a CMS
>
> 2) to build a eStore
>
> the more overlap the better. We need two project leaders and
> volunt
If you're using MySQL try this
alter table tblname change oldcolumn newcolumn char(15)
On Sun, Jan 31, 2010 at 12:04 PM, weheh wrote:
> Is there an easy way to rename a field without losing all the data
> behind it? I'm not sure I want to go through the trouble of writing
> all the data o
Martin,
GREAT! I voted for your sample app and I love the fact that it won't let me
vote twice.
The only thing I woud change so far is this.
Change
You already vote this one
to this
You have already voted for this one -- 1 vote per person
Looks GREAT!
Thanks Martin
Mr.NetAdmin
O
Bruno,
Yes the plugin will be eligible, and as far as finishing the app... all good
programs change and evolve over time, so they're never REALLY ever finished
right?
They just get a version bump :-)
Good Luck!
Mr.NetAdmin
On Fri, Dec 10, 2010 at 3:00 PM, Bruno Rocha wrote:
> If I can fini
Selecta,
I'm glad you were able to login!
Good Luck!
Mr.NetAdmin
On Wed, Dec 15, 2010 at 6:01 PM, selecta wrote:
> i finally was able to login using google as openid provider :)
> http://w2pexhibition.appspot.com/exhibition/default/index/311002
>
> On Dec 16, 12:00 am, selecta wrote:
> > waa
Selecta,
I have the link and will download it now!
Thanks!
Mr.NetAdmin
On Wed, Dec 15, 2010 at 5:59 PM, selecta wrote:
> btw I was finally able to login to WAE 2.0 app
> here is the link to my contribution (which is called pyMantis btw)
> http://w2pexhibition.appspot.com/exhibition/default/i
Anthony,
Thanks for the info. I've forwarded the message to Martin.
Mr.NetAdmin
On Wed, Dec 15, 2010 at 8:49 PM, Anthony wrote:
> There's an error in the Application Exhibition 2.0 index.html view:
>
> Project (URL):
> {{=A(app.url,_href=app.url)}}
> Download (URL):
> {{=A(app.url_download, _
Very soon, I hope. I'm trying to contact the other judges.
Mr.NetAdmin
On Mon, Mar 5, 2012 at 12:26 PM, spiffytech wrote:
> When will the winners be announced?
>
>
> On Feb 14, 11:04 pm, NetAdmin wrote:
> > Hello All,
> >
> > February 15 is the last day for submissions for the
> Web2pyApplic
web2py project please!
>
>
> Thanks !
>
> On Thu, Mar 8, 2012 at 2:19 AM, Massimo Di Pierro <
> massimo.dipie...@gmail.com> wrote:
>
>> Congratulations. Excellent work! And Thanks to Mr. Admin for organizing
>>> the competition.
>>
>>
>
My Pleasure!
Mr.NetAdmin
On Thu, Mar 8, 2012 at 1:15 PM, spiffytech wrote:
> Yay! Thanks for putting on the contest!
>
>
> On Wednesday, March 7, 2012 1:49:33 PM UTC-5, NetAdmin wrote:
>>
>>
>> 1st Place Prize $100
>>
>> Brian Cottingham from the U.S. was the First Place Winner.
>> His e
24 matches
Mail list logo