linked_tables=[] would do the trick.
Thanks!
--
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
On Friday, April 28, 2017 at 11:52:53 AM UTC-7, felipe...@tksolucoes.com.br
wrote:
>
> hi,
>
> I want save one image in dinamic directory web2py, but ai not using
> SQLFORM,
>
> When i do upload the image i recieve in controller C:/FAKEPATH/imagename
>
> how do i handle this path or other
Hmm...
I would first bring this piece of code into the controller as helpers which
are slow are suppose to be even slower if use from the view. It will make
the code less heavy...
I am not sure what you are exactly want. Since you already loop over you
myfields dict, you can just use the values
hi,
I want save one image in dinamic directory web2py, but ai not using
SQLFORM,
When i do upload the image i recieve in controller C:/FAKEPATH/imagename
how do i handle this path or other upload ?
sorry my inglish.
look my code:
View:
Primeiro Nome
in you smartgrid definition,
form = SQLFORM.smartgrid(db.table,linked_tables=[]) or form =
SQLFORM.smartgrid(db.table,linked_tables=None)
I dont remember whats the correct
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
Hello everyone,
I am using a Smartgrid to display some data. I was wondering if there is
any chanche of hidding the links that redirect to the archive records.
Is there any easy way of doing this?
We choose to use materializecss instead of polymer because polymer was not
very stable at the time.
El vie., abr. 28, 2017 10:13 AM, escribió:
> @Luis Valladares I also like the idea of Polymer + web2py. Where you able
> to use both in combination? If so - do you have some
@Luis Valladares I also like the idea of Polymer + web2py. Where you able
to use both in combination? If so - do you have some example code to share
on Github?
Cheers
Tset
Am Montag, 21. September 2015 01:51:00 UTC+2 schrieb Luis Valladares:
>
> Hello!
>
> I'm building a web2py site and i want
Bump
--
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 the Google Groups
"web2py-users" group.
To
Create a view or materialized view in the db, and then just create a DAL
model based on that view (turn off migrations for that model so the DAL
does not attempt to create a table for it). From that point, you can use
that model for queries via the DAL.
Anthony
On Thursday, April 27, 2017 at
welcome aboard !!! this is not your captain speaking.we shall take off
in a few minutes.
*do not fasten your seat belts and stop smoking*
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
How do i change my code to dinamically create the OPTGROUP and OPTION from
myfields
{{myfields={
"driver":{"tja":[{"value":"joe","id":1},{"value":"anne","id":2}],"abc":[{"value":"cris","id":3},{"value":"pat","id":4}]},
Marlysson :
just in case, from now on i keep this one under my pillow :))
https://media.readthedocs.org/pdf/pydal/stable/pydal.pdf
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
Hi,
I need to update pandas - web2py uses the Ubuntu distribution version
(which is getting old Pandas 0.17.0). So I pip installed the latest version
into 'web2py/site-packages/' but then the page hangs for like 5min and then
all I get is this error message in /var/log/apache2/error.log :
[Fri
wonderful !!
and I can even cache it to prevent waste
thanks Anthony
--
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
Yes that is a round about way. dal should allow creation of primary keys.
This is a requirement in rdbms. In book primary key is said for legacy
databases with constraints. Can I define the primary key in backend
database. Will dal not bother about it? Thanks.
On Friday, April 28, 2017 at
a, i c, so combination of 2 fields : field amcno & field unitid that you
want to ensure that is unique,
hm, perhaps you can create new field to store combination of those field
and use before insert call back or form validation to assign that
combination field into 1 new field and put unique =
Thank you Stifan.
I would like to have amcno+unitid to be unique. In dal we can set each
field to be unique. How to do that for a combination of fields?
On Friday, April 28, 2017 at 1:12:24 PM UTC+5:30, T.R.Rajkumar wrote:
>
> I have a table in which two fields say amcno and unit are there. Now
perhaps you can use dal field constructor unique = True and requires =
IS_NOT_IN_DB()
best regards,
stifan
--
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)
I have a table in which two fields say amcno and unit are there. Now how
to ensure amcno+unitid is unique in dal?
--
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
Hello Massimo,
One more piece of information that might be useful:
One Google support person at the "Google App Engine" forum here told me my
login attempt was made with password "password", which is NOT the password
I set into the environment variable as seen in my attempted hack above, as
21 matches
Mail list logo