[web2py] how to do 2 step verification authentication????

2016-09-28 Thread prashant joshi
how configure email?? i do according to the book but it not work... please anyone tell me another method??? -- 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) --

Re: [web2py] Re: how to define DAL in pythonanywhere ????

2016-06-01 Thread prashant joshi
it is not work it show error "NameError: name 'DAL' is not defined" On Thu, Jun 2, 2016 at 1:47 AM, 黄祥 wrote: > pls try : > mysql://pythonuser:MySQLpwd@mysql.server/pythonuser$MySQLdb > > note : > - pythonuser is your pythonanywhere username > - MySQLpwd is your MySQL Password in pythonanyw

[web2py] how to define DAL in pythonanywhere ????

2016-06-01 Thread prashant joshi
i am doing this "db = DAL('mysql://username:password@mysql.server/username4$default')" but it should error which is correct way to do? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/i

Re: [web2py] Re: how to create pdf report in web2py???

2016-05-19 Thread prashant joshi
On Fri, May 20, 2016 at 5:52 AM, Dave S wrote: > On Wednesday, May 18, 2016 at 10:21:24 PM UTC-7, prashant joshi wrote: >> >> https://vimeo.com/18601633 >> according to this video i have already done shown in this video after >> adding appreport plugins i,m getting erro

Re: [web2py] Re: how to create pdf report in web2py???

2016-05-19 Thread prashant joshi
https://github.com/lucasdavila/web2py-appreport/wiki also download from it will be not work Cannot import module 'applications.bbb.modules.modules' this error show again On Thu, May 19, 2016 at 2:59 PM, prashant joshi wrote: > how to download appreport_plugin ..??? this

Re: [web2py] Re: how to create pdf report in web2py???

2016-05-19 Thread prashant joshi
how to download appreport_plugin ..??? this show in video On Thu, May 19, 2016 at 10:51 AM, prashant joshi wrote: > https://vimeo.com/18601633 > according to this video i have already done shown in this video after > adding appreport plugins i,m getting error: > Cannot i

Re: [web2py] Re: how to create pdf report in web2py???

2016-05-18 Thread prashant joshi
https://vimeo.com/18601633 according to this video i have already done shown in this video after adding appreport plugins i,m getting error: Cannot import module 'applications.report.modules.modules' please suggest me what to do further???/ On Thu, May 19, 2016 at 12:29 AM, Dave S wrote: > >

Re: [web2py] Re: how to create pdf report in web2py???

2016-05-16 Thread prashant joshi
rrectly. If your report is not too complicated I'd recommend you this >> way. The demo from the above link is easy to follow. >> >> 2016-05-10 20:26 GMT+02:00 Dave S : >> >>> On Tuesday, May 10, 2016 at 9:59:47 AM UTC-7, prashant joshi wrote:

[web2py] how to create pdf report in web2py???

2016-05-10 Thread prashant joshi
how to create pdf report in web2py? i saw video on vimeo but this plugin not found.. -- 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 m

Re: [web2py] Re: how to generate PDF documents in web2py???

2016-03-11 Thread prashant joshi
thank u On Sat, Mar 12, 2016 at 11:52 AM, xmarx wrote: > pyfpdf is installed on web2py. > > docs and tutorials can be found here: > http://pyfpdf.readthedocs.org/en/latest/Web2Py/index.html > > 11 Mart 2016 Cuma 21:36:41 UTC+2 tarihinde prashant joshi yazdı: > >>

[web2py] how to generate PDF documents in web2py???

2016-03-11 Thread prashant joshi
i want crete sql form if i click on print button then form printout in pdf format how it wiil done in web2py?? how use ReportLab library?? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/we

Re: [web2py] Re: Get the auth_user.id after login

2016-03-09 Thread prashant joshi
db.auth_user.id... id from auth_user table On Thu, Mar 10, 2016 at 1:07 AM, Ron Chatterjee wrote: > db.auth_user.id > Or > auth.user_id > > > On Wednesday, March 9, 2016 at 2:29:55 PM UTC-5, prashant joshi wrote: >> >> how to get auth_user.id after login?? >&g

[web2py] Get the auth_user.id after login

2016-03-09 Thread prashant joshi
how to get auth_user.id after login?? means if user1 is login then show his auth_user.id if user2 login then show his idwhich is query or method for this -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://co

