UnlockCaptcha
>
> I hope it helps...
>
> On Sunday, 16 August 2015 20:03:47 UTC+2, Sai Harsh Tondomker wrote:
>>
>> I tried it still saying unable to send mail
>>
>> mail = auth.settings.mailer
>> mail.settings.server = 'smtp.gmail.com:587'
>
I want to display users picture,age and email-id.
Here is the code.
from gluon.tools import Auth, Service, PluginManager
auth = Auth(db)
auth.settings.extra_fields['auth_user']= [
Field('address'),
Field('age'),
Field('zip'),
Field('phone')]
service = Service()
plugins = PluginManager()
I am getting error.
{
"error": {
"message": "Invalid redirect_uri: Given URL is not permitted by the
Application configuration",
"type": "OAuthException",
"code": 191,
"fbtrace_id": "AhsP2Ay5Dy9"
}
}
Here is my db.py
from gluon.tools import Auth, Service,
an
additional verification step. Usually the error message you get contains
the link with the google instructions.
On Sunday, 16 August 2015 10:24:42 UTC-5, Sai Harsh Tondomker wrote:
mail = auth.settings.mailer
mail.settings.server = 'smtp.gmail.com:587'
mail.settings.sender = 'devel
. Usually the error message you get contains
the link with the google instructions.
On Sunday, 16 August 2015 10:24:42 UTC-5, Sai Harsh Tondomker wrote:
mail = auth.settings.mailer
mail.settings.server = 'smtp.gmail.com:587'
mail.settings.sender = 'develope...@gmail.com
mail = auth.settings.mailer
mail.settings.server = 'smtp.gmail.com:587'
mail.settings.sender = 'develope...@gmail.com'
mail.settings.login = 'develope...@gmail.com:***'
## configure auth policy
auth.settings.registration_requires_verification = True
mail = auth.settings.mailer
mail.settings.server = 'smtp.gmail.com:587'
mail.settings.sender = 'crazydevelope...@gmail.com'
mail.settings.login = 'crazydevelope...@gmail.com:saiharshvipin'
## configure auth policy
auth.settings.registration_requires_verification = True
...@gmail.com
Brasil
2015-08-16 12:26 GMT-03:00 Sai Harsh Tondomker saiharsh@iiits.in:
mail = auth.settings.mailer
mail.settings.server = 'smtp.gmail.com:587'
mail.settings.sender = 'crazydevelope...@gmail.com'
mail.settings.login = 'crazydevelope
I have did same thing which you have shown me in video it show the error
message
unable to parse csv file
UNIQUE constraint failed: Questions.quesno
What I need to do for these.
Please help me to solve the problem.
Waiting for your response.
On Tue, Aug 4, 2015 at 9:31 AM, Sai Harsh Tondomker
My db.py is
db.define_table(Questions,
Field('quesno','integer',notnull=True,unique=True),
Field('question', 'text'),
Field('qupload','upload',label='Upload Image'),
Field('optionA', 'string',label='optionA'),
Field('optionB', 'string',label='optionB'),
Field('optionC',
:00 Sai Harsh Tondomker saiharsh@iiits.in:
I have did same thing which you have shown me in video it show the error
message
unable to parse csv file
UNIQUE constraint failed: Questions.quesno
What I need to do for these.
Please help me to solve the problem.
Waiting for your response
, 2015 at 11:39 PM, Selman Kocael selciu...@gmail.com wrote:
you must deletenotnull=True,unique=True.
2015-08-03 10:32 GMT+03:00 Sai Harsh Tondomker saiharsh@iiits.in:
How it will store the data. We need to give pattern to csv file right.
Please could you give one csv file for my data base
import csv button.
if an error displayed, you must edit yoru csv file.
2015-08-03 8:28 GMT+03:00 Sai Harsh Tondomker saiharsh@iiits.in:
Here is my db.py
db.define_table(Questions,
Field('quesno','integer',notnull=True,unique=True),
Field('question', 'text'),
Field('qupload','upload
Here is my db.py
db.define_table(Questions,
Field('quesno','integer',notnull=True,unique=True),
Field('question', 'text'),
Field('qupload','upload',label='Upload Image'),
Field('optionA', 'string'),
Field('optionB', 'string'),
Field('optionC', 'string'),
Field('optionD', 'string'),
, you must edit yoru csv file.
2015-08-03 8:28 GMT+03:00 Sai Harsh Tondomker saiharsh@iiits.in:
Here is my db.py
db.define_table(Questions,
Field('quesno','integer',notnull=True,unique=True),
Field('question', 'text'),
Field('qupload','upload',label='Upload Image'),
Field
I have trying to display random question for every login (Means client get
different questions for every login).
Here I gave my db.py and def doing paper. Please help me to solve the
problem.
db.define_table('ins_ques',
Thanks for reply.
Could you please give me one example and where I can get enough matter to
write the code.
On Mon, Jul 6, 2015 at 1:11 PM, Johann Spies johann.sp...@gmail.com wrote:
On 3 July 2015 at 23:43, Anthony abasta...@gmail.com wrote:
All of the effort will be in parsing the XML, so
.
Best regards
T.Sai Harsh
On Wed, Jul 1, 2015 at 7:44 PM, Anthony abasta...@gmail.com wrote:
On Wednesday, July 1, 2015 at 10:01:19 AM UTC-4, Sai Harsh Tondomker wrote:
Then What I need to do to solve the problem.
Your code refers to auth.user, which presumes there is a user logged
the data for
individual records (which will depend on the structure of the XML) and use
the DAL to insert each record.
Anthony
On Wednesday, July 1, 2015 at 10:01:19 AM UTC-4, Sai Harsh Tondomker wrote:
My project is to make simple quizzing site.
I have made data base in web2py
My project is to make simple quizzing site.
I have made data base in web2py.
with Question, options and Correct answer.
The data will be xml file. From XML file I need to take data and store in
data base
Please help me to solve the problem.
Waiting for your response.
Best Regards
T.Sai
Then What I need to do to solve the problem.
And how to take data from XML file to data base.
Waiting for your response
Regards
T.Sai Harsh
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
db.define_table(Questions,
Field('quesno', unique=True),
Field('question', 'text'),
Field('optionA', 'string'),
Field('optionB', 'string'),
Field('optionC', 'string'),
Field('optionD', 'string'),
Field('answer', 'string'),
Field('extra1','string'),
Field('extra2','string'))
22 matches
Mail list logo