Google has officially released Android Scripting Environment (ASE) for
Android phones. ASE supports Python. Has anyone tried to run web2py on
ASE?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework"
Here is an interesting behavior.
i have following function
@auth.requires_login()
@service.json
@service.jsonrpc
def acceptme():
return "accepted"
in this case, whatever username and password I give, I get returned
"accepted" but if I put @auth.requires_login() after @service.jsonrpc,
it alw
Hi,
I want to programatically authenticate a user. I have username and
password of a user and I want to authenticate it without created a
form.
Something like this:
token = Auth().check(username, password)
if token:
..
Is it possible?
--~--~-~--~~~---~--~~
On Jul 19, 6:21 pm, Fran wrote:
> On Jul 19, 11:31 am, Yarko Tymciurak wrote:
>
> > ...more to the point - to forward commits / changes in the LACK of a
> > network...
> > Think about cell phones only passing a baton, where that cloud provides
> > persistence...
> > This is consistent w/ some
I have a website where my cron job (present in application/cron) calls
webservices hosted by localhost. I have the whole URL but except the
port at which the website is hosted. I don't want to hardcode port 80,
any idea how to do it?
Hasanat
This isn't a big problem. I placed my script in cron folder (same as
crontab) and added this line
@reboot script.py
It worked
On Aug 12, 6:31 pm, Fran wrote:
> Should cron's @reboot be able to call a script or can it just call a
> controller function?
>
> The docs just show a controller func
sorry, It didn't work for me either.
I thought in first place that it is working but it wasnt.. problem is
still open.
On Aug 13, 12:32 pm, Hasanat Kazmi wrote:
> This isn't a big problem. I placed my script in cron folder (same as
> crontab) and added this line
> @reboot sc
I have a quick question, how do I show an image stored in database (as
blob; the default used in web2py when image is stored using crud)
like, if some one embeds link like /image/24 , it shows image not
html (i mean, content type is automatically set)?
On Nov 19, 10:02 pm, mdipierro wrote:
> fo
Hi,
I am newbie to web2py. I am working on a project where multiple people
will have to get different type of authentication, (e.g. teacher and
student have different level of access to the system). Now the problem
is that I can not create different instances of Auth class, e.g.
autht = Auth(glob
Now, I have changed database, I have switched to mysql, and whole
database is empty. Now it gives me this error:
Table 'web2py.teacher' doesn't exist
If create table myself, it says it already exists. Any help?
On May 23, 11:49 pm, Hasanat Kazmi wrote:
> Hi,
> I am n
only one auth.
>
> When delete a database make sure also delete everything in app/
> databases/
>
> Massimo
>
> On May 23, 5:15 pm, Hasanat Kazmi wrote:
>
> > Now, I have changed database, I have switched to mysql, and whole
> > database is empty. Now it gives me t
Hey,
I am generating URLs on the go and then decoding when they are called by
user.
e.g.
application/controller/funtion/foo/bar/.
I encode foo and bar individually so that if they have spaces, they get
encoded to %20 not _ which seems liked default.
but when I decode it (After user calls it
Is it about headers?
Hasanat Kazmi
+923464362473
13 matches
Mail list logo