You want create a user that can handle other admin users? Remove, alter
permissions , add
Em sábado, 1 de outubro de 2016 05:56:11 UTC-3, Joe Barnhart escreveu:
>
> Still looking for a reply for this message! C'mon, it's only
> been...what... 2-1/2 years?? Seriously. I was just looking at
This is what my code looks like now but is still not working (page displays
but there is no calendar)
Can you explain using line reference numbers where it is wrong or where
something is missing?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
1. Have how you provide this project in github? Stay easier handle with
code , or it's private project?
2. A good practice it's generate data in web2py controller and at view just
use the data.
Ex: the "for" in the js code. But have how improve . after.
Em segunda-feira, 3 de outubro de 2016
https://github.com/web2py/web2py/issues/1484
On Monday, October 3, 2016 at 4:46:26 AM UTC-5, Niphlod wrote:
>
> can you please file a bug on https://github.com/web2py/web2py/issues ?
> I'd like to keep track of it and fix ASAP
>
> On Monday, October 3, 2016 at 5:45:21 AM UTC+2, Brian M wrote:
>>
On Monday, 3 October 2016 16:08:32 UTC+1, Marlysson Silva wrote:
>
> 1. Have how you provide this project in github? Stay easier handle with
> code , or it's private project?
>
I have a github account but I haven't figured out how to use it properly
yet.
> 2. A good practice it's generate
I load my application in this way:
$ python web2py.py -M -S myexistingapp
if I run:
db(db.my_table.logged_user == auth.user_id).select()
I get:
even if I run:
db(db.my_table.logged_user == 1).select()
or
db(db.my_table.logged_user == 1L).select()
I get:
but if I run:
On Sunday, October 2, 2016 at 11:26:11 PM UTC-4,
luis.vallada...@metamaxzone.com wrote:
>
> The second sounds good to me, but i dont know really where to store it, my
> front end is REST and has no database connected to it, all the info i get
> its from microservices, so i need some sort of
Just to be clear
This code (with 'type' being assigned)
> { type: '{{=row.task.task_type}}',
> title: '{{=row.task.task_status}} {{=row.task.task_type}}
> {{=row.person.fullname.replace("'","\\'")}} ',
> allDay: false,
> start: new Date('{{=row.task.start_time.strftime('%B %d, %Y
The issue: https://github.com/web2py/web2py/issues/1485
On Monday, October 3, 2016 at 12:17:15 PM UTC-4, Anthony wrote:
>
> Actually, we broke it here:
> https://github.com/web2py/web2py/commit/b4acfd0724845633f667a55e593a15576379554d
> .
>
> Previously, response._view_environment was created at
Actually, we broke it here:
https://github.com/web2py/web2py/commit/b4acfd0724845633f667a55e593a15576379554d.
Previously, response._view_environment was created at the end of
build_environment, and then again very shortly thereafter in
serve_controller (right after executing the models). We
We partially fixed the problem last year, but I guess no one tested it. I
have proposed a very simple fix in the newly created issue.
Anthony
On Monday, October 3, 2016 at 5:46:26 AM UTC-4, Niphlod wrote:
>
> can you please file a bug on https://github.com/web2py/web2py/issues ?
> I'd like to
I cannot reproduce. Here is what I get using your exact code:
In [2]:
dbt = DAL('sqlite:memory')
In [4]:
dbt.define_table('test',
Field('x', 'float'),
Field('y', 'float', compute=lambda r: r['x'] * 2))
Out[4]:
In [5]:
dbt.test.validate_and_insert(x=1)
Out[5]:
In [6]:
dbt.test(1)
Note, auth.user_id will be None in the shell.
What happens if you do (note the ._select rather than .select):
db.executesql(db(db.my_table.logged_user == 1)._select())
Anthony
On Monday, October 3, 2016 at 12:40:09 PM UTC-4, Bernardo Leon wrote:
>
> I load my application in this way:
> $
Thanks for noting it, now I am passing the user id as part of pvars of the
task but with not much progress, though
If I run that query I get an empty list: []
El lunes, 3 de octubre de 2016, 12:01:22 (UTC-5), Anthony escribió:
>
> Note, auth.user_id will be None in the shell.
>
> What happens
Thanks Anthony. I tried this with pydal only, which does work.
However, it fails if I import anything from gluon.
On Monday, October 3, 2016 at 6:41:53 PM UTC+2, Anthony wrote:
>
> I cannot reproduce. Here is what I get using your exact code:
>
> In [2]:
> dbt = DAL('sqlite:memory')
>
> In [4]:
Hello Joe,
sorry this fell through the cracks. The easiest way is this:
class JoeAuth(Auth):
def impersonate(self, user_id=DEFAULT):
"""
You are welcome , good know that you did.
Em segunda-feira, 3 de outubro de 2016 15:53:54 UTC-3, Peter escreveu:
>
>
> So I played with it for a while and tried assigning red, green and blue
> backgrounds randomly, just to get it working.
>
> My fullcalendar.css (FullCalendar v1.4.1 Stylesheet)
Sorry the patch does not work with the latest pydal/adapters/oracle.py. Can
I ask you to resubmit it?
On Sunday, 25 September 2016 20:24:48 UTC-5, tomt wrote:
>
> Hi, I've attached the oracle.patch file for gluon/packages/dal/pydal/
> adapters.oracle.py
>
> - Tom
>
> On Saturday, September
I have not tried riot.js and elm.js. I cannot stand the syntax of react.js.
I like ractive.js and vue.js. The latter is faster, smaller, and has less
gotchas. I have been using to build a some single apps with cordova for
client and web2py+dal as server and it works pretty well. the cordova
Massimo has already provided us with an immense treasure but I've always
been curious what a Massimo-designed JavaScript framework would look like!
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
Ok. Massimo. Can we assume that you are asking about vue.js because you
want it to be the default frontend library for web2py? If so.. good choice
! :).
Why not including it in the next release and wait and see what comes..
On Monday, October 3, 2016 at 2:34:33 PM UTC-5, Massimo Di Pierro
In doing a direct programatic insert without a form such as
db.SuperObject.insert(person_name
= "Alex")
is there a way to capture the primary key during the insert as can be done
in a form: super_object_fk =
db.SuperObject.insert(**db.SuperObject._filter_fields(form.vars)) ?
or do I have to
can you please file a bug on https://github.com/web2py/web2py/issues ? I'd
like to keep track of it and fix ASAP
On Monday, October 3, 2016 at 5:45:21 AM UTC+2, Brian M wrote:
>
> Is there a reason why when something is run under the scheduler
> request.is_scheduler = None rather than True?
Hello Peter , you are getting started with javascript now? Without problems.
EventRenderCallback it's a callback function , that used in object
properties "FULLCALENDAR" , that means in the element that to used the
first parameter will be the general event and second will be the current
hum. Trunk has been recently updated in the management of caching code for
controllers and views wonder if this is related to that.
On Monday, October 3, 2016 at 5:15:18 AM UTC+2, Brian M wrote:
>
> OK, so I've had multiple scheduled tasks running for years that use
>
ok, understood.
now let's go back to the basic situation of a single transaction. you
suggest I should discard posgresql transaction parameters in the first
place ? why is that so ? Is it because this feature isn't supported in
web2py or for a different reason ?
I am not sure yet but I
This may be what you are looking for:
http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer?search=before_insert#callbacks-on-record-insert-delete-and-update
Kiran Subbaraman
http://subbaraman.wordpress.com/about/
On Tue,
That sounds really promising, thanks a lot! i will test it ASAP and if i
have any troubles i will comeback here.
El lunes, 3 de octubre de 2016, 12:57:21 (UTC-4), Anthony escribió:
>
> On Sunday, October 2, 2016 at 11:26:11 PM UTC-4,
> luis.va...@metamaxzone.com wrote:
>>
>> The second sounds
28 matches
Mail list logo