It could be a good ideia to create a github repository to allow the
community collaborates with you. Then, you can control this by issues and,
who knows, accept some pull requests.
On Thursday, July 31, 2014 11:05:59 PM UTC-3, LoveWeb2py wrote:
>
> Hello,
>
> I'm creating a 5 page PDF to get us
perhaps you can use, show_if.
ref:
http://web2py.com/books/default/chapter/29/07/forms-and-validators#Conditional-fields
best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/we
It's a common issue with unicode & python, perhaps this will give you some
ideas on how to proceed:
http://stackoverflow.com/questions/2153920/returning-the-first-n-characters-of-a-unicode-string
Regards
On Tuesday, July 29, 2014 6:41:26 PM UTC+2, Капылов Данил wrote:
>
> Maybe you're right. Bu
Is it possible, when creating a form with SQLFORM to set a field as hidden?
In my application I have a form which one of its fields, has to be
completed automatically i.e. not by the user. The problem is that the data
that goes into that field is dynamic (depends on the actions of the user)
and
Is there way to programmatically set a path prefix in a controller rather
than in routes.py?
Best,
Michael Joseph Gheith
On Tuesday, July 29, 2014 4:47:17 PM UTC-5, Michael Gheith wrote:
>
> Hello,
>
> I rewrote what you had Massimo as the following (and it compiled just
> fine):
>
> routes_in
Than it is easy. make it writable=false if forms.
Store your filename in the the upload field. But instead of
URL('download',)
use
URL('mydownload',)
Where:
def mydownload():
fullname = os.path.join(os.path.join, 'private', request.args(0))
response.stream(fullname)
On Wed
I believe I am using a standard db with id.
I used JSON to return the id and it works
return 'NOTOK' if r.errors else gluon.contrib.simplejson.dumps([r.id])
The response is correct http://imgur.com/8xzCzU5
Even though I solved my problem (using JSON) it still strange why it cannot
return an integ
form = FORM()
makes a form but you are making a form that contains no
input/select/texarea/buttons.
form.add_button('Click', URL ('first'))
adds a button after the submit button in the previous form, but that form
does not have a submit button.
If you really want a form, you should put somethin
Good evening, I just started learning this fremvork because questions may
seem childish, but still.
task:
Create a jump button (just to another page)
My solution, I wrote a similar code kontoroller
def index ():
form = FORM ()
form.add_button ('Click', URL ('first'))
return
I've a question about developing web2py app on remote server with Pycharm.
I've a professional license for Pycharm and a VPS where web2py run on port
8000. It is possible with Pycharm to developing the application using
directly web2py server VPS? Thanks a lot.
Giovanni
--
Resources:
- http:
I am not sure about the overhead of SQLFORM but it goes through the logic
of generating the HTML for even if you do not need it.
The result you are getting is odd. What database are you using? What is the
model? Is it possible your table does not have an auto increment id field?
On Saturday, 2
I'm trying to modify this a bit:
https://github.com/mdipierro/web2py-appliances/tree/master/AppointmentManager
and bumped into this problem of the for loop throwing a ticket. None of the
suggested solutions seem to work for me. Any way out?
On Saturday, 11 May 2013 23:46:19 UTC+5:30, Massimo Di
http://imgur.com/Rs2YVeq
Hi Massimo and thank you for the reply. A couple of questions
1) What are the associated overheads of SQLFORM?
2) I tried the code you suggested but unfortunately I have the same
behavior.
If I use
return 'NOTOK' if r.errors else str(r.id)
I get nothing as a response, se
>From the handbook: Sessions are retrieved before module code is executed
and therefore before classes are defined. Therefore user defined classes
cannot be pickled.
Given that id of registered user is known, instead of creating any user
class and instead of enriching it with required attribute
14 matches
Mail list logo