On Thursday, February 15, 2018 at 3:57:03 PM UTC-8, Anatoli Hristov wrote:
>
> Did anyone got it working? I have exact same problem.
>
> Any help?
>
> Thanks
>
I have at least one API call that works fine with BASIC (through both
Rocket and Nginx), but while I consider it restful it doesn't us
On Thursday, February 15, 2018 at 4:05:32 PM UTC-8, nethu...@gmail.com
wrote:
>
> Hello community. I need to support some legacy URLs in a web2py
> application. I am able to do this using routes_in and routes_out, but it
> fails when the URL contains a question mark:
>
> routes_in = [
> ("
Hello community. I need to support some legacy URLs in a web2py
application. I am able to do this using routes_in and routes_out, but it
fails when the URL contains a question mark:
routes_in = [
("/index?lang=en", "myapp/default/index_en")
]
The URL is not mapped at all. My attempt to scap
Did anyone got it working? I have exact same problem.
Any help?
Thanks
On Tuesday, 16 October 2012 23:50:33 UTC+2, Adi wrote:
>
>
> If this is of any help, I tried tracing basic login in tools.py, and
> figured out variable "basic" never gets value from
> current.request.env.http_authorizatio
No this doesn't work for scheduler tasks. Note that scheduler task that
have errors do not produce an error ticket anyway. For scheduler tasks I
would inherit from scheduler and override set_worker_status to also do some
other action when it's setting it to FAILED.
--
Resources:
- http://web2p
On Thursday, February 15, 2018 at 10:44:46 AM UTC-8, Anthony wrote:
>
> Both methods work with my main test data (the source of 111 X and 10 Y),
>> yielding 9 runs that match both. The alias method, however, let a
>> duplicate row sneak in. I need to test more pairs, but I think you
>> (Anth
Similar code works fine for me. Please show all of your code.
On Thursday, February 15, 2018 at 3:15:53 PM UTC-5, Nkas wrote:
>
>
> Hi,
>
> I am trying to concatenate a list:string field *f_subject *with an extra
> string *i*, using row.update_record(f_subject=row.f_subject+[i]), however
> row.
That is useful but is it really equivalent to error ticket issuance i.e. do
all tickets we see as error tickets hit the routes_onerror? What if the
error is triggered by a scheduled task running in the background?
Thanks
On Thursday, 15 February 2018 17:43:58 UTC, Leonel Câmara wrote:
>
> I'd
Hi,
I am trying to concatenate a list:string field *f_subject *with an extra
string *i*, using row.update_record(f_subject=row.f_subject+[i]), however
row.f_subject is read a string not a list (i.e. type(row.f_subject) returns
).
Is there a way to get it directly as a list?
Thanks,
Nasr
--
>
> Both methods work with my main test data (the source of 111 X and 10 Y),
> yielding 9 runs that match both. The alias method, however, let a
> duplicate row sneak in. I need to test more pairs, but I think you
> (Anthony) solved my problem.
>
If the alias method is producing duplicates,
I'd say the easiest way would be to use routes_on_error, you can put a
controller function of your application there.
On you web2py directory you would make a routes.py with
routes_onerror = [
('myapp/*', '/myapp/default/error')
]
Then on default.py you could have a function like this:
de
Hi all,
I have created an event viewer web console that uses websockets to keep
itself up to date.
I wanted error tickets to show up in here as well, so once a ticket is
issued it would execute my custom code that keeps my event viewer up to
date with a link to the ticket itself.
Ideally, the
If the type of routing you want to do cannot be accommodated by the
parameter-based system, you will have to use the pattern-based system (see
the book section for details on how it works).
Anthony
On Thursday, February 15, 2018 at 9:05:16 AM UTC-5, Scorpa wrote:
>
> Then how actually re-route
Then how actually re-route inside the app ?
четверг, 15 февраля 2018 г., 16:56:13 UTC+3 пользователь Anthony написал:
>
> The domains must be in the form of host:port -- it does not support any
> path after the port.
>
> Anthony
>
> On Thursday, February 15, 2018 at 8:24:59 AM UTC-5, Scorpa wrote
The domains must be in the form of host:port -- it does not support any
path after the port.
Anthony
On Thursday, February 15, 2018 at 8:24:59 AM UTC-5, Scorpa wrote:
>
> Hello guys!
>
>
> How to route some path to specific controller ?
>
> For example, i have this in routes.py:
>
> routers = di
On Thursday, February 15, 2018 at 4:14:39 AM UTC-5, icodk wrote:
>
> It is getting muddy...
> What about the different messages I want to show depending on the type of
> user ?
>
Just use conditional logic to change the auth settings and any relevant
code in the user() action and user.html view.
I would think you could manage that by conditioning response.flash messages
with auth.is_member tests.
Also, have you played around with the user method of default.py?
Jim
On Feb 15, 2018 3:14 AM, "icodk" wrote:
> It is getting muddy...
> What about the different messages I want to show dep
Hello guys!
How to route some path to specific controller ?
For example, i have this in routes.py:
routers = dict(
# base router
BASE=dict(
domains={
'et.mooo.com:8000': 'sd/sea',
'127.0.0.1:8000/.we': 'sd/seb',
'127.0.0.1:8000/we': 'sd/sec',
On Wednesday, February 14, 2018 at 6:23:44 PM UTC-8, jim kaubisch wrote:
>
> Has no-one else had this problem?
>
I run web2py on Windows or on linux, and having multiple versions has not
been a problem. That's the way I usually upgrade, copying my applications
across, and looking for js/css/app
On Thursday, February 15, 2018 at 1:14:39 AM UTC-8, icodk wrote:
>
> It is getting muddy...
> What about the different messages I want to show depending on the type of
> user ?
>
>
Where are you wanting to show these messages? At registration, or on a
page for showing or entering data?
For th
On Wednesday, February 14, 2018 at 1:02:52 PM UTC-8, Dave S wrote:
>
>
>
> On Tuesday, February 13, 2018 at 7:37:22 AM UTC-8, Anthony wrote:
>>
>> On Tuesday, February 13, 2018 at 4:09:02 AM UTC-5, Dave S wrote:
>>>
>>> That's yielding 0 rows from the run table (for my chosen args).. It
>>> loo
It is getting muddy...
What about the different messages I want to show depending on the type of
user ?
On Thursday, February 15, 2018 at 12:00:44 AM UTC+1, Jim S wrote:
>
> So, then maybe you just add users and they all get departmental access and
> then have a button on the site where they can
22 matches
Mail list logo