Hi
I believe I do.
Thanks
Le samedi 25 février 2017 05:19:00 UTC+1, Anthony a écrit :
>
> Are you referring to this: http://web2py.readthedocs.io/en/latest/
>
> On Friday, February 24, 2017 at 11:50:56 AM UTC-5, Olivier Choquet wrote:
>>
>> Hi everyone.
>>
>>
Hi everyone.
My question might look a little bit weird but in the (very good) tutorial
videos of web2py a link to the API is shown. It goes to quite detailled API
pages with the regular look of API pages...
If I follow the link now provided within the Web2Py site it goes to the
chapter 4 of the
da title, row:A(title, _href=URL('view_task',
args=row.id))
If I remove the previous row the export function work for all format but I
lose the cliquable link on the task title.
I checked with the Notifier application available on GitHub
https://github.com/mdipierro/web2py-appliances
r and especially
IE9...
Et encore merci pour ton aide :)
Olivier
Le vendredi 20 mars 2015 20:30:21 UTC+1, Gael Princivalle a écrit :
>
> And if you add at the end of the db.py file:
> if request.uri_language: T.force(request.uri_language)
>
> it will set the good language.
&
I try to made a simple multi language site with routes, but I can't.
The routing are correct because I can use the url like
this http://127.0.0.1:8000/*testme*/en/ and *translate* application are
serve.
But translate application is always in french!
translate application is a copy of welcome app
I use smart_query in my project but I can't found a complete supported
syntax in the documentation.
Have you more info about that or a reference of the syntax analyser in the
web2py code ?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web
Thanks for the help, the solution is perfect for me.
Le samedi 27 décembre 2014 18:16:16 UTC+1, Niphlod a écrit :
>
> uhm... there's not a stable API to do it, but you can access the
> relative scheduler_task record via W2P_TASK.
> From web2py 2.4.1, any task processed by the scheduler can a
Could you tell me the way to get the iteration number inside a scheduled
task?
I want to perform a different treatment if it's the first run of my tasks.
ex:
iteration 1 : treatment A
iteration 2 : treatment B
iteration 3 : treatment B
iteration 4 : treatment B
...
--
Resources:
- http://web2py
Or you can use Cloudflare and take advantage of DDOS protection and other
cool stuff freely.
Le lundi 6 octobre 2014 12:27:41 UTC+2, Harry Percival a écrit :
>
> You need to use a CNAME, not a redirect. There's more info here:
> https://www.pythonanywhere.com/wiki/OwnDomains
>
> On Friday, 3 O
Ave you already start web2py in https mode in Codeanywhere devbox ?
I apply this method to generate certificate and apply the adequate command
lines to activate https but my server don't send any pages.
http://stackoverflow.com/questions/12834550/simplest-way-to-setup-remote-admin-access-to-a-web
If I use the function git push from the admin console I get an error
Traceback
1.
2.
3.
4.
5.
6.
Traceback (most recent call last):
File "/home/olituks/web2py/gluon/restricted.py", line 224, in restricted
exec ccode in environment
File "/home/olituks/web2py/applications/admin/views/defau
how I can detect in a controllers, if a new user pending registration
before to use my app?
--
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
Hi, I don't know angular to, but I found this documentation with a ajax
sample at the end.
http://slides.com/amberdoctor/angularjs_and_web2py
Le mardi 16 septembre 2014 20:39:02 UTC+2, piero crisci a écrit :
>
> I am testing angularjs with web2py.
> In my web2py i have some ajax call that store t
My application is a clone of Reddit clone app from Massimo.
This is the url I use to show all the posts in a category.
http://127.0.0.1:8000/list_posts_by_votes/16
16 = category id
I would like this url in place of.
http://127.0.0.1:8000/my_category_name
It's the same to show a post
http://127.0.
blank")}}')
}
Le dimanche 14 septembre 2014 14:18:13 UTC+2, olivier hubert a écrit :
>
> I have a simple FORM with a submit button and I want to add a second
> button to open a new window with Markmin info.
>
> I declare my form like that
>
> form = SQLFORM(db.comm, b
I have a simple FORM with a submit button and I want to add a second button
to open a new window with Markmin info.
I declare my form like that
form = SQLFORM(db.comm, buttons=['submit', A("Markmin
syntax",_class='btn',_href="http://www.web2py.com/init/static/markmin.html";,
_target="_blank")]
Is it possible to add a margin with a MARKMIN syntax to a image ?
--
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 ar
:)
Le samedi 13 septembre 2014 16:23:35 UTC+2, Niphlod a écrit :
>
> any db.category call must go after db.define_table('category'). Have you
> checked it ?
>
> On Friday, September 12, 2014 8:05:27 AM UTC+2, olivier hubert wrote:
>>
>> I try implement
I try implement Reddit clone from massimo video (2013 edition), but I have
a strange problem with the dynamic menu construction part.
My menu.py (I remove all comments):
response.logo = A(B('web',SPAN(2),'py'),XML('™ '),
_class="brand",_href="http://www.web2py.com/";)
response.
I find my problem.
I double define auth.define_tables.
once in db.py and second in my_tables.py.
Only once definition can be declared.
Le dimanche 7 septembre 2014 18:14:27 UTC+2, olivier hubert a écrit :
>
> I Massimo, thanks for your quick response.
> Could you confirm the extra f
;
> Mind that you do not need
>
> auth = Auth(db, hmac_key=Auth.get_or_create_key())
>
> should be
>
> auth = Auth(db)
>
>
>
> On Sunday, 7 September 2014 07:54:27 UTC-5, olivier hubert wrote:
>>
>> I use the web2py version 2.9.8.
>> I create a
I encounter exactly the same issue if you try to open the db administration
page in a app.
Le dimanche 7 septembre 2014 01:19:31 UTC+2, Luciano Laporta Podazza a
écrit :
>
> Same issue :(, as mentioned before, tried testing default apps and my app
> and it redirects to admin page.
>
>
> On Sat,
I use the web2py version 2.9.8.
I create a simple new app "test_auth"
In Models I add "my_tables.py" with the contents below.
# -*- coding: utf-8 -*-
#Add authentication to the app.
from gluon.tools import Auth
auth = Auth(db, hmac_key=Auth.get_or_create_key())
*#Add some fields in auth_user
Just a little modification and all is right.
Le lundi 15 juillet 2013 16:21:13 UTC+2, Massimo Di Pierro a écrit :
>
> I made some simplification to your patch. Please check it in trunk. Thank
> you!
>
>
> On Monday, 15 July 2013 03:51:39 UTC-5, Olivier Johner wrote:
>>
I propose this patch
Le vendredi 12 juillet 2013 14:08:21 UTC+2, Olivier Johner a écrit :
>
> It's ok for the foreign key but when you archive records in another
> database, all fields comes in "big int" and raise a value error for string
> fields
>
> Val
It's ok for the foreign key but when you archive records in another
database, all fields comes in "big int" and raise a value error for string
fields
ValueError: invalid literal for long() with base 10: 'v6 box spearmint'
Le dimanche 16 juin 2013 10:28:26 UTC+2, Massimo Di Pierro a écrit :
>
>
a lot!
Olivier
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.go
track the status of a long running
process).
I would rather have the method to always output the id of the updated/
inserted row...
Or is there any use-case you would like to discriminate between the
fact you inserted or update a row?
What do you think?
-Olivier
>From dal.py (I added th
onA or personB in that relationship?
I believe I can go with a custom link here, but I was wondering if
there was a quicker way to achieve this.
I can wait for the 4th version of the book... I had to leave
developing with web2py for a few months and I can no more catch up
with all the amazing new features! ;-)
Many thanks,
Olivier
hi there,
I have an old installation of web2py on webfaction. It is using
mod_wsgi 2.5 and Python 2.5.4
How can I a upgrade to python 2.6? (I need it for some modules I plan
to use)
Should I start a new installation from scratch or is there a simpler
way to migrate to mod_wsgi 3.3 and Python 2.6?
user, if session and db connections are not locked.
Thank everyone again for all the answers and insight!
Lesson of the day: don't take Google's word for granted when saying
their API handles 4 requests concurrently... :-(
On Mar 24, 4:59 pm, John Heenan wrote:
> On Mar 22, 7:37
Thanks for the clarification on session behavior.
I tried to unlock the session (or to forget it) in the controller but
it seems requests from the same user are still handled sequentially.
Is it possible to have the same user request two pages at the same
time or am I missing something?
On Mar 22
thanks for the answer.
I will follow your advice!
On Mar 22, 6:59 pm, Ross Peoples wrote:
> To answer simply, yes the embedded Rocket server will handle
> multiple simultaneous requests. However, if you have long-running processes,
> they may force Rocket to wait until they are finished before re
I plan to use web2py as a simple desktop app service (using the
packaged web2py for windows).
Will the web server (I don't know which server ships in the stand
alone version) handle several requests in parallel if I use ajax calls
to several controller functions?
I am wondering if this could be an
According to RFC 4617 (http://www.ietf.org/rfc/rfc4627.txt),
"The MIME media type for JSON text is application/json."
Community seems to agree:
http://stackoverflow.com/questions/477816/the-right-json-content-type
However, in 'generic.json' Content-Type is set to 'text/json'
>> response.headers['
I am using web2py build-in server for development and basic http auth
works fine!
However, when pushing the code on my server (on which my provider
propose to use wsgi...) it is not working anymore. :-(
On the server, I checked the "request.env", "http_authorization" is
indeed missing.
I confess
hi mr.freeze,
I believe this is not secure
The entire purpose of storing hashes of password is to protect against
database exploitation.
If some part of your db is publicly revealed, it doesn't mean that
passwords are revealed (because hash functions are "one way
functions").
In your proposi
thanks for the answer, Massimo.
for legacy reason, the password i have in the db are stored as apache
passwords
(...because those passwords are also used to authenticated user for
different services using apache [svn, wiki, etc...])
i therefore developed a custom login method (added to
auth.sett
i would like to setup an authenticated API for my web2py project.
how could i use a custom login_methods to authenticate user through
basic http authentication?
it seems that 'login_bare' doesn't use auth.settings.login_methods?
thanks!
--~--~-~--~~~---~--~~
You re
For legacy reasons, I will have to use a custom auth method...
I need to have a custom function to check password at login time.
(basically, I have htpassword-like stored in a field "password_http"
in the auth_user table.
I therefore need a custom login function: hash password obtain form
the log
d a space in between as in } }
> > Web:http://www.openerp.com
OK. Thanks for the answer.
--
Olivier
Developer
OpenERP - Tiny sprl
Web:http://www.openerp.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2p
x27;\n\n
\n \n\n\n \n\nCopyright
© 2009 -\nPowered by web2py\n\n \n
\n \n\n \n\n',escape=False)
^
SyntaxError: invalid syntax
--
Olivier
Developer
OpenERP - Tiny sprl
Web:http://www.
ion.
By the way, I didn't find anything about the template engine in the
documentation (except in the paid book).
Thank you,
--
Olivier
Developer
OpenERP - Tiny sprl
Web: http://www.openerp.com
--~--~-~--~~~---~--~~
You received this message because you are s
to the new format when user
logs in
the length of the salt can also be a parameter (if you really want to
play with some trade-off between storage/security, bad idea)
i can work on that, if it makes sense to you guys
-olivier
--~--~-~--~~~---~--~~
You received t
44 matches
Mail list logo