Can someone post this somewhere where resume download is supported? I
got a crappy connection right now...
On Jun 12, 12:09 am, Massimo Di Pierro
wrote:
> Here is the source of the facebook clone
>
> web2py.app.friends.w2p
> 1002KViewDownload
Google Translate thinks it's Swahili...
On Jun 19, 1:40 pm, Vineet wrote:
> What is this tongue? (wewe andeya kuja nikufundishe web2py na ubebe
> nyama :D)
>
> It is my sincere thought that web2py group is for sharing the
> knowledge within the community.
> Kindly write something which others can
What is this tongue? (wewe andeya kuja nikufundishe web2py na ubebe
nyama :D)
It is my sincere thought that web2py group is for sharing the
knowledge within the community.
Kindly write something which others can understand.
For any personal matter, one can use emails.
On Jun 18, 11:26 am, kesh
db(db.testtable.name.contains('kate')).select()
See
http://web2py.com/book/default/chapter/06#Many-to-Many,-list:,-and-contains
.
Anthony
On Sunday, June 19, 2011 12:10:14 AM UTC-4, hywang wrote:
> db.define_table("testtable",
> Field("name", "list:string")
> )
>
> table contents are
db.define_table("testtable",
Field("name", "list:string")
)
table contents are as following:
idname
1 ["jim", "kate"]
---
2 ["tim", "kate"]
---
Shouldn't take too much work. In my blog post you can see (and
download) a version of comet_messaging.py that works with tornadio.
If you want to read in from the Socket.io you'll need to modify it
accordingly, but it sounds like it should be straightforward for what
you're doing (receiving bursts
sorry, i have send out the wrong patch. the correct one is here:
diff -r c92b70ebb0b9 gluon/dal.py
--- a/gluon/dal.py Fri Jun 17 23:40:28 2011 -0500
+++ b/gluon/dal.py Sun Jun 19 04:11:28 2011 +0300
@@ -5476,7 +5476,11 @@
return self
for row in self.records:
2011/6/18 Dwayne
> Dear all,
>
> When I type an email address on hotmail or gmail, the email address is
> recognized if it exists and also hotmail and gmail make some
> suggestions.
> The same system exists for tags on Stackoverflow. Suggestions are made
> and existing tags are recognized.
>
> Do
There's the autocomplete widget:
http://web2py.com/book/default/chapter/07#Autocomplete-Widget -- though,
unfortunately it appears not to work in IE. It won't make suggestions but
will display items from the db that match what you type.
Anthony
On Saturday, June 18, 2011 8:36:39 PM UTC-4, Dwa
hi szimszon and massimo,
i have found out what is the problem.
when you append the new virtualfield with
"db.product.virtualfields.append(MyVirtualFields())" you instantiate
it and apply it so for every lazy property, it uses the same
MyVirtualFields class pointing to same object in the memory. i
Dear all,
When I type an email address on hotmail or gmail, the email address is
recognized if it exists and also hotmail and gmail make some
suggestions.
The same system exists for tags on Stackoverflow. Suggestions are made
and existing tags are recognized.
Does a similar system exist in web2py
Thank you Massimo !
François
On 11 juin, 18:09, Massimo Di Pierro
wrote:
> Here is the source of the facebook clone
>
> web2py.app.friends.w2p
> 1002KAfficherTélécharger
Hello dear teachers.
I'm a new to web2py and this community.
I would like to know that how to write "back-references" using
datastore API.
Although I'm actually new to datastore API too, I know that there is a
way to get entities which refer to the particular entity like this
way.
---
Lots of people are having problems with google code this way. Yet it
was answered. ;-)
On Jun 18, 3:28 pm, Nils Olofsson wrote:
> Hi,
> Yes, that was me, sorry, I never got an email stating that it was
> posted :( or a response.
> Thanks for the quick response.
>
> BTW, web2py is great, only lear
Hi,
Yes, that was me, sorry, I never got an email stating that it was
posted :( or a response.
Thanks for the quick response.
BTW, web2py is great, only learning at the moment:)
Nils
Didn't you post this already two days go? Perhaps somebody else did.
if form.accepts(request.vars, session,keepvalues=True):
db.events.insert(**db.events._filter_fields(form.vars))
is the problem. form.accepts already does insert. remove the second
line or do
if form.accepts(requ
There are two types of injections attacks and they are mixed up in
this thread.
- SQL Injection. DAL prevents those. Period. (unless you are on old
version of postgresql)
- XSS Injections. {{=anything}} prevents those.
Caveats about XSS. If you use a WYSIWYG/HTML editor you are forced to
do {{=X
Hi,
I'm having a problem:
web2py: Version 1.96.4 (2011-06-07 21:08:15)
Running on Rocket 1.2.2
Database is mysql.
I have this code:
form
=SQLFORM(db.events,fields=['title','venue','starttime','startdate','endtime','enddate','location','image','cost','website','booking','latlng','information'])
.
OK. I just do not know if creating an issue is enough or should I mention it
here... Take time :)
Y
On Jun 18, 1:51 pm, Anthony wrote:
> Unless you're writing you're own raw SQL, I think the DAL is supposed to
> protect against SQL injection attacks. And if you're returning code to any
> views, the template engine should escape it properly before rendering. Have
> you successfully executed an
Unless you're writing you're own raw SQL, I think the DAL is supposed to
protect against SQL injection attacks. And if you're returning code to any
views, the template engine should escape it properly before rendering. Have
you successfully executed an actual attack?
On Saturday, June 18, 2011
Thank you, I know about him. But I could not get it to work.
changed subject
Check out these recipes:
http://web2pyslices.com/main/default/search?query=file+upload&criteria=title
On Jun 18, 12:39 pm, Al Velin wrote:
> I was hoping to find some recipe like django tabularinline or other
> ready-made widgets...
I was hoping to find some recipe like django tabularinline or other
ready-made widgets...
Not exactly a web2py issue, but related. I'm using the jQuery edit in
place function http://code.google.com/p/jquery-in-place-editor/ along
with a web2py backend. During testing I was able to simulate what I
think is called an injection attack, by placing a alert("hello
world"); in the replacement
This can be done with one of the jquery ajax widgets. I believe
there's a web2py slice on this. I haven't used it myself ... just
recall seeing a thread on it.
On Jun 18, 2:35 am, Al Velin wrote:
> Hello, I'm new to web2py, and I do not know how to do multiple file
> uploads in a single form. For
On Jun 18, 7:21 am, "Sebastian E. Ovide"
wrote:
> On Sat, Jun 18, 2011 at 3:33 AM, Massimo Di Pierro <
>
> massimo.dipie...@gmail.com> wrote:
> > . Books on paper count. Books online do not.
>
> wow what about if we contribute to the online version and then you
> repackage it in a paper ver
You can get them to work on any browser using a flash plugin.
On Jun 18, 4:59 am, Phyo Arkar wrote:
> Thanks a lot all.
>
> I am looking intohttps://github.com/kmike/tornadio, quite interesting .
>
> Main reason i dont want to use websocket due to not standardsized yet and
> all browsers working
not yet. will do this week-end
On Jun 18, 4:43 am, szimszon wrote:
> Has somebody looked at
> it:http://code.google.com/p/web2py/issues/detail?id=292?
Hello, I'm new to web2py, and I do not know how to do multiple file
uploads in a single form. For example, the loading of multiple images.
If a simple model of the following fields:
db.define_table ('img',
Field ('title'),
Field ('img', 'upload'),
)
What exactly should I write in the controller a
wewe andeya kuja nikufundishe web2py na ubebe nyama :D
On May 24, 11:46 pm, Markandeya wrote:
> Ok i found some appliances on the Appliances web page and that is very
> helpful. Which ones are considered good coding standards/practices to
> follow?? Which would you advise to get started with??
>
Ah, that's the fact I feared :)
I perhaps can pass in parameters as 'args' as a work around and create the
_next hyperlink by converting args to anchor text.
I'm using browser history management so anchors have to be used 'eventually'.
On 18 Jun 2011, at 13:08, Anthony wrote:
> As I unders
On Sat, Jun 18, 2011 at 3:33 AM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> . Books on paper count. Books online do not.
>
>
wow what about if we contribute to the online version and then you
repackage it in a paper version ?
> On Jun 17, 6:47 pm, mikech wrote:
> > Wouldn't
As I understand it, browsers do not send anchors (i.e., "fragment
identifiers") to the server, so if a user clicks on
http://127.0.0.1:8000/init/default/account#Invite, the http request sent to
web2py will not include the "#Invite" part of the URL, and web2py will
therefore not be able to inclu
Thanks a lot all.
I am looking into https://github.com/kmike/tornadio , quite interesting .
Main reason i dont want to use websocket due to not standardsized yet and
all browsers working (and i can't tell them not to use this browser only
this browser) .
Yes the problem of only 2 ports can be so
Thanks a lot massimo , i see the limitation of wsgi now. Thats why Rocket
can't do.
On Sun, Jun 12, 2011 at 9:04 PM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> If you want to do long-polling you need an async server, not rocket
> because wsgi does not support async. Look into web2py
further investigation...
away from CAS...
in default.py:
def one():
redirect(URL(f='two', anchor='anchor987654321'))
def two():
redirect(URL(f='three'))
def three():
return dict(message='three!')
when I enter http://127.0.0.1:8000/init/default/one the function two()
is called and I'
Has somebody looked at it:
http://code.google.com/p/web2py/issues/detail?id=292 ?
an example:
if a user, not yet logged in, clicks the link
http://127.0.0.1:8000/init/default/account#Invite
they are asked to log in and then redirected to
http://127.0.0.1:8000/init/default/accountd
note that the hash (#Invite) is lost.
I'm using CAS in my app.
Has anyone encountered this?
yes sqlite
On Jun 18, 3:30 am, Massimo Di Pierro
wrote:
> I need to think about this. The sum(...) is performed at the db level
> and therefore - on sqlite - it is computed as float. The result
> should be converted back to decimal anyway.
>
> You are using sqlite, correct?
>
> On Jun 17, 6:15 p
42 matches
Mail list logo