--
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 unsub
I found out that there was no auth_user in db administration. But why did
it happen? It's new. And I erased no code
On Thursday, January 21, 2016 at 2:53:02 PM UTC+5:30, aston...@gmail.com
wrote:
>
> model:
> db.define_table('pst',
> Field('writeup','text'), auth.signature)
> controller:
> de
'Cannot resolve reference auth_user in pst
definition'On Thursday, January 21, 2016 at 2:53:02 PM UTC+5:30,
aston...@gmail.com wrote:
>
> model:
> db.define_table('pst',
> Field('writeup','text'), auth.signature)
> controller:
> def authsign():
> form=SQLFORM(db.pst).process()
> ret
model:
db.define_table('pst',
Field('writeup','text'), auth.signature)
controller:
def authsign():
form=SQLFORM(db.pst).process()
return locals()
view:
{{extend 'layout.html'}}
{{=form}}
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web
Anthony I can sense your presence. Please help me asap.
--
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 subscrib
it takes me to default/index.load which is wrong. I should be going to
default/index.
:(
On Wednesday, January 20, 2016 at 7:31:47 PM UTC+5:30, Niphlod wrote:
>
> uhm. maybe
>
> window.location='%s' % URL('default', 'index')
>
> ?
>
> On Wednesday, January 20, 2016 at 2:37:26 PM UTC+1, aston...@g
Well thanks for pointing out that Niphlod. So how should I correct it?
On Wednesday, January 20, 2016 at 6:57:57 PM UTC+5:30, Niphlod wrote:
>
> _onclick should be at the very least a piece of javascript. You're just
> passing an URL.
>
> On Wednesday, January 20, 2016 at 1:50:11 PM UTC+1, aston.
this is what my controller reads:
def index():
return locals()
def add_bottle():
form=SQLFORM(db.bottle, 3 , deletable=True, fields =
['request_expiryDate']).process()
return locals()
this is what my default/index.html reads:
{{extend 'layout.html'}}
{{=LOAD('default', 'add_bottle.
cancel=INPUT(_type='button' , _value='Cancel' , _onclick=
URL('default','index'))
--
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 mess
def add_bottle():
form=SQLFORM(db.bottle, deletable=True).process()
return locals()
do I get to update with just deletable =True or do I have to write a
different snippet for it too
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/we
Please write the snippet.
--
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
"web2
But where, how and which files do I upload files for C compiler so that I
may be able to use subprocess.
On Sunday, January 17, 2016 at 7:11:37 PM UTC+5:30, Bear wrote:
>
> If it is a small and nonsafety project, You need to use subprocess or you
> need to run the code in the sandbox vm.
> On Ja
Someone please help me with this. It's very urgent and I have no idea how
to compile C programs in web2py (plus it should not be running online with
the help of other sites like ideone as it has to be deployed in the college
campus)
On Sunday, January 17, 2016 at 5:37:57 PM UTC+5:30, aston...@g
I need a C++ 14 compiler on my site.
--
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
I need a C++ 14 compiler to 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 Grou
jQuery('#people.submit').prop('onclick',if(!confirm("{{=T('Are you sure
you want to add this object?')}}"this.submit=false);
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list
Thanks Anthony, that really helped. I have asked a new question on how to
put a background image to my body in the html email. Please help me out in
that.
Thanks,
Aston Ribat
On Friday, January 15, 2016 at 1:56:05 AM UTC+5:30, Anthony wrote:
>
> You need the full filesystem pat
what's wrong in my code?
message=' body {
background-image:"cid:photo"}Hi Astonyou have a new entry:%s and %s with percentage:
%s' %( session.name1 , session.name2,
str(session.percent)),
attachments =
mail.Attachment(os.path.join(request.folder, 'static', 'hello.png'),
attachments=mail.Attachment('static/hello.png',content_id='photo')
--
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
now go back
to go back i am using request.enc.referer but it is saying:
invalid function (default/http)
please tell me the corrected version for it
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.c
thanks, it worked
On Thursday, January 14, 2016 at 3:41:26 PM UTC+5:30, Val K wrote:
>
> Hi!
> Try to replace *.attr('checked')* with *.prop('checked')*
>
> On Thursday, January 14, 2016 at 12:32:46 PM UTC+3, aston...@gmail.com
> wrote:
>>
>> I am using the latest web2py version
>>
>> On Thurs
I am using the latest web2py version
On Thursday, January 14, 2016 at 2:58:00 PM UTC+5:30, aston...@gmail.com
wrote:
>
> db = DAL('sqlite://db.db')
> db.define_table('taxpayer',
> Field('name'),
> Field('married', 'boolean'),
> Field('spouse'))
>
>
db = DAL('sqlite://db.db')
db.define_table('taxpayer',
Field('name'),
Field('married', 'boolean'),
Field('spouse'))
def conditionalform():
form = SQLFORM(db.taxpayer)
if form.process().accepted:
response.flash = 'record inserted'
Thats not html message @Niphlod
here
How to display value of here if here is variable
--
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
Is it that I am loosing something?
--
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 Grou
- request.client
- request.env.remote_addr
- request.env.http_x_forwarded_for
--
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
as I find out from different sources, request.env.server_addr
and request.env.remote_addr should work but they don't really work. When I
used this for my app on pythonanywhere, I always
got request.env.server_addr as None and different ip address
for request.env.remote_addr than what is show
Also can I increase by 5 hours and 20 minutes instead of time shown by the
request.now
Can I do like this?: HH+5:MM+20:SS
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Rep
Could you please tell the exact code?
--
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 G
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 Google Groups
"web2py-users" gro
For example, fields like their profile picture and all have to be filled
later, not while signing up. How do I do that? According to my db table,
they are forced to fill everything in beginning only.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/
For example, their profile pic have to be posted they sign up. But they
are forced to fill everything in the beginning only. How to make them fill
certain fields only in the beginning?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py
32 matches
Mail list logo