Thanks for the valuable advice about the regex!
This is my solution:
https://gist.github.com/manuelep/19a0e9ab6723086fdbf1ffa8e858a5f9
Cheers
Manuele
Il 12/05/21 19:08, Raul Monares ha scritto:
I found this code on the web
# Python code to find the URL from an input string
# Using
to limit it. Adding Google reCaptcha v2 to the registration
forms didn't help.
Thanks a lot
Manuele
--
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
?
Thanks a lot
Manuele
--
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 "w
Hi!
What's the correct way to add custom headers to response with status
different to 200 (i.e. 500)?
Thanks a lot
Manuele
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues
Actually I used request.env.HTTP_X_FORWARDED_SERVER I really don't know
if your answer fits anyway.
Thanks!
Manuele
On 09/09/20 16:44, Clemens wrote:
Does request.env.http_host gives us the information you want?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation
!
Manuele
--
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&q
success till now.
I'll be glad for any siggestion
Cheers
Manuele
Forwarded Message
Subject:client side caching
Date: Wed, 13 May 2020 09:45:58 +0200
From: Manuele Pesenti
To: py4web
Hi!
I wrote this little function trying to re-implementing client side
solution to submit as an issue to the pydal project? Or does it depends
on my local package configuration?
Thanks a lot
Manuele
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py
Hi *!
Would it be possible to setup an application in order that the
verification is always required for registration and the approval would
be required only if an extra auth_user field is leaved blank during
registration?
Thanks a lot
Manuele
--
Resources:
- http://web2py.com
- http
a response and some messages from the rocket server pop up with
thease messages:
2020-02-28 09:35:12,250 - Rocket.Errors.Thread-5 - ERROR - Traceback
(most recent call last):
File
"/home/manuele/development/PLANET/web2py_r-2.18/gluon/rocket.py",
line 12
github.com/web2py/web2py/blob/R-2.18.3/scripts/web2py.ubuntu.sh
Best regards
Manuele
On 21/01/20 16:29, Manuele Pesenti wrote:
On 21/01/20 15:10, Manuele Pesenti wrote:
So I guess I have to try using the second web2py (R-2.18 under
python3 virtualenv) instance through mod_proxy... right
On 21/01/20 15:10, Manuele Pesenti wrote:
So I guess I have to try using the second web2py (R-2.18 under python3
virtualenv) instance through mod_proxy... right?
So I'm trying to run a web2py (R-2.18.3) instance for deploy purposes
using apache mod_proxy.
First I want to install
On 21/01/20 14:59, Manuele Pesenti wrote:
Thank you Tim,
I tried but restarting apache and accessing the instance the browser
takes a long time to respond and I get this error in log:
ImportError: No module named site
Could it be related to this https://stackoverflow.com/a/41006418
Thank you Tim,
I tried but restarting apache and accessing the instance the browser
takes a long time to respond and I get this error in log:
ImportError: No module named site
This is how my apache configuration looks like if could be of any help
to understand the problem:
ServerAdmin
st regards
Manuele
[1] http://web2py.com/books/default/chapter/29/13/deployment-recipes
--
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 th
Yes! It seams the right way... thank you Dave
M.
On 21/01/20 09:45, Dave S wrote:
Check out routes.py, as described at
http://www.web2py.com/books/default/chapter/29/04/the-core#URL-rewrite>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
ome/static/css/bootstrap.min.css and
so on.
Is there a possible way to fix it with some framework configuration?
Thank you very much.
Best regards
Manuele
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code
I'm loving it!
Thanks again Massimo
Manuele
On 24/07/19 07:40, Massimo Di Pierro wrote:
OK. I know. I am not good with names.
But there are lots of requirements to be fulfilled.
py4web.com was available and the pypi package was available.
Here is running on google cloud:
http://py4web.com
Il 15/07/19 14:45, Manuele Pesenti ha scritto:
> "(housenumbers.city ILIKE '%sant\_olcese%' ESCAPE '\'))" with
I beg your pardon because of the string was passed through GET method it
was encoded and checked so the single quote was substituted by a
underscore. I solved usin
t use the "E" at the beginning of the substring template.
Thank you in advance for any suggestion.
Cheers
Manuele
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Repor
Hi everybody!
I'd like just to share a thought I had browsing around last week... I
found this web site https://spark.laravel.com and I realize how great
would be to have modular plugins to build hi level scaffolding
applications... don't you agree? :)
M.
--
Resources:
-
with the same problem
Cheers
Manuele
On 05/12/2018 12:13, Manuele Pesenti wrote:
Hi!
we are trying to build up printable report from a view. We'd like to
use xhtml2pdf instead using the web2py embedded library fpdf.
How the view template file should look like?
Essentially we tried something like
Hi!
we are trying to build up printable report from a view. We'd like to use
xhtml2pdf instead using the web2py embedded library fpdf.
How the view template file should look like?
Essentially we tried something like the following without success:
{{
from xhtml2pdf import pisa
from StringIO
pecify env(...,
import_models=True).
That's what I've done ;)
Thanks again
Cheers
Manuele
--
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 messa
lete model of another application, is it a
deprecable behaviour?
Thanks a lot
Manuele
--
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)
---
Yo
, Manuele ha scritto:
>
> Hi!
>
> Is there a way to let a web2py application support both openid and
> standard authentication in parallel?
>
> Applying what mentioned in the documentation[*] the standard login form
> is substituted with the openid form and there's no way to
. An I right? Or Did I
misunderstand the doc?
Thank you very mutch in advance
Cheers
Manuele
[*] http://web2py.com/books/default/chapter/29/09/access-control#OpenID
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code
or just let you be inspired from the update_or_insert method itself:
https://github.com/web2py/pydal/blob/70929a6dc03e6296c34944d2d232f257b78337d7/pydal/objects.py#L822
something like the following lines maybe will fit your needs:
def update_or_insert(self, _key=DEFAULT, **values):
if
with success
2. Check if it's the case to postpone the task
3. if yes raise an exception an let fail the task
eventually if the task is retried too early raise another exception in
order to wait the two minutes.
Could it fit your needs?
Cheers
Manuele
Why? The scheduler starts to send a message
Manuele
On 06/07/2018 00:30, Dave S wrote:
Never happens to me, so I can only guess:\
- you're waiting for a locked file ... IIRC, you're not using sqlite,
though, right?
I'm using PostgreSQL
- you have a process that blocks waiting for results (like a response
from a remote system
Manuele
--
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&q
Il 13/05/18 16:31, Andrea Fae' ha scritto:
> When I try to "push git " i See the error "requires gitpython module"
Have you tried
https://gitpython.readthedocs.io/en/stable/intro.html#installing-gitpython ?
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> -
Il 29/03/18 21:13, Richard Vézina ha scritto:
> They are intent to be used to specify something before or after the
> delete... I mean even if there is no "pure" deletion occuring your
> record doesn't exist anymore for the end user once you "deleted" it
> even if versioning mechanism keep trace
?
Thak you very mutch
Cheers
Manuele
--
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
Il 25/03/18 00:51, Patrick Rodrigues ha scritto:
> I was developing the same feature for my website today, and this help
> me a lot.
> In my case I was using Dango Rest Framework, and I was using
> request.data and parsing it to JSON, insted of using request.body.
> But now it works, thank you
b.in or directly
from the woocommerce event log web page) that I didn't notice they were
converting string such as "" into the character €. That's why I
didn't get the correct encoded string.
Directly using what I get from request.body.read() everything worked fine.
Best regards
On 15/03/2018 22:17, Manuele Pesenti wrote:
You might be better off getting help from folks who know
WooCommerce, as this issue does not appear to be web2py specific.
Yes for sure! Thanks a lot.
M.
Before to definitely fly to other places where to find answers to my
problem I have one
Il 15/03/18 20:21, Anthony ha scritto:
> Hard to say what's wrong. Where did you get that signature and request
> body? You might be better off getting help from folks who know
> WooCommerce, as this issue does not appear to be web2py specific.
>
Yes for sure! Thanks a lot.
M.
--
Resources:
raise AuthenticationError(result)
AuthenticationError: WNeVWlUGBX6pSusRngDavUWlck6eAhVpTRoTYBbJdYM=
--
Ran 1 test in 0.000s
FAILED (errors=1)
Any idea or suggestion will be appreciated!
Cheers
Manuele
[1] ht
to
analyze because it's minimized and at the moment we use a framework
version equal to 2.14.6 for the deployment, any suggest about it?
Thanks a lot
Manuele
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https
er hand I'm not sure that not to perform a database select
query on every request but use the filesystem it's a better choice. Is it?
Cheers
Manuele
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py
the
session id and I check if it corresponds to the real value? In this case
how can I force to logout all other user logged in with the same
username? I would prefer to give precedence to the last one who login.
Cheers
Manuele
--
Resources:
- http://web2py.com
- http://web2py.com/book (
Thanks a lot Massimo! As precious as ever.
:)
M.
On 07/03/2018 07:02, Massimo Di Pierro wrote:
it is possible.
when a user first logs in, store a uuid in the session and write it in
the database (in a new custom field in the auth_user table). When a
request arrives if the uuid in the
Manuele
--
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&q
On 01/03/2018 03:25, Dave S wrote:
Don't you want a dummy parameter on verify_signature(), to prevent it
being a URL-visible function?
well actually it can even stay inside the models not a controller... in
that case if it's not decorate as a service it cannot be visible. right?
body = request.body.read() # ??
computed = compute(body)
if signature==computed:
return func(*args, **kw)
raise HTTP(403)
return wrapper
@service.json
def listenToHooks():
@hookCheck
def _main_():
# do stuff
return {}
retu
,
ok I agree
and I don't think there is much gained by putting it inside
ok... but why not?
an @auth.requires decorator -- just run the relevant code directly in
the listenToHooks function.
Anthony
Cheers
Manuele
--
Resources:
- http://web2py.com
- http://web2py.com/book
re" and I'm not sure if the string from which get
the hmac hash is just what I get from the read method of the
request.body object.
thank a lot
Manuele
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://c
Hi Anthony and LoveWeb2py,
I used this controller exactly to let authenticated and authorized users
access to a third part application not exposed to the web, I shared in
order to collect opinions from experts, any suggest appreciated.
Cheers
Manuele
On 14/02/2018 13:37, Anthony wrote
I wrote something like that few years ago... maybe you can start from here:
https://gist.github.com/manuelep/81ffe8ce57de4dc9b2d80a99c08992cc
please let me know if you find any interest in it.
Cheers
Manuele
On 13/02/2018 13:10, Anthony wrote:
On Monday, February 12, 2018 at 9:43:53 PM
choice follow the official reference of the service.
Thanks for any suggest
Cheers
Manuele
[1]
http://web2py.com/books/default/chapter/29/05/the-views?search=google_analytics_id
[2] https://support.google.com/analytics/answer/1008080?hl=it
--
Resources:
- http://web2py.com
- http
Hi Anthony,
thank you for your reply,
On 06/12/2017 15:36, Anthony wrote:
I followed what indicated in the web configuration panel setting
up two
static configuration considering that my application is accessible
both
as init and as .
First, what do you mean by this --
ees porpuses?
Thanks a lot.
Manuele
--
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 Gr
Ok that's the problem, I'm using a 2.14.6 release.
Thanks Anthony and others
On 28/10/2017 13:14, Anthony wrote:
That was a bug but should be fixed in web2py 2.15.
If you can't upgrade, as an alternative, see:
https://groups.google.com/d/msg/web2py/JeE6jLP-qjI/MXS0MVdOCQAJ
Anthony
--
It seams that the parameter request.is_scheduler is always set to false
on my colleague windows system
could it be a possible bug? Any other experience?
M.
On 20/10/2017 17:20, Anthony wrote:
If it is a scheduler execution, request.is_scheduler will be True.
Anthony
--
Resources:
-
your answare. I'm still looking for the cause of this
problem but I think it could be related to the trouble I got with the
database max number connections (look the thread "[...] too many db
connections to db [...]" for details).
Best regards
Manuele
--
Resources:
- http://web2py.
Il 24/10/17 13:47, Giles Thomas ha scritto:
> Hi Manuele,
>
> PythonAnywhere dev here: there's no extra cost if you want to increase
> the maximum number of Postgres connections -- just follow the
> instructions on this help
> page: https://help.pythonanywhere.com/pages/P
eb2py/gluon/shell.py", line 166, in env
sys.exit(1)SystemExit: 1"
Cheers
Manuele
--
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 rec
tgreSQL on good
hardware can support *a few hundred connections*. If you want to have
thousands instead..." so it seams something can be done on the side of
the db configuration... if permitted from the service (maybe paying
something more).
Cheers
Manuele
On 21/10/2017 00:2
I often get this error from the db engine of my pythonanywhere account
service
OperationalError: FATAL: remaining connection slots are reserved for
non-replication superuser connections
is there something quick to solve or by-pass it or do I need some
profiling to limitate requests to the
Hi *!
Is there a way to distinguish from within a function if it's run from
the scheduler or not?
thanks a lot
M.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list
, Manuele ha scritto:
Dear all,
maybe someone had experience in deploying web2py on Openshift version 3.
I'm trying to realize a kind of porting of openshift_web2py project
for the new version (3) of the service but something goes wrong during
deploy.
I'd like to use the gunicorn HTTP
Dear all,
maybe someone had experience in deploying web2py on Openshift version 3.
I'm trying to realize a kind of porting of openshift_web2py project for
the new version (3) of the service but something goes wrong during deploy.
I'd like to use the gunicorn HTTP, but adopting a wsgy.py
I think there's no way in a single query...
try making two different query and join results creating a brand new
rows object
I hope it could help
Manuele
Il 28/08/2017 18:04, Artem ha scritto:
Hello !
Hope someone can help . Thanks in advance !
I have two database :
db1 = DAL('sqlite
Il 22/08/2017 11:02, Manuele ha scritto:
Dear web2py users,
I'd like to submit to your attention this github project:
https://github.com/manuelep/openshift_web2py
it's a fork from the original homonym project no more mantained.
Uhm... ok Openshift announced that it's going to dismiss
off course! I'll be happy to do it asap.
Cheers
Manuele
Il 23/08/2017 17:59, Massimo Di Pierro ha scritto:
Thanks Manuele,
can I ask for a patch to the examples app that links to your page?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com
version to work with.
Do you see any problem in it or have suggestions? Any contribution is
welcome! :)
Cheers
Manuele
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list
Il 04/08/17 16:08, Manuele ha scritto:
> Dear all,
>
> I'm bound to decide which service to use for the deploy of a brand new
> web application, at the moment I'm trying Openshift but I'm open to
> alternatives, the first mandatory requirement is that the service must
>
by
openshift?
Thank you very much
Cheers
Manuele
--
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
Hi,
from some time (days but maybe weeks) the web2py web site seams not
reacheable for me... anybody has the same trouble?
Cheers
Manuele
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p
Il 08/04/17 09:43, Manuele Pesenti ha scritto:
> What if I want a customization for a specific grid and not for all the
> application?
I solved changing the value of the js variable in the header of the page
where the message has to be different from the others defining again the
va
Il 07/04/17 14:37, Leonel Câmara ha scritto:
> You can change it in the web2py_ajax.html view it's the
> w2p_ajax_confirm_message var.
Thanks Leonel,
What if I want a customization for a specific grid and not for all the
application?
Is there other way?
Thank a lot
Cheers
M
Hi!
Is there an easy way to customize the warning message that pops up when
I try to delete a record from a table using gird?
Both from grid and from edit interface, hopefully from the same place ;)
Thanks a lot
M.
--
Resources:
- http://web2py.com
- http://web2py.com/book
Il 06/03/17 17:27, Richard Vézina ha scritto:
> See at the end of LOAD section in the book
> :
> http://web2py.com/books/default/chapter/29/12/components-and-plugins?search=web2py_component#LOAD
Wow! Thanks... I'll give it a try.
M.
--
Resources:
- http://web2py.com
-
is not a function
Any suggestion?
Thanks
Cheers
Manuele
--
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
Il 27/12/16 17:22, Anthony ha scritto:
> I'm not sure it's considered part of the public API (it's not in the
> book), but you can do:
>
> |
> filepath
> =db.mytable.myupload.retrieve_file_properties(row.myupload)['path']
> |
>
> The returned dictionary also includes a "filename" key, which holds
Hi!
Other than the methods "store" and "retrieve" of a field is there a
programmatic way to get from a row just the path where a file is stored
on the filesystem (expecially when uploadseparate option is set to True)?
Thank you very much
Manuele
--
Resources:
- http
ack function, which is called by
> the former). They are simple functions, so have a look at how they work.
Thank you Anthony! I tried plugin_install from the python shell and it
worked like a charm!
Regards
Manuele
--
Resources:
- http://web2py.com
- http://web2py.com/book (Docume
Hi!
I'm trying to figure out how to install a web2py plugin without using
the admin web interface but a batch procedure running a script or
command... any idea?
Thank you very mutch
Cheers
Manuele
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http
Il 08/11/16 02:55, Massimo Di Pierro ha scritto:
> Please open a pydal issue.
Ok done https://github.com/web2py/pydal/issues/428
Thank Massimo :)
M.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
Il 07/11/16 18:11, Alex Glaros ha scritto:
> Thanks guys. Will probably use GIS later but for now, can you help me
> with the field definition syntax for float? Is this correct?
>
> Field('longtitude', 'FLOAT((5,2))'),
> Field('latitude', 'FLOAT((5,2))'),
uhm it seams you want decimal ;)
Il 07/11/16 05:35, Alex Glaros ha scritto:
> Which web2py data type for latitude and longitude?
>
> Am using Postgres database
>
> thanks,
>
> Alex Glaros
It depends... for enjoing the full power of GIS capabilities you can
consider of using a geometry() field[1] but in this case a PostGIS
Hi!
Something odd seams happen passing from pydal 16.03 to a newer version
using json field and postgresql adapter.
This is the traceback I get from the newer version when exploring table
data through admin:
Traceback (most recent call last):
File
"/home/manuele/development/web/w
Il 02/11/16 09:27, icodk ha scritto:
> Ex. on Manday I want to select all record where the Monday field is true.
maybe something like that?
|fromdatetime importdate importcalendar my_date =date.today()dow =
calendar.day_name[my_date.weekday()].lower()
db(db.time_rule[dow]==True).select() |
||
Il 30/09/16 19:47, António Ramos ha scritto:
> Hello, i would like to suggest the ability to duplicate a record in
> admin.
>
> It would make me happy :)
what about doing it in your web2py console with something like:
db.table[0] = {k: v for k,v in db.table[id].iteritems() if k!='id'}
M.
>
Il 08/09/16 10:57, Gael Princivalle ha scritto:
> Hello.
>
> Could someone give me an example of the postgis st_within function?
>
> http://postgis.org/docs/ST_DWithin.html
>
> Model
> |
> db.define_table('places',Field('loc','geometry()'))
> |
> Where I insert 3 geoPoints:
> |
>
y to suggest?
Cheers
Manuele
--
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 Gro
"None" for the records
that has no value for the field in object, in that case you can fix the
represent function of the field with something like field.represent =
lambda v: "" if v is None else v;
I hope it could help.
Cheers
Manuele
>
>
> Kenneth
>
>
Il 14/06/16 20:50, Vic Ding ha scritto:
> It works when I directly access the index page, however when I LOAD it
> to other pages it stops working. No ticket, no error.
> |
> {{=LOAD('plugin_upload_file','index',args=('item',item_id),user_signature=True)}}
> |
>
>
> Any idea?
maybe it could
Il 17/06/16 14:31, Steve Joe ha scritto:
> I know how redirect works. But I am not sure how to redirect to
> another app on the same web2py site.
> i dont want to put long url , something like this:
> redirect("http://127.0.0.1:8000/port/;)
> as it looks so naive
>
Il 17/06/16 11:06, Steve Joe ha scritto:
> def index():
> skills=db(db.skills.id>0).select()
> pro_lang=[]
> fake=[]
> for skill in skills:
> if skill.skilltype=="Programming Languages":
> pro_lang.append(skill)
> else:
> fake.append(skill)
>
Il 17/06/16 08:20, Steve Joe ha scritto:
> exact syntax?
Have you looked for it in the doc?
http://www.web2py.com/books/default/chapter/29/04/the-core?#HTTP-and-redirect
http://www.web2py.com/books/default/chapter/29/04/the-core#URL
Cheers
M.
--
Resources:
- http://web2py.com
-
lidators#Virtual-fields-in-SQLFORMgrid-and-smartgrid
2)
https://developers.google.com/maps/documentation/javascript/examples/marker-simple
Cheers
Manuele
> thanks and best regards,
> stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.co
Il 14/06/16 23:22, Manuele Pesenti ha scritto:
>
> Yes! It fixes the bug. I'll open the issue.
>
> Thanks to Everyone! :)
>
> M.
>
just opened: https://github.com/web2py/web2py/issues/1364
Best regards
M.
--
Resources:
- http://web2py.com
- http://web2py.com/book (
Il 14/06/16 21:19, Anthony ha scritto:
> es, looks like a bug here:
> https://github.com/web2py/web2py/blob/master/applications/welcome/static/js/web2py-bootstrap3.js#L14.
> Should be:
>
> |
> $.web2py.validate_entropy($(this));
> |
>
> See if that change works, and please file a Github issue.
>
>
Il 14/06/16 17:56, Richard Vézina ha scritto:
> You miss web2py-bootstrap3.js in your app? Was that error with default
> welcome or your app?
First I got in my app (in wich I rewrote all the layout) but I noticed
that I get the same error using the appadmin... the error is raised in
you can find the page source I got:
http://paste.debian.net/739046/
Maybe it's a bug?
Thanks a lot
Cheers
Manuele
--
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
nd I'm copy and paste from one app to another. This not helps.
Cheers
Manuele
--
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 thi
ng works as expected... At this point I have to
check what I missed in the original code...
Thanks a lot
M.
Il 07/06/16 21:31, Manuele Pesenti ha scritto:
> Il 07/06/16 15:24, Anthony ha scritto:
>> Again, it might help to see more code. For example, are you calling
>> sessi
t.
It seams to mean that only a formkey is saved in session and each form
refers to the same formname to match the formkey passed in request.
Is it a correct behaviour? Have I missed something in my code to get the
expected result?
Thank you very mutch
Cheers
Manuele
--
Resources:
- htt
1 - 100 of 561 matches
Mail list logo