I'm returning for feedback. I changed the controller, so I will not be
using generic pattern, correct? Another problem solved was that the pillow,
strangely, was not processing the sent image. I uninstalled and reinstalled
again so far everything is fine.
Here's the change (red):
Thanks Leonel Câm
Yes that fix looks exactly on point.
-- Joe
On Sunday, July 16, 2017 at 3:28:22 PM UTC-7, Leonel Câmara wrote:
>
> Joe the fix on the DAL wasn't for your problem, Your problem was fixed in
> web2py here:
>
> https://github.com/web2py/web2py/pull/1686/commits/ce0b2557470ecb7c92719645293cb00785fe4
You are correct. By using the SQLFORM.factory function the table was,
indeed, different. I blame the lapse on the inability of neurons to
function in the 106 degree heat we're having in the Sacramento area today.
-- Joe
On Sunday, July 16, 2017 at 2:53:10 PM UTC-7, Anthony wrote:
>
> You ment
Joe the fix on the DAL wasn't for your problem, Your problem was fixed in
web2py here:
https://github.com/web2py/web2py/pull/1686/commits/ce0b2557470ecb7c92719645293cb00785fe48bc
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source
You mentioned the field was being re-bound to the same table, which does not
appear to be the case below, as SQLFORM. factory creates its own dummy table.
Was this causing another problem in some other context?
Anthony
On Sunday, July 16, 2017 at 4:34:25 PM UTC-4, Joe Barnhart wrote:
> Yes...
I think I tried your fix but it didn't work. None of my fields were "common".
Massimo had pointed out the fix on Github.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Re
Oh, good to know, it was the bug i've fixed in SQLFORM.factory then. It
will be fixed in the next version and you will be able to rollback your
workaround.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.
Found the issue and a workaround see below.
--
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
Yes... Massimo helped me come up with a workaround for my case.
I am using SQLFORM.factory to create a form to edit two tables joined
together. One table is used to index entries in a bunch of other tables by
a 6-tuple. Since these are all swimming related, the tuple is (sex,
upper_age, lower
Joe can you show us some code? I've already fixed two bugs related to this,
one on the DAL and another in web2py, I want to make sure yours isn't a new
one.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.
I believe this DAL change is actually showing bugs in web2py we need to
change SQLFORM.factory to clone the fields. Then we need to fix
common_fields in the DAL so it makes clones of the fields.
For now if you need a quickfix for your application you can clone the
fields you send to the SQLF
On Saturday, July 15, 2017 at 12:47:04 PM UTC-4, Joe Barnhart wrote:
> Hmm... That's gonna be a problem.
>
>
> This is occurring in an SQLFORM... which is in a modal pop-up box... over a
> tabbed structure with about 5 more SQLFORMS... plus 5 or 6 jQuery
> DataTables... all powered by the sam
On Sunday, July 16, 2017 at 7:20:33 AM UTC-4, Leonel Câmara wrote:
> You are using the generic json view. By default generic views are only
> allowed on localhost. You need to allow it for your function by adding
> something like this to your models.
>
>
> response.generic_patterns = ['default/
You are using the generic json view. By default generic views are only
allowed on localhost. You need to allow it for your function by adding
something like this to your models.
response.generic_patterns = ['default/echo_upload.json']
--
Resources:
- http://web2py.com
- http://web2py.com/book
Hi,
Take a look at cuba-platform (www.cuba-platform.com)
You'll find all the features you have listed and much more.
On Friday, October 15, 2010 at 12:38:19 AM UTC+1, DJ wrote:
>
> Hello web2py people,
>
> I was in a discussion recently telling my friend how great Web2Py was
> for programmer pr
15 matches
Mail list logo