How are you inserting the form into your view? If you're using SQLFORM you
can supply labels to your fields (in your case the 'agree' field) using
something like:
form = SQLFORM(db.auth_user, fields = ['agree'], labels = {'agree':'Do you
agree to the Terms and Conditions?'})
Obviously you will
ng else in the url
> in that case.
>
> Anthony
>
> On Thursday, March 29, 2012 8:34:19 PM UTC-4, Jonathan Lundell wrote:
>>
>> On Mar 29, 2012, at 11:33 AM, Simon Bushell wrote:
>> > This is a neat solution Anthony (actually, it was my original idea for
>&
Hmm, this is bizarre. I was aware of the reloading routes and it is still
not working. I even made a blank 'shortener' scaffold app and added the
routes.py from above at root level.
http://127.0.0.1/jujuju gives the same errors as above.
I'll muck about a bit more and see whats going wrong. I
This is a neat solution Anthony (actually, it was my original idea for
solving this). however I seem to be getting the same error: *invalid
function (default/tcgata)*.
Forgive me, is this code in the root-level routes.py? or a routes.py in *
applications/shortener*?
Should anything else be in
hi all,
So I am coding a little app that acts as a sort of url shortener (like
bit.ly).
Visiting *myapp.com/tcgata* will search my database for an URL linked to '
tcgata'
My reading of the documentation suggests that this can be achieved using
pattern-based URL rewriting in routes.py. As such
Hi all,
So I am a Web2Py convert, and am now using it for pretty much all of my
Pythonic WebDev projects.
As well as being an excellent framework, I am equally impressed with the
passion and friendliness of the Web2Py community and I was wondering what I
can I do to help contribute to it.
*
6 matches
Mail list logo