..that was really stupid from me. I'm sorry.
Thank you.
Dne úterý 16. června 2015 8:33:33 UTC+2 Mirek Zvolský napsal(a):
>
> Web2py 2.11.2
> Chrome & Firefox
> cache cleared
>
> I don't see Add button in the web2py grid.
> Explicit setting create=True doesn't help.
>
> In controller is just a
Works! Thanks.
Is it also possible for SQLFORM.factory?
On Wednesday, 10 June 2015 16:06:47 UTC+2, Anthony wrote:
>
> Try:
>
> db.table1.order.show_if = db.table1.colour.belongs(['red', 'blue'])
>
> Anthony
>
> On Tuesday, June 2, 2015 at 6:09:20 AM UTC-4, kecajk...@gmail.com
> wrote:
>>
>> Hi
Manuele/OSM : Great. Thank you very much !
--
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 Goo
no prob. happens all time :D
On Tuesday, June 16, 2015 at 9:28:52 AM UTC+2, Mirek Zvolský wrote:
>
> ..that was really stupid from me. I'm sorry.
> Thank you.
>
>
>
>
>
> Dne úterý 16. června 2015 8:33:33 UTC+2 Mirek Zvolský napsal(a):
>>
>> Web2py 2.11.2
>> Chrome & Firefox
>> cache cleared
>>
>>
In addition to people having roles in auth_membership, I give objects roles
too with extra field: superObjectID. For example an address can have many
roles.
But user_id field is mandatory and objects don't have user_id.
Is there a problem with populating auth_membership.user_id with the same
I have tried to follow this tutorial:
http://www.web2pyslices.com/slice/show/1579/web2py-and-redis-queue
Just changed the arguments in the enqueue function to be fixed:
def contato():
form = SQLFORM.factory(Field("name"), Field("message"))
if form.accepts(request):
# enqueue the e
Failed to copy the 2 error. The full traceback of the second error:
Traceback (most recent call last):
File
"/usr/local/lib/python2.7/dist-packages/rq-0.5.3-py2.7.egg/rq/worker.py",
line 558, in perform_job
rv = job.perform()
File
"/usr/local/lib/python2.7/dist-packages/rq-0.5.3-py2.7.eg
If you go here logged in with your gmail account, and allow less secure
apps, does it work?
https://www.google.com/settings/security/lesssecureapps
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com
I don't think there is any problem with that... Though make sure this fake
user can't log, set it registration_key to "blocked", so no one will be
able to brokein your system with the fake user that you forgot change
password or have a weak password...
I would suggest you to alter the auth model w
This is just a helpful tip should anyone else run into this problem. When
using MS SQL 2012 (may also happen with 2010 and 2008) and the DAL's
executesql() feature, if your query includes data type columns they'll have
a tendency to be pulled in by pyodbc as unicode strings rather than dates.
I have two web2py applications; modules are defined in the first one, and
symlinked from the second one. .
This is the structure (also notice some symlinked models):
applications/app1/
applications/app1/models/0.py
applications/app1/models/0_template.py* ---> symlink to
app2/models/0_template.p
beside from the fact that is hardly a web2py problem, what the heck ? you
udpate the app and you don't want to reload the process that runs it ?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/
10.0 for 2008, 11.0 for 2012, (or 12.0, if sql server 2016 will show up).
BTW: for anything else than MSSQL2000, mssql:// is NOT the recommended
adapter.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.goog
Hi there :)
I'm using web2py 2.9.10 with a database PostgreSQL 9.4 for a new project
and I have a question about sorting. In PostgreSQL, when I execute a
SELECT, I can specify 'ORDER BY x ASC NULLS FIRST', which is not the
default output. Is there a way to do that with the DAL other than writin
Is there anyway to make a SQLform.grid scroll instead of using page numbers.
--
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 bec
This does not work. No image is displayed. The layout seems to lose it too,
the response menu now has 2 rows & this causes things to be obscured by
it. Should I be trying this at all? If the menu was designed for text only
ok but put it in the Docs. This was the only change I did to the menu.py
But, if I have a PDF stored in a blob field, how could I use PDF.js do
display it?
Il giorno venerdì 24 ottobre 2014 19:32:08 UTC+2, José Eloy ha scritto:
>
> Any Idea?
>
> Regards
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (S
Hello,
In my app on the local server enough to use the termination .json in function call that
web2py automatically returning the results by generic.json. Now, with my app running on
nginx/uwsgi get an error 404 and "invalid view" as a result of the call.
If i use response.view = 'generic.json'
I am using the folllwing code to run a SOAP service and getting this error:
Any help is greatly appreciated. Thanks
from pysimplesoap.client import SoapClient
import socket
import os
client = SoapClient(wsdl="http://me-uat-txapp1/MEUAT/TxWS.asmx?WSDL";)
host = socket.gethostname()
pid = os.get
I've just upgraded to 2.11.2 and my application works ok but the Admin
Interface looks horrible - probably not picking up the right css etc. I
tried the Upgrade button but got a DAL error message so then I downloaded
the current source file, unzipped it and reinstalled my application files
from
I want to print request.args inside download controller for testing. But it
dosn't print anything. It print "request" but not request.args.
Download controller :
@cache.action()
def download():
"""
allows downloading of uploaded files
http:///[app]/default/download/[filename]
21 matches
Mail list logo