Hello,
a)How can i specify automatic group assignment on creation of user based on
a particular condition.
Consider, on signup form a user can select if he is registering as a
business or an individual..
if user selects business account is automatically assigned group business
else assigned to in
El Wed, 21 Oct 2015 11:38:56 -0700 (PDT)
Julieta Abdala escribió:
> How I can load Layout.html or plugin_jqmobile/layout.html according
> with the client?
>
> I need to do 2 applications? One for pc and other for mobile?
>
> Thanks
>
> El sábado, 17 de septiembre de 2011, 10:45:19 (UTC-3), Pys
How I can load Layout.html or plugin_jqmobile/layout.html according with
the client?
I need to do 2 applications? One for pc and other for mobile?
Thanks
El sábado, 17 de septiembre de 2011, 10:45:19 (UTC-3), Pystar escribió:
>
> I would like to know if anyone here has used web2py with JQuery
ment, I'm using standard auth, where users can self register,
>> then I add them to the admin group myself if necessary
>>
>> I found a web2py slices for authenticating against AD, but how can I also
>> use web2py groups, /instead of/ AD/ldap groups? So authenticate
imho the docstrings are pretty clear
manage_groups=True --> turns on the whole machinery to sync ldap groups
with web2py's ones at login time with manage_groups=False, your users
basically don't need to register theirself and web2py doesn't need to store
the password, but you can still
ere users can self register,
> then I add them to the admin group myself if necessary
>
> I found a web2py slices for authenticating against AD, but how can I also
> use web2py groups, /instead of/ AD/ldap groups? So authenticate the user
> and password against AD, but u
ions within the app.
>
> So at the moment, I'm using standard auth, where users can self register,
> then I add them to the admin group myself if necessary
>
> I found a web2py slices for authenticating against AD, but how can I also
> use web2py groups, /instead of/ AD/ldap gr
I'm using standard auth, where users can self register,
then I add them to the admin group myself if necessary
I found a web2py slices for authenticating against AD, but how can I also
use web2py groups, /instead of/ AD/ldap groups? So authenticate the user
and password against AD, but use my
Think of it as any normal database application.
As far as Web2py doesn't create indexes, you must take care of it by yourself.
If your IS_IN_DB() validator refers to a field that isn't indexed,
your performance will suffer.
--
Vinicius Assef.
On Fri, Nov 4, 2011 at 1:33 AM, Pystar wrote:
>
Another Question:
what is the performance drawback in using IS_IN_DB() validator in a
form? From what I understand, web2py checks if the query passes
against the database before doing a database insert or any other
action. I would like to know if there would be a performance degrade
as the number o
Thanks Max
On Nov 4, 4:07 am, Massimo Di Pierro
wrote:
> I always use request.now.I think of utfnow as a utility in case there
> ar multiple servers in different dimezones.
>
> On Nov 3, 9:46 pm, Pystar wrote:
>
>
>
>
>
>
>
> > I have another question,
> > Whats the best way to get the time to u
I always use request.now.I think of utfnow as a utility in case there
ar multiple servers in different dimezones.
On Nov 3, 9:46 pm, Pystar wrote:
> I have another question,
> Whats the best way to get the time to use for a time stamp field in a
> database insert? request.utcnow? I would like to
n is the precision. It is important to know how many digits store else
the db does not know how long the field should be.
Are you going to handle more than one trillion?
On Nov 3, 9:41 pm, Pystar wrote:
> I would like some clarification on the Decimal type field in DAL. From
> the book, in the co
I have another question,
Whats the best way to get the time to use for a time stamp field in a
database insert? request.utcnow? I would like to do time comparisons
between when a record was inserted into a database and the present
time, so would request.utcnow suffice? and if it would, how do I get
I would like some clarification on the Decimal type field in DAL. From
the book, in the complete signature for Decimal type is "decimal(n,m)"
where;
n -- total number of digits
m -- total number of digits after the decimal point
if I am to specify a decimal type field that has 4 digits after the
de
Thanks for the update
On Thu, Oct 20, 2011 at 6:40 AM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
>
> The web2py 4th ed is almost ready. Problem is that we keep addi
> features...and we need to decide on new welcome layout or we cannot
> make screenshots
>
> The packt book is in
On Thu, 20 Oct 2011 06:40:35 -0700 (PDT)
Massimo Di Pierro
wrote:
> The web2py 4th ed is almost ready. Problem is that we keep addi
> features...and we need to decide on new welcome layout or we cannot
> make screenshots
Is the 'code' for the book available for the public (if one wants to fix so
The web2py 4th ed is almost ready. Problem is that we keep addi
features...and we need to decide on new welcome layout or we cannot
make screenshots
The packt book is in the hands of the publisher.
Both book shout be available berofe christmas
On Oct 19, 2:16 pm, joseph simpson wrote:
> Just c
Just checking on the current state of the Web2py online book update as well
as the rumored "Packt Web2py book."
Any new projected release dates?
Have fun,
Joe
On Tue, Sep 27, 2011 at 7:00 AM, Jim Steil wrote:
> +1 for keeping in the book format. Definitely helped attract me to Web2py.
>
>
+1 for keeping in the book format. Definitely helped attract me to Web2py.
-Jim
On 9/26/2011 10:18 PM, Andrew wrote:
I was actually qutie impressed with the book-like docs when I first
saw them. It gives the framework a polished, professional feel (I
think). I say keep it, but I'm all fo
Web2py Team:
Brilliant software architecture and ingenuous code can be greatly enhanced
by up-to-date documentation.
The documentation associated with Web2py is what attracted me to the
framework.
The documentation is a significant discriminator and provides high value to
individuals that are ne
The printed book and the online book are the same. Anthony and other
people here have done a great job updating the book online. Some
features are very new and still undocumented there. I posted a list
last week. I froze the book online and hope to have the 4th edition
ready in 2-3 weeks. I will po
I was actually qutie impressed with the book-like docs when I first
saw them. It gives the framework a polished, professional feel (I
think). I say keep it, but I'm all for keeping it up to date, in line
with new functionality being released in the stable version.
I'm also hanging out for an upd
I wonder if we could benefit from docs that are more dynamic and less
book-like? I'm not totally enamored with Sphinx, though.
Hello Massimo,
Any ETA on that ?
Thanks
On 26 set, 22:44, Massimo Di Pierro
wrote:
> I guess you mean the 4th edition... working on it.
>
> On Sep 26, 7:53 pm, Pystar wrote:
>
>
>
>
>
>
>
> > I think that the Web2py Book 3rd Edition is long over due as most of
> > the new features arent in the
I guess you mean the 4th edition... working on it.
On Sep 26, 7:53 pm, Pystar wrote:
> I think that the Web2py Book 3rd Edition is long over due as most of
> the new features arent in the online book and arent getting used by
> most people especially newbies.
I think that the Web2py Book 3rd Edition is long over due as most of
the new features arent in the online book and arent getting used by
most people especially newbies.
LOL :D may be till 2012 december 21st should be enought?
On 9/17/11, pbreit wrote:
> Unsafe and unnecessary. Wouldn't 10 or 20 or 50 years be ok?
Much thanks to Anthony for pointing out this awesome plugin to me and
also to Anthonio for making me understand some things. I have gotten
it working perfectly on google chrome desktop browser. The reason why
it wasnt working is that the plugin_jqmobile/layout.html file which
you must use to replac
@Anthonio,
Can you please show a sample code of your working layout file? So that
I can compare it to what I have here, so that I can know what exactly
I am doing wrong.
Thanks
On Sep 18, 2:56 pm, Pystar wrote:
> So I cant have a downloadable app? What of if I have an icon or image
> that a user
So I cant have a downloadable app? What of if I have an icon or image
that a user can download to a smart device, once that image is
clicked, it launches the devices mobile browser with the url to my app
automatically? Would that work?
On Sep 18, 1:58 pm, António Ramos wrote:
> Answer: have to b
Answer: have to be accessed from a mobile broswer with a URL!
2011/9/18 Pystar
> I need to understand something, after developing my app with jquery
> mobile, can I make it downloadable and installable to a smart phone or
> device like apps from apple app store or android market? or does it
>
I also use Chrome 13 and no problem with jquery mobile
You dont need a mobile device !
You may have a problem with your view!
2011/9/18 Pystar
> I have commented it out but its still not working. Do I have to view
> it on a mobile device browser to see if its working? or would it work
> with a
I need to understand something, after developing my app with jquery
mobile, can I make it downloadable and installable to a smart phone or
device like apps from apple app store or android market? or does it
have to be accessed from a mobile broswer with a URL?
thanks
On Sep 18, 12:43 pm, Pystar w
I have commented it out but its still not working. Do I have to view
it on a mobile device browser to see if its working? or would it work
with a desktop broswer? I use google chrome 13.
Thanks
On Sep 17, 8:47 pm, António Ramos wrote:
> I´m no expert but i have it working i 3 diferent pages.
>
>
i have bee using it and it works nice !!
2011/9/17 Pystar
> Thanks for the link to the plugin. But I am at loss of how to use it.
> I have removed the "extend layout.html" directive in all my layout
> files and included "plugin_jqmobile/layout.html". But whenever I visit
> any of those pages, I
Thanks for the link to the plugin. But I am at loss of how to use it.
I have removed the "extend layout.html" directive in all my layout
files and included "plugin_jqmobile/layout.html". But whenever I visit
any of those pages, I see just a barebones page that looks like a html
page without any css
Unsafe and unnecessary. Wouldn't 10 or 20 or 50 years be ok?
Check out http://web2py.com/plugins/plugin_jqmobile/about.
On Saturday, September 17, 2011 9:45:19 AM UTC-4, Pystar wrote:
>
> I would like to know if anyone here has used web2py with JQuery
> Mobile? And what the experience was.
I would like to know if anyone here has used web2py with JQuery
Mobile? And what the experience was.
why do you advise against infinite logins?
On Sep 17, 12:55 am, pbreit wrote:
> Just set auth.settings.long_expiration to something big (in seconds). You
> don't want infinite logins.
Just set auth.settings.long_expiration to something big (in seconds). You
don't want infinite logins.
I don't know if there is an example posted yet but you could imitate
this code somehow:
http://www.web2py.com/examples/static/epydoc/web2py.gluon.tools-pysrc.html#Auth
Based on user login events you could use a very long time limit to
conserve the session
(Line 1021)
response.cookies[response.ses
I would really like to know if it is possible for a user to have an
infinite login session? i,e the user is never logged out unless he
specifically wants to do so. And how can this be implemented?
thanks
Hi! I have this question, how could I use LDAP auth and use roles. So
I need to take the users from an active directory (microsoft exchange)
and they must have a role.
How could I do that?? I need 2 basic roles, Boss, User (boss can
create, delete) and have access to every controller in the app, w
Whats the best way to create groups for an application but only create
them once...?
Thanks,
Matt
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send
Has anyone already written code to synchronize Google Apps groups with
web2py groups? That is, I'd like to be able to make use of the groups
I've defined in Google Apps in decorator functions like
@auth.requires_membership
The code in gluon.contrib.login_methods.gae_google_account r
I do not know. Will look into it
On Oct 7, 2:11 am, vihang <[EMAIL PROTECTED]> wrote:
> Just a suggestion, for easy readability, is it possible to have
> sections in this group, like General, Bugs, Dev, etc like a forum?
> This will make it easy to browse through.
--~--~-~--~~
Just a suggestion, for easy readability, is it possible to have
sections in this group, like General, Bugs, Dev, etc like a forum?
This will make it easy to browse through.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Grou
49 matches
Mail list logo