Like in case of facebook, one has to pass through a login page. If one 's
logged in he will be redirected to home page otherwise login.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/is
More information like, birthdate, gender and others.
--
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
And what is capacity of MYSQL in web2py, as I heard capacity of sqlite is
just 5000 entries.
--
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
Ok that's cool. Will SQLITE be good to design a social networking site or
should I go for MYSQL? What's your opinion on it?
On Monday, December 14, 2015 at 10:26:38 AM UTC+5:30, Anthony wrote:
>
> On Sunday, December 13, 2015 at 11:14:49 PM UTC-5, RAGHIB R wrote:
>>
>
As intuitive, 'delete' doesn't match for the keyword for deletion.
--
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 a
Is buying domain from godaddy ok? How do I use that domain in
pythonanywhere after that and does pythonanywhere give hosting facilities?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/i
If yes, where else?
--
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 Google Groups
"web2py-use
Also, the youtube video went out of my mind as I have never used MAC.
Please tell it with context with windows or ubuntu.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Re
One should a get a confirmation mail through enail. How to do that?
--
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
When I remove "{{extend 'layout.html'}}" it looks so dull. I just want to
remove the menu bar and nothing else.
--
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
How do I do that?
--
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 Google Groups
"web2py-users
I made both writable and readable false for not showing them in the form.
But I need to edit them later on. How do I do that?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list
Sorry it is *unwritable
On Tuesday, December 15, 2015 at 11:58:27 AM UTC+5:30, RAGHIB R wrote:
>
> I made both writable and readable false for not showing them in the form.
> But I need to edit them later on. How do I do that?
>
--
Resources:
- http://web2py.com
- http://web
I have created wall.html where users can edit their dp (display picture).
And I added extra field for dp in auth:
auth = Auth(db)
auth.settings.extra_fields['auth_user']= [
Field('dp', type='upload' ),
]
wall is:
def wall():
form = SQLFORM(db.auth_user.dp).process()
return loca
def wall():
form = FORM(INPUT(_type='submit'), _action=(db.auth_user.dp=name))
return locals()
I figured out this too doesn't work.
Can you please tell me the exact code to upload an image into
db.auth_user.dp?
On Tuesday, December 15, 2015 at 12:18:38 PM UTC+5:30, RAGHIB
form = FORM(INPUT(_name='img', upload=True),INPUT(_type='submit'))
This is not working. What's wrong here?
--
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)
---
--
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 Google Groups
"web2py-users" group.
To unsubsc
For id it is auth.user_id, what for first name?
--
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 th
db1.py reads as:
from images import RESIZE
db.define_table('info',
Field('info_id',default=auth.user_id,writable=False,readable=False),
Field('first_name'),
Field('last_name'),
Field('dp','upload'),
Field('back','uplo
ws binary version of web2py does
> not come with PIL. You have to install python 2.7. Then install PIL. Then
> run web2py from source.
>
> Massimo
>
>
> On Saturday, 26 December 2015 09:19:37 UTC-6, RAGHIB R wrote:
>>
>> db1.py reads as:
>>
>> from image
look at this, i need the first name in the auth as first name in the info
On Saturday, December 26, 2015 at 6:33:02 PM UTC+5:30, RAGHIB R wrote:
>
> For id it is auth.user_id, what for first name?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://gith
for example here, I want to remove profile in this pic and name in front of
welcome. how to do 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
--
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 Google Groups
"web2py-users" group.
To unsubsc
Please give me the source at least.
--
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 Google Gro
Dude I am asking about inbuilt forms like SQLFORM and form called from
default.py
--
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 messa
Form=FORM(INPUT(_name='gender' requires=IS_IN_SET(['MALE','FEMALE']), INPUT(
_type='submit'))
--
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 receive
Form=FORM(INPUT(_name='gender', requires=IS_IN_SET(['MALE','FEMALE'])), INPUT(
_type='submit'))
--
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 recei
--
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 Google Groups
"web2py-users" group.
To unsubsc
Form=SQLFORM.factory(Field('image', 'upload',
uploadfolder=os.path.join(request.folder,'uploads')))
It says os is not defined.
When I just put: uploadfolder=('uploads')
It just creates an image of 0 bytes which when checked can't be opened becayse
it has not uploaded, just created.
i an using w
My codes are : (it is uploading the image using sqlformfactory nicely but there
is some problem with the following one)
Form=SQLFORM.factory(Field('image','upload',uploadfolder=os.path.join(request.folder,'uploads/')))
if Form.accepts(request.vars,session):
db.person.insert(image=request.va
My codes are : (it is uploading the image using sqlformfactory nicely but there
is some problem with the following one)
Form=SQLFORM.factory(Field('image','upload',uploadfolder=os.path.join(request.folder,'uploads/')))
if Form.accepts(request.vars,session):
db.person.insert(image=request.var
Suppose a db has fields: name,roll,gender and I want to insert only into name
and gender as of now , thus create a SQLFORM only for name and gender. How do I
do that without putting roll as both readabke and writable as false?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Document
This didn't work. Can you please edit the code above and then point out the
mistake?
--
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 me
@Anthony, it did upload to the 'person' table as in upload folder I can read it
as person.image.something but the later part didn't work.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/
For example I called a db query x in view
Where each elements in x will be displayed in view with a button for each. And
if user clicks on any one of them, he/she will get that very id of x (x.id)
inserted in a different db store.
I tried implementing the same with form but clicking on just one i
For example I called a db query uu in view
Where each elements in uu will be displayed in view with a button for each. And
if user clicks on any one of them, he/she will get that very id of x (x.id)
inserted in a different db store.
I tried implementing the same with form but clicking on just one
How to do that?Can you explain or give a source to learn 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 you are s
thanks Niphlod. I am studying that and practicing too. But I couldn't find
solution to this error in the book anywhere. Will be thankful if you point out
the mistake and tell me the corrected version. Will surely take some time to
complete the book after I have my doubts cleared about this.
--
{{=A ... Can be used but it is only for URL. Please help me out of this. This
is nowhere in the book.
--
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
I appreciate the help Alessio. That sounds little complicated. So what if I do
something like this. What should I do in place of the comment. Will be thankful
for your help.
{{for x in uu:}}
{{pass}}
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.co
{{for x in uu:}}
{{=x.name}}
{{pass}}
This doesn't work as expected.
--
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
{{for x in uu:}}
{{=x.name}}
{{pass}}
This doesn't work as expected. How to fix it?
--
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 me
Thank you so much. It just worked. Thanks a lot.
--
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 t
@marin it worked. Thanks for your help so sensibly.
--
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 t
Didn't work.
--
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 Google Groups
"web2py-users" gro
Suppose session has variables: session.name1 and session.name2 such that each
session needs a different set of values for them. Does web2py guarantee that
there will be no conflicts between all sessions.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.
--
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 Google Groups
"web2py-users" group.
To unsubsc
Can we install web2py app on android Mobile as we install the apk files?
--
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
How to tackle this?
my code is:
mail = auth.settings.mailer
mail.settings.server = 'smtp.gmail.com:587'
mail.settings.sender = 'mym...@gmail.com'
mail.settings.login = 'mym...@gmail.com:secret'
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/
I want to do this for my app on pythonanywhere.
On Saturday, January 9, 2016 at 4:59:25 PM UTC+5:30, RAGHIB R wrote:
>
> How to tackle this?
> my code is:
> mail = auth.settings.mailer
> mail.settings.server = 'smtp.gmail.com:587'
> mail.settings.sender = 'mym...
Can we do it without any plugin? If yes, how?
--
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
{{=
x.name}}
this in my view calls this functions:
def my_insert_function():
_id = request.args(0)
db.store.insert(stuff = _id)
if I don't put any redirect("sm page") here it takes me to a null page. How
to prevent this and get a response.flash instead?
--
Resources:
- http://web2py.com
def result():
session.x=mail.send('smm...@gmail.com',
'hello',
'Hi Raghib, you
have a new entry: ','session.name+session.name2+" with
"+str(session.percent)')
if session.x==True:
response.flash="result"
else:
response.fla
ubject, message, attachments, cc, .. etc etc etc).
>
> for html-only mails, it should be
>
> mail.send('reci...@gmail.com , 'subject',
> 'thebody', etc etc etc)
>
> That being said, what's the error ?
>
> On Tuesday, January 12, 2016
. etc etc etc).
>
> for html-only mails, it should be
>
> mail.send('reci...@gmail.com , 'subject',
> 'thebody', etc etc etc)
>
> That being said, what's the error ?
>
> On Tuesday, January 12, 2016 at 7:21:25 PM UTC+1, RAGHIB
can you please write a piece of code for it?
--
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 G
def hidefields():
form=SQLFORM(db.sample1)
if form.accepts(request.vars,session,formname="form"):
response.flash="added"
return locals()
{{extend 'layout.html'}}
jQuery(document).ready(function(){
jQuery('#sample1_one__row').hide();
});
{{=form}}
--
Resou
Please explain how to do it.
--
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 Google Groups
"w
{{=form.custom.begin}}
Name: {{=form.custom.widget.name}}
File: {{=form.custom.widget.source}}
{{=form.custom.submit}}{{=form.custom.end}}
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google
Yes Dave exactly. How do I proceed with this stepwise?
On Friday, January 22, 2016 at 3:24:17 PM UTC+5:30, Dave S wrote:
>
> On Tuesday, January 19, 2016 at 7:51:13 AM UTC-8, RAGHIB R wrote:
>>
>> Please explain how to do it.
>>
>
>
> What's the goal of th
The background-image and everything looks curbed, not suited according to
browser. How to always open a standard size like that which opens in google
chrome?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code
for example lovecalculator.pythonanywhere.com opens very differently on
mobile and looks bad
On Wednesday, February 17, 2016 at 10:09:58 AM UTC+5:30, RAGHIB R wrote:
>
> The background-image and everything looks curbed, not suited according to
> browser. How to always open a standard
1) form (will just design change or even the functionalities change)
2) calender and ajax stuffs
3) another changes?
--
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 Is
1) form (will just design change or even the functionalities change)
2) calender and ajax stuffs
3) another changes?
--
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 Is
For example I am not getting calendar even though I used its link rel by
putting css file under it.
On Friday, February 19, 2016 at 2:22:10 PM UTC+5:30, RAGHIB R wrote:
>
> 1) form (will just design change or even the functionalities change)
> 2) calender and ajax stuffs
> 3) ano
I used both. Still what losses am I having?
On Friday, February 19, 2016 at 2:47:42 PM UTC+5:30, Niphlod wrote:
>
> you need BOTH the js and the css file.
>
> On Friday, February 19, 2016 at 9:56:19 AM UTC+1, RAGHIB R wrote:
>>
>> For example I am not getting calendar eve
Please tell the thing I need to write there.
--
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 G
I am in a very pathetic situation. I know web2py but now I realise learning
Django would have been better. Am I wrong?
--
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
Are opencv stuffs thread-safe and is it okay to use them in web2py?
--
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
What syntax do you use for the same?
--
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 Google Gr
Please let me know the stepwise procedure.
--
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 Goo
Suppose a db table named pictures has 100 pics uploaded (from id 1 to
100). I have another db table name 'choices' with one default field as
auth.user_id and another as 'choice' . Now I show user the pics from that
db from id 1 to 100 and let him click on any of those such that if he
clicks on
I know learning varies from person to person, but keeping in mind rough
estimate, how many days does it take?
--
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)
Tell me if I am wrong.
1)So inside the compressed zip folder you upload for phonegap app wrapping,
you simply put the w2p file of your file inside the zipped folder.
2) we add this to the controller:
@request.restful()
def api():
response.view = 'generic.json'
def GET(tablename,id):
Can you please show where you created the REST API? In a different view?
Can I get any link, how to do that?
On Friday, March 18, 2016 at 8:17:50 PM UTC+5:30, Leonel Câmara wrote:
>
> I usually just create a REST API returning JSON as is very well documented
> in the book and then just call it f
Can you explain it stepwise? If possible please send github link of some
web2py app that you changed to work with phonegap.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (R
76 matches
Mail list logo