[web2py] Re: Don't laugh but I like the admin editor ;o)

2015-10-10 Thread Gary Cowell
I like it too. It makes it possible to work on sites with just a browser, like on a Chromebook. Which in fact, I do. On Saturday, 10 October 2015 13:06:32 UTC+1, Edward Shave wrote: > > Only thing is I can't find much by way of instructions for it so if anyone > can point me in the right

[web2py] Re: Don't laugh but I like the admin editor ;o)

2015-10-10 Thread Edward Shave
Seems search and replace doesn't work..! How disappointing. -- 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

[web2py] add extra fields in auth.user

2015-10-10 Thread A C REDDY SREEDHAR REDDY
*i have been trying to add extra field * auth = Auth(db) auth.settings.extra_fields['auth_user']= [ Field('address'), Field('city'), Field('zip'), Field('phone')] ## create all tables needed by auth if not custom tables auth.define_tables(username=True) *it shows * ""table already

[web2py] Re: CMS WEB2PY

2015-10-10 Thread Anthony
If it has to be Python, there are several Django based CMSes -- Wagtail looks like a nice one (there's also Mezzanine and Django CMS). Anthony On Saturday, October 10, 2015 at 3:32:22 AM UTC-4, Paolo Amboni wrote: > > After some research i finally concluded that there is

[web2py] Re: Don't laugh but I like the admin editor ;o)

2015-10-10 Thread Edward Shave
Following Anthiony's links I quickly came across this file... \applications\admin\views\default\editor_shortcuts.html" which contais the following... {{=T("Keyboard shortcuts")}} {{=shortcut('Ctrl+S', T('Save via Ajax'))}} {{=shortcut('Ctrl+F11', T('Toggle

[web2py] Redis cluster

2015-10-10 Thread Luis Valladares
Hello! I was wondering if exist any implementation or experiencies with redis cluster in web2py? i googled this but cant found anything Here is a link explaining what is redis cluster: http://redis.io/topics/cluster-tutorial Thanks for your help! -- Resources: - http://web2py.com -

[web2py] Re: Don't laugh but I like the admin editor ;o)

2015-10-10 Thread Anthony
It's CodeMirror . You can see how it is configured here and here . Anthony On

[web2py] Re: add extra fields in auth.user

2015-10-10 Thread Leonel Câmara
You're calling auth.define_tables twice. You should only call it once and only after the extra_fields definition. -- 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

[web2py] recent examples of Paypal integration?

2015-10-10 Thread Alex Glaros
anyone have recent example of Paypal integration that works with current Paypal methods? thanks Alex Glaros -- 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)

[web2py] class being inserted behind my back..!

2015-10-10 Thread Edward Shave
I make a button including two classes, btn and btn-primary. The button shows up OK but the text looks horrible. Upon inspection I find an extra class (btn-default) has been included..! What's up guys? {{extend 'layout.html'}} This text looks horrible -- Resources: - http://web2py.com -

[web2py] Re: Sitemap Question

2015-10-10 Thread Leonel Câmara
I would use the MENU helper for this. A sitemap follows much the same logic as a menu. -- 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

[web2py] Re: Installing app on Pythonanywhere

2015-10-10 Thread Leonel Câmara
Did you reload your webapp after making the 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 Issues) --- You received this message because you are subscribed

[web2py] CMS WEB2PY

2015-10-10 Thread Paolo Amboni
After some research i finally concluded that there is no stable and structured CMS made for web2py (tell me if i'm wrong). Which is a python cms that better can be put beside a web2py site (already made)? Thanks. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Basic queries in Web2Py

2015-10-10 Thread aseshad1
I have the following queries. Could any of you please help me resolve these. 1. I tried to include CSS code but when searched in response, I am unable to find that CSS file. [image: Inline image 6] [image: Inline image 7] 2. I am unable to add reference to the default id column as foreign key.

[web2py] error

2015-10-10 Thread sai edx
can anyone explain the reason for this error. 'NoneType' object has no attribute '_adapter' thanks in advance -- 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

[web2py] Auth_user.table appears corrupted

2015-10-10 Thread AKASH DAS
I am getting an error as auth_user.table appears corrupted . I tried migrate = False but after doing this I can't add extra fields to auth_user table and it is showing an error no such column 'x' in auth_user . And when I tried to drop the table it shows an error occurred and nothing happens So

Re: [web2py] Basic queries in Web2Py

2015-10-10 Thread Kiran Subbaraman
The images are not visible in your post. You probably want to add them again as attachments? For point 4, you need to assign a javascript function ( which does a form submit), for the on-click event. Kiran Subbaraman

[web2py] Don't laugh but I like the admin editor ;o)

2015-10-10 Thread Edward Shave
Only thing is I can't find much by way of instructions for it so if anyone can point me in the right direction. I'm particularly interested in search and replace and any short-cut keys... Also any nifty undocumented features you may know about. best regards Ed -- Resources: -

[web2py] Re: error

2015-10-10 Thread Leonel Câmara
The reason this happens is that you're trying to use None as if it was something else. Probably because you're doing some operation on a DAL object that in your case doesn't really have a db set properly yet it needs one for what you're trying to do. If you show us the code where this happens

[web2py] Re: How to disable the calendar widget?

2015-10-10 Thread Edward Shave
Wow! Spoilt for choice ;o) Thanks for that Anthony. I continue to be impressed by the standard of replies 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

[web2py] Re: auth.requires_login redirect and session expiration

2015-10-10 Thread 'DenesL' via web2py-users
Status 401 is more appropriate since session has expired and the user is not authenticated. Ajax or no ajax. But we should return 403 when the user is authenticated and the request authorization fails for a component. Do you agree with the following table?. USER = is authenticated COMP =