{{=A ... Can be used but it is only for URL. Please help me out of this. This
is nowhere in the book.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You
you can simple create a form like in the web2py guide and a controller that
references the from see web2py guide that are basic exmpale you can't do
all operation in the view and you put the update and insert operation in
the controller not in the view, in the view only select
On Sunday, 3 Janu
I appreciate the help Alessio. That sounds little complicated. So what if I do
something like this. What should I do in place of the comment. Will be thankful
for your help.
{{for x in uu:}}
{{pass}}
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.co
{{for x in uu:}}
{{=x.name}}
{{pass}}
This doesn't work as expected.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because
I see no way of blocking it in the source code.
You could hide it using JS, something like:
$('.row_buttons > a:nth-child(3)').addClass('hidden')
On Friday, December 25, 2015 at 11:37:54 PM UTC-5, Jose Eleudson Gurgel
Queiroz wrote:
>
>
> *With this tables:*
> db.define_table('tbProduct', \
You could add the following to the end of web2py-bootstrap3.css
.navbar {
background-color: #963;
background-image: none;
}
On Wednesday, December 16, 2015 at 8:10:22 PM UTC-5, Joe wrote:
>
> I am trying to change the background-color of the nav bar in the newest
> web2py bootstrap 3 versi
It will help if you work your way through the book.
Start here, and understand the web2py concepts:
http://web2py.com/books/default/chapter/29/03/overview#Simple-examples.
You need to understand what a 'view', 'controller', 'model', etc are.
This will help you understand the replies provided on
glad to have fixed a solvable issue : waiting for the unsolvable :P
On Sunday, January 3, 2016 at 3:29:54 AM UTC+1, Tom Campbell wrote:
>
> Argh, I should have updated this. Thank you for answering! Adding the
> import to dev_appserver.py did not work. But I had to learn about pip
> (ahem) and i
{{for x in uu:}}
{{=x.name}}
{{pass}}
This doesn't work as expected. How to fix it?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this me
Change your expectations :P
You are inserting into database while generating the view, before view even
gets to the client (browser).
Your "href" needs to point to a controller, for example:
{{=
x.name}}
Then, in "mycontroller.py" file you need to have a "my_insert_function"
like this:
def my_
On Sunday, January 3, 2016 at 9:36:56 AM UTC-5, RAGHIB R wrote:
>
> {{for x in uu:}}
>
>
I think it does work as expected if you have read the documentation. The
above code will insert a record into the db.store table with the value of
the "stuff" field set to x.id.
It appears what you want is
I'm getting the Exception " Unable to
handle upload" when attempting to insert a file uploaded with the TinyMCE
text editor into a DB table. The TinyMCE editor allows the user to drag and
drop image files directly into the editing window. I'm using BeautifulSoup
to parse out the image files, a
hey - do you see cryptocurrency Auth?
in NEXT - http://nxt.org/ - it have token by user account in cryptocurrency
четверг, 24 декабря 2015 г., 18:21:42 UTC+3 пользователь Massimo Di Pierro
написал:
>
> web2py 2.13.3 is out. MERRY CHRISTMAS EVERYBODY!!!
>
> It contains some bug fixes for bugs int
If I create a SQLFORM from a table, but avoid DBIO (either by just calling
validate, or calling process(dbio=False).accept), if a required field is
missing, instead of the form coming back w/ errors, It throws a NOT_IN_DB
exception.
If instead I use a SQLFORM.factory, missing required fields pa
Please show your code as well as the traceback.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to th
Problem solved: it seems the .store() function returns a unicode object
instead of a string, and unicode can't be inserted into the DB as the
filename. It can be fixed by casting the unicode text as a string:
db.t_image.insert(f_image_file = *str(*db.t_image.f_image_file.store(file =
image_file
Will try it tomorrow...
:)
Richard
On Thu, Dec 31, 2015 at 3:01 PM, Dave S wrote:
>
>
> On Tuesday, December 29, 2015 at 6:34:38 PM UTC-8, Dave S wrote:
>>
>>
>>
>> On Tuesday, December 29, 2015 at 4:41:31 PM UTC-8, Dave S wrote:
>>>
>>>
>>> See below:
>>>
>>> On Saturday, December 26, 2015 at
Happy New Year Everyone,
I want to understand what everyone think about this problem. Let's say I
have an app installed in python anywhere. I have few users. There are some
changes to my app or for various other reason I need to delete the current
code with an updated version of my web2py appl
When I create a form do I need to do anything other than just have this
line in the controller:
form = SQLFORM(db.example).process()
and then {{=form}} in the view?
As far as security, this is enough just like that, right?
The reason I am asking because I just looked through the records in the
d
19 matches
Mail list logo