[web2py] query sql form

2016-03-09 Thread prashant joshi
I have create stud_mark table. and i use @auth.requires_login table *my question is * If i am login then it will show my record..,, eg if rohit is login then rohit show its 10 mark 12 mark...etc i also reference the stud_mark id field to auth_user how i done this??? please suggest me que

Re: [web2py] Re: how to create my own profile??

2016-03-06 Thread prashant joshi
it not show any record...it wiil be show only form On Fri, Mar 4, 2016 at 4:17 PM, Sukrut Joshi wrote: > > > On Friday, March 4, 2016 at 1:42:34 AM UTC+5:30, prashant joshi wrote: >> >> how to make my profile like a facebook?? >> if i am login then i will show my

Re: [web2py] custom form no submiting

2016-03-06 Thread prashant joshi
Than u Fabiano Almeida its run On Sun, Mar 6, 2016 at 10:39 PM, prashant joshi wrote: > thank u > > > On Fri, Mar 4, 2016 at 1:55 AM, Fabiano Almeida > wrote: > >> *view:* >> >> {{extend &#x

Re: [web2py] custom form no submiting

2016-03-06 Thread prashant joshi
me > .label}} > {{=form.custom.widget.last_name}} > > > > {{=form.custom.submit}} > {{=form.custom.end}} > > > Fabiano. > > 2016-03-03 14:58 GMT-03:00 prashant joshi : > >> >> >> def register(): >> form=SQLFORM(db.stud_perso

[web2py] how to create my own profile??

2016-03-03 Thread prashant joshi
how to make my profile like a facebook?? if i am login then i will show my record as like image ,name,email id.(.all fileld in stud_person table) this is table creteated db.define_table('stud_person', Field('image', 'upload'), Field('first_name', requires=I

[web2py] custom form no submiting

2016-03-03 Thread prashant joshi
def register(): form=SQLFORM(db.stud_person) print form.errors if form.process().accepted: response.flash='Bitte warten' elif form.errors: response.flash='Bitte fuellen sie das Formular richtig aus' return dict(form=form) view:- {{=form.custom.begin}}

[web2py] Re: constraints

2016-02-28 Thread prashant joshi
On Sunday, February 28, 2016 at 11:50:58 PM UTC+5:30, prashant joshi wrote: > > how to conecting table?? > how to use refernce?? > *Field('sid','integer', 'reference stud_person')* i use this it is correct??? -- Resources: - http://web2py.com - htt

Re: [web2py] auth_permission

2016-02-27 Thread prashant joshi
hows it?? give me any example On Sat, Feb 27, 2016 at 2:42 AM, Richard Vézina wrote: > Yes why not? > > As long as you populate them correctly it all fine to do it... > > Richard > > On Fri, Feb 26, 2016 at 11:08 AM, prashant joshi > wrote: > >> we can c

[web2py] auth_permission

2016-02-26 Thread prashant joshi
we can create permissin table in manually -- 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 are subscribed to the

Re: [web2py] Re: regarding permission

2016-02-22 Thread prashant joshi
; On Wednesday, February 17, 2016 at 12:36:53 PM UTC+3, prashant joshi wrote: >> >> is there any way to provide permission to the admin to update and delete >> data from the table and provide user only to read it? >> >> >> db = DAL("postgres://postgres:postgr

[web2py] regarding permission

2016-02-17 Thread prashant joshi
is there any way to provide permission to the admin to update and delete data from the table and provide user only to read it? db = DAL("postgres://postgres:postgres@localhost:5432/tripti1") from gluon.tools import Auth auth = Auth(db) auth.define_tables(username=False,signature=False) db.de

[web2py] what is equivalent query related to this in web2py

2016-02-12 Thread prashant joshi
*This is in java* String user = req.getParameter("userName"); String pass = req.getParameter("userPassword"); pw.print(""); if (user.equals("select * from login where userId="+user+"and password"+pass) ) pw.println("Login Success...!"); else

[web2py] How to insert data from controller to database

2016-02-10 Thread prashant joshi
def insert(): user=request.vars.usersignup email=request.vars.emailsignup pas=request.vars.passwordsignup i want to add these fields with values in database dynamically? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Sourc