use text.string.
On Monday, April 11, 2016 at 8:52:56 AM UTC-4, rajjm...@gmail.com wrote:
>
> If I use the helper function it works. Ran into one issue though.
>
> {{=SPAN(A( IMG(_src=URL('static','images/delete.png')), _href =
> URL('delete',args=id), _title = 'Delete', _onclick = "javascrip
Ok, most of the information i found was only about how to repair such an
error, but maybe i didnt search long enough..
I am hosting the website on my own VPS using nginx. I dont have a very
large amount of traffic so in that case maybe i made something very
inefficient. Could brute force break
On Sunday, April 10, 2016 at 6:36:24 PM UTC-7, Anthony wrote:
>
> It's just Python -- see
> http://www.diveintopython.net/html_processing/locals_and_globals.html.
> The built-in globals() function returns a dictionary of all the objects in
> the global environment.
>
> Anthony
>
>
Also, the w
On Saturday, April 9, 2016 at 5:40:51 PM UTC-7, Jerry Liu wrote:
>
> Hello, everyone
>
> I want to customize my user registration page a little bit, and I am using
> the code like below:
>
> {{=form.custom.begin}}
>
>
> {{=form.custom.widget.username}}
>
> ...
>
>
> {{=form.custom.submit}}
> {{=
seems that the i/o subsystem of your hosting is getting "tired". Google is
full of information regarding that particular error where are you
hosting your app ?
On Monday, April 11, 2016 at 9:02:09 PM UTC+2, Martin wrote:
>
> Hi,
>
> I am running a webshop built using web2py. Everything has b
Hi,
I am running a webshop built using web2py. Everything has been running
smoothly for a few weeks but now I am having some problems. At seemingly
random times the database will break somehow. The website becomes
inaccessible and the tickets give the message "DatabaseError: database disk
imag
I just upgraded to latest w2p version and uploading images works without
needing to import anything.
--
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
l
*oading tinyMCE from cdn will make it work:*
{{extend 'layout.html'}}
tinymce.init({
selector: '#tpage_body'
});
{{=form}}
*loading tinyMCE from the local machine and you have a big mess:*
{{extend 'layout.html'}}
tinymce.init({
selector: '#tpage_body',
});
{{=form}}
how
There is a similar problem with SQLFORM.factory. E.g:
searchform=SQLFORM.factory(
Field('name', 'string', default='', comment='(start of) last name'),
Field('status', 'string', requires=IS_EMPTY_OR(IS_IN_SET(['Full',
'Student', 'Comp', 'Inactive']))),
Field('paid_year'
If I use the helper function it works. Ran into one issue though.
{{=SPAN(A( IMG(_src=URL('static','images/delete.png')), _href =
URL('delete',args=id), _title = 'Delete', _onclick = "javascript:return
confirm('Are you sure you want to process?')", _class = 'Delete') ) }}
Now, if I want to st
Hi
I have tried your suggestion and put the code
auth.settings.login_url = URL(c='default', f='fbLogin', args=['login'])
this is in my default.py
def fbLogin():
auth.settings.login_form=FaceBookAccount()
auth.settings.login_url = URL(c='default', f='fbLogin', args=['login'])
form = auth()
return
In the standard web2py authentication is triggered by @auth.requires_login
decorator if the user is not authenticated already.
in model after defining a class FacebookAccount() extended from
gluon.contrib.oauth20_account.OAuthAccount
auth.settings.login_form = FacebookAccount()
# change default
12 matches
Mail list logo