Hey there,
I am new to web2py and ran into the below error:
The Web2py editor is not loading in full scree and there is no option to
expand the screen as well. (Attached screen shot)
I am using Internet Explorer Browser and Web2py version of 2.17.2
Please help me to restore this to a normal screen
No, .table files aren't deleted or corrupted. Most of the output are of the
type
timestamp: XXX
ALTER TABLE YYY DROP COLUMN ZZZ;
faked!
Regards
Abhishek Gupta
Co-founder, Zumbl
Zumbl <http://zumbl.com> |
Facebook<http://facebook.com/abhishekgupta.iitd> |
Twitter &l
=True for that table
which make changes to the shared database, and then, manually migrate the
table using SQL syntax to the live server. But I think migrate=False should
work equally well too, and I shouldn't thus be required to worry about the
logging.
Regards
Abhishek Gupta
Co-founder, Zu
Anthony, that souns good, thanks.
Massimo, our sql.log grows to almost 1GB each day. I used fake_migrate=True
for all the tables.
Regards
Abhishek Gupta
Co-founder, Zumbl
Zumbl <http://zumbl.com> |
Facebook<http://facebook.com/abhishekgupta.iitd> |
Twitter <http://twitter.com/
Hi,
Is there an easy way to disable the logs generated in databases/sql.log
other than editing gluon/dal.py?
Regards
Abhishek Gupta
Co-founder, Zumbl
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this
Hi,
I have a web2py installation and an ejabberd for chat connections. Due to
the speed of ejabberd, I want to transfer some of the ajax requests to
ejabberd. This will require me to perform user authentication at EjabberD
instead of web2py.
Is there way I can authenticate an user at Ejabberd
Hi,
I am working on a referral system in which I would be able to track signups
given a referral url. Let us say someone open www.zumbl.com/?u=2102 and
then the user signups or login, using this unique URL, I need to create an
entry into the database.
Is there some way I can do this use using
th.user_id .
>
> On Friday, February 8, 2013 6:52:13 PM UTC+1, Abhishek Gupta wrote:
>>
>> Hi,
>>
>> I have a website running on web2py. I want to optimize the login page,
>> and strip all the web2py functional but to see if the user is logged in
Hi,
I have a website running on web2py. I want to optimize the login page, and
strip all the web2py functional but to see if the user is logged in or not.
To explain more, I want to do following:
if user.is_logged_in_custom():
return my_html
else:
redirect to_some_other_page
The idea is t
hat is wrong with the existing
> 'remember me' mechanism in Auth?
>
>
>
> On Thursday, September 20, 2012 7:17:05 PM UTC+1, Abhishek Gupta wrote:
>
>> Are there any function in web2py which can help me in creating the user,
>> and doing the automatic b
using data on the session.
>
> Quinta-feira, 20 de Setembro de 2012 3:22:23 UTC+1, Abhishek Gupta
> escreveu:
>
>> Hi
>>
>> First of all, a lot of thanks for such an awesome piece of software. I am
>> working on a website where I need to implement cookie based logo
Hi
First of all, a lot of thanks for such an awesome piece of software. I am
working on a website where I need to implement cookie based logon quite
similar to the system described here
http://www.phpnerds.com/article/using-cookies-in-php/2 in php.
The idea is simple. When a user clicks on "Ex
Hi,
I am encountering the exact same problem as mentioned by Lucas in one the
earlier threads :
msql db_name -U user_name -h localhost
*works*
*
*
import psycopg2
psycopg2.connect
*works*
*
*
python web2py.py -S app_name
DAL(...) works too
But, still I get error
> RuntimeError: Failure to co
I implemented a similar solution, but the user keeps on getting
disconnected from the tornado server. This happens frequently with chrome.
Any guesses, so as why the user is being disconnected so often (in every
4-5 secs).
I am using script/autoroutes.py for the application with following changes :
config = '''
server.com /app/default
'''
def auto_in
...
routes += [('^.*:/(?P[^\\/\.]+)(?P.*)$',
'/profile/\g\g')]
return routes
def auto_out...
...
routes +=
[('^.*:/profile/(?P[^\\/\.]+)(
Hello
I am in process of deploying my web2py app. I need to do remove app name
from the urls. So that server.com/controller/function should mean
server.com/appname/controller/function .
Any clues so how I can edit my routes.py file to achieve the above?
Regards
Abhishek
Sorry, I got the error. Correct thing to be done was :
{{register_form.element('input#auth_user_username')['_placeholder'] =
'Username'}}
On 17 December 2011 12:48, Abhishek Gupta wrote:
> Thanks, it worked.
>
> But surprisingly
> form.element(
) function:
>
> form = auth()
> if request.args(0) == 'login':
> form.element('input.password')['_placeholder'] = 'Password'
>
> Not sure placeholders will show in plain text in all browsers -- may need
> a JS workaround for that (change the f
I think you can detect his closing the browser using javascript and
accordingly log him out of the browser.
Regards
Abhishek
Hello
I am customizing web2py login form, but appear to stuck with this one.
In a normal HTML5 form, for password I can do following:
But how can i add a similar placeholder field to the web2py login form for
the password field. I was able to do the same for the username fie
There are two controllers say A and B. A calls B from within. Now, I want
to redirect back to the controller A on return from B. In my case both A
and B are variable. What is the best way to do this? One way is to maintain
a session variable such as session.prev_url.
Abhishek
http://abhishekgupta9
ata.
>
> In the configuration file for the module, somewhere like /etc/apache2/
> mods-enabled/wsgi.conf you need to add a line:
>
> WSGIPassAuthorization On
>
> and reload apache.
>
> Cheers,
> Robin
>
> On Jun 14, 6:30 am, Abhishek Gupta
> wrote:
> >
I have the following functions defined in test.py file
@auth.requires_login()
def call():
return service()
@service.xmlrpc
def time():
import time
return time.ctime()
and following in my db.py file
auth.settings.allow_basic_
login = True #for CLI access
When I execute the following
Hello,
I have an application in web2py. To create the command line interface of the
gui (web-interface), I want to use xmlrpc service. For example if I have
following function :
@auth.requires_login
def example():
temp = request.args[0]
//do something on temp
return dict(temp=temp)
24 matches
Mail list logo