i have used @auth.requires_login() before def index():
which works perfectly,i.e.,first you have to login to give some input..
But i want to save in my database how many people and their information in
a database.. How may i do it? Pls help asap
--
Resources:
- http://web2py.com
-
On Thursday, January 5, 2017 at 7:04:56 AM UTC-8, Anthony wrote:
>
> But from the other side of things, I guess the question is, if we can do
>> that, is there ever any reason to use the "service" mechanism at all? Or
>> can request.restful do everything service can do, and more?
>>
>
> I
Just an update that in line with the re-organization and new site for
python social auth (https://github.com/python-social-auth) I have made a
new repository https://github.com/DonaldMcC/social-app-web2py with updated
import statements etc. The plug-in has been tested with google, facebook,
Please read the book sections that Dave S pointed you towards so you can
create your radio buttons.
We do not give you fish in this forum, we teach you how to fish and
those book pages will teach you how to create radio buttons.
--
Resources:
- http://web2py.com
-
On Wednesday, January 11, 2017 at 1:16:02 PM UTC-5, Rahul Priyadarsi wrote:
>
> Thanks for the reply @Antony.
> When I posted this question on this Forum, i did not see it appear so I
> thought something must be wrong with google groups itself. Hence I posted
> on stackoverflow.
>
No problem.
I think you can have it with : response.session_id
So you will have to add a column to the model and set
default=response.session_id...
Richard
On Tue, Jan 10, 2017 at 7:23 PM, Joe wrote:
> I worked it out. It's great! Working fine! Thanks again. "BTW: what is the
>
Can we see the entire controller and view where you're trying this?
--
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
Thanks for the reply @Antony.
When I posted this question on this Forum, i did not see it appear so I
thought something must be wrong with google groups itself. Hence I posted
on stackoverflow.
On Wednesday, January 11, 2017 at 5:35:18 AM UTC+5:30, Anthony wrote:
>
> FYI, already answered on
The web2py ajax does not have the ".then" method or errror:function... like
the regular $.ajax
Do i have to use $.ajax instead?
Seems that the error function is missing from web2py ajax. Why is it not
implemented ?
Regards
António
2017-01-11 15:21 GMT+00:00 António Ramos :
What I want to do:
I have a Field("aa", "list:string") and I know that the internal
representation is e.g. "|x|y|z|u|v|".
Now I want to find all rows with
aa[0]=='x' and aa[1]=='y' and aa[2]=='z' and aa[3]=='u'
(that is a simplified example).
I have tried
db.mytable.aa.type = 'text'
res =
Hello i use the web2py ajax function to call an action that needs
auth.requires_signature()
INPUT(_onclick="ajax('"+url+"',[],':eval')"
the users see a popup that i inject in the response because of the eval
However if i have admin open and do a query, when i go back to that user
page and click
Hello Anthony, my eintrag_erstellen is a html view:
--
{{extend 'layout.html'}}
{{block header}}
{{end}}
Erstelle einen neuen Beitrag über das Thema {{=category.name.title()}}
{{=form}}
--
I gain access
12 matches
Mail list logo