[web2py] Re: execfile

2011-02-02 Thread desfrenes
Yes, I read it. Anyway, thank you Massimo for keeping python web development out of the wannabe-java & everything-should-be-made-standard syndroms. And the statement about web2py being harmful to the python community is just shit. Web2py was the one framework that got me interested in python web

[web2py] Re: web2py exec in the new again

2011-02-02 Thread desfrenes
On 1 fév, 21:16, Massimo Di Pierro wrote: > In web2py you cannot store instances of objects into session. While > Armin makes it tool like this is a web2py problem this is more complex > and general than that. In Python if you pickle and object that is > instance of a class defined in /path1/mymo

[web2py] execfile

2011-02-01 Thread desfrenes
hey ! How about that ? http://lucumr.pocoo.org/2011/2/1/exec-in-python/ Is there any real threat for web2py or is it just expert whining ? I don't really care about theory and things being pythonic or not, as long as it's efficient. So, any situation where this can really be a problem ? See you.

[web2py] Re: Web2py for PHP

2010-01-27 Thread desfrenes
ternal functions in namespaces are slower, because PHP > first looks for such function in the current namespace. > * Calls to static methods are slower, because PHP first tries to look > for corresponding function in namespace. > > On Jan 26, 4:57 pm, pistacchio wrote: > > > you a

[web2py] Re: Web2py for PHP

2010-01-27 Thread desfrenes
; first looks for such function in the current namespace. > * Calls to static methods are slower, because PHP first tries to look > for corresponding function in namespace. > > On Jan 26, 4:57 pm, pistacchio wrote: > > > you are right, desfrenes, it has namespace (indeed, it has

[web2py] Re: Huge amount of data slowing page loads...

2010-01-26 Thread desfrenes
this works like a charm: http://docs.jquery.com/Plugins/Autocomplete On 27 jan, 08:24, Jason Brower wrote: > I have a database with 16k entries in it... > I have a one to many relation with them. > When I create a form with the requiers=IS_ID_DB() feature I notice a > huge lag in page load time.

[web2py] Re: Web2py for PHP

2010-01-26 Thread desfrenes
You're right, Python is (much more) elegant. But you're wrong, PHP has namespaces. On 25 jan, 18:27, pistacchio wrote: > python is a very elegant and mature language. php has gained a huge > popularity more for the moment when it came out that for the goodness > of the language itself. it has a

[web2py:35477] Re: Retrieve Images From Database

2009-11-17 Thread desfrenes
Storing images in db is a bad idea imo. You should probably only store url/path in db and serve images from a static web server. On 17 nov, 10:49, David wrote: > I used the GAE example in the book to create a thumbnail image that is > stored in the database for my model.  The image displays fin

[web2py:35032] Re: faked ?

2009-11-10 Thread desfrenes
o > > On Nov 10, 9:14 am, desfrenes wrote: > > > Hello ! > > > Creating a table and then adding a new Field, here's what I get: > > > timestamp: 2009-11-10T15:44:02.086000 > > CREATE TABLE product( > >     id INTEGER PRIMARY KEY AUTOINCREMENT, > >

[web2py:35030] Re: faked ?

2009-11-10 Thread desfrenes
No problem :-) On 10 nov, 16:20, mdipierro wrote: > It seems I took a patch that was not tested enough (my mad only, I > should have) and it is creating lots of problems. > > I am about to post 1.72.3. > > I apologize to everybody. > > Massimo > > On Nov

[web2py:35026] Re: faked ?

2009-11-10 Thread desfrenes
Oh, that was using the svn trunk. On 10 nov, 16:14, desfrenes wrote: > Hello ! > > Creating a table and then adding a new Field, here's what I get: > > timestamp: 2009-11-10T15:44:02.086000 > CREATE TABLE product( >     id INTEGER PRIMARY KEY AUTOINCREMENT, >    

[web2py:35025] faked ?

2009-11-10 Thread desfrenes
Hello ! Creating a table and then adding a new Field, here's what I get: timestamp: 2009-11-10T15:44:02.086000 CREATE TABLE product( id INTEGER PRIMARY KEY AUTOINCREMENT, title CHAR(64) ); success! timestamp: 2009-11-10T15:54:01.273000 ALTER TABLE product ADD subtitle CHAR(64); faked!

[web2py:33417] Big Python News

2009-10-22 Thread desfrenes
http://article.gmane.org/gmane.comp.python.ideas/6282 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group,

[web2py:30599] Re: Pycon

2009-09-10 Thread desfrenes
Also Tips on using the DAL with a domain model would be nice... On 10 sep, 08:17, Richard wrote: > I would also be interested in understanding more about the DAL, > particularly the new one in development. > > On Sep 10, 2:02 am, "mr.freeze" wrote: > > > I would like to see a 'deep dive' into t

[web2py:29860] Re: YAL - yet another logo

2009-09-02 Thread desfrenes
I don't like. Idea is good, realisation is bad. On 2 sep, 13:46, weheh wrote: > Ahhh ... the mythic board presentation to the hard-nosed businessmen. > No women in the board, of course. And everyone has ophidiophobia, > too. > > Well, think about cute animals in logos. Think about Twitter's logo

[web2py:28497] Re: where for art thou, oh session attribute?

2009-08-13 Thread desfrenes
There have been countless flamewars on this subject... we need another one here ;-) As you guess, I think 3) is the way to go (although it doesn't have to be limited to crud operations). I tend to trust Thomas Erl here (http://www.soaprinciples.com/service_statelessness.asp). Me and my team use js

[web2py:28462] Re: where for art thou, oh session attribute?

2009-08-12 Thread desfrenes
>2) should we provide a cookie aware xmlrpc cllient with web2py? > >3) should we allow other mechanisms to id sessions? For example a uuid >in the URL? These are very application-specific. Other services may require a token in the method's parameters, other may require http auth, some may need co

[web2py:24318] even easier orm/crud ?

2009-06-16 Thread desfrenes
Still young but quiet impressive, surely filed with tons of magic, check it out: http://www.youtube.com/watch?v=3fFWGT_5yi8 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this

[web2py:24119] Re: flatpage application

2009-06-14 Thread desfrenes
Just an attempt to revive this question ;-) Here is a link to a patch: http://pastebin.com/m417aa1f5 Any chance to see this merged in trunk ? Bye. On 26 mai, 23:54, desfrenes wrote: > cool :-) > > On 26 mai, 23:47, mdipierro wrote: > > > interesting. Let me give

[web2py:23439] Re: RIAs, services and authentication

2009-06-06 Thread desfrenes
That's another way and quite possibly the most standard one, but still this seams to be a problem in some cases. afaik, actionscript 3 has native no support for cookies, that mean flex appmications won't use them, although AIR applications will (yes, this is crazy). Anyway this is a general web s

[web2py:23413] Re: RIAs, services and authentication

2009-06-06 Thread desfrenes
On Jun 6, 12:09 pm, Alexei Vinidiktov wrote: > I wish server-side token generation and handling would be implemented > in web2py proper. I'm not sure there can be a generic response to this since the nature of both the token and the token store can be different from one project to another. The

[web2py:23410] Re: RIAs, services and authentication

2009-06-06 Thread desfrenes
""" return 'hello ' + name # your service end point def call(): return service() Another way is to use http basic auth, but it was not my choice. You'll find tons of articles about it. On Jun 6, 10:20 am, Alexei Vinidiktov wrote: > Thanks for your re

[web2py:23322] Re: RIAs, services and authentication

2009-06-05 Thread desfrenes
I use a token auth handle at the service level. It has disadvantages (need to check auth on each method, but should be easy with python decoratorsà but at least I can use the same services with no modification, whatever the message format (soap, json, xml, anything...) or the transport layer. On

[web2py:23304] Re: if you care about web2py...

2009-06-04 Thread desfrenes
This so-called troll issue is irrelevant. Reddit thread is asking "which framework?". web2py users answered, end of the story. No need to know the reasons why users answered, if they did because of your post then fine, what's wrong with that ? > I really really prefer to spend my time coding than

[web2py:23229] Re: click click clik

2009-06-03 Thread desfrenes
I don't see the point in paying attention to those comments. All this reddit/twiter thing is mostly noise (and now even insults !). Why should you care about whinners ? On Jun 3, 8:42 pm, Wes James wrote: > seems odd that there are down votes on this subject already.  Must be some > "other" fram

[web2py:23094] Re: new slides

2009-06-01 Thread desfrenes
and slide#24: ruotes_out/routes_out On 2 juin, 06:01, mdipierro wrote: > I really appreciate them! Thank you John. > > Massimo > > On Jun 1, 10:32 pm, JohnMc wrote: > > > Massimo, > > > Please take these corrections as I want you to look good, not > > criticism: > > > Slide 11: 'Editing an...'

[web2py:23093] Re: if you care about web2py...

2009-06-01 Thread desfrenes
ahaha... "We are the Borg. Lower your shields, and surrender your ship. We will add your biological and technological distinctiveness to our own. Your culture will adapt to service ours. Resistance is futile." On 2 juin, 01:02, mdipierro wrote: > LOL > > once again they are implying you are me.

[web2py:22847] Re: web2py starting to influence ?

2009-05-28 Thread desfrenes
java and simple... that would be jython, right ? ;-) On 28 mai, 22:09, mdipierro wrote: > good although I have a problem with the words "java" and "simple" > cohexisting. > anyway, good luck to him. > > On May 28, 3:00 pm, desfrenes wrote: > > &g

[web2py:22837] web2py starting to influence ?

2009-05-28 Thread desfrenes
read this: http://twitter.com/hofmanndavid/statuses/1930919022 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe

[web2py:22696] Re: flatpage application

2009-05-26 Thread desfrenes
cool :-) On 26 mai, 23:47, mdipierro wrote: > interesting. Let me give this some thought. something like this could > go in trunk. > > Massimo > > On May 26, 4:24 pm, desfrenes wrote: > > > not pretty I guess, but it does what I want. is there any chance to a >

[web2py:22690] Re: flatpage application

2009-05-26 Thread desfrenes
not pretty I guess, but it does what I want. is there any chance to a similar/better solution in a next version of web2py ? On 26 mai, 23:23, desfrenes wrote: > okay, so here it is. > > in routes.py: >     use_error_controller = True > > in

[web2py:22689] Re: flatpage application

2009-05-26 Thread desfrenes
web2py_error='invalid application') and then in error/default/index I can query the database for content where url=request.path_info On 26 mai, 22:45, desfrenes wrote: > In other words, the question would be "how do I intercept 400+ errors > before the reponse is s

[web2py:22688] Re: flatpage application

2009-05-26 Thread desfrenes
ternals but I'll try to implement this and send a patch. - On 26 mai, 21:57, mdipierro wrote: > Not sure I completely understand the issue but as long as it is ok > with you fine. > > On May 26, 2:32 pm, desfrenes wrote: > > > Thanks. > > > I first played wit

[web2py:22685] Re: flatpage application

2009-05-26 Thread desfrenes
: > There may be an easier to implement Djangoflatpagesin web2py but if > you need to trap error codes, look into > > web2py/routes.examples.py > > Massimo > > On May 26, 12:51 am, desfrenes wrote: > > > Hello, > > > I'm trying to build something simi

[web2py:22647] flatpage application

2009-05-25 Thread desfrenes
Hello, I'm trying to build something similar to the flatpage application in django, that is an app that maps a simple content to an arbitrary url. To do so I have to trap 400 and 404 errors and then see if a content is attached to this url. If so, display it, if not, raise the error again. How c

[web2py:22473] Re: small paid project with web2py and nicEditor

2009-05-23 Thread desfrenes
this plugin works but uses image schack to host the pictures. On May 23, 1:57 pm, JohnMc wrote: > Horst, > > The NicEdit site references a image upload > plug-in:http://www.nicedit.com/forums/viewtopic.php?f=3&t=471. > > On May 23, 1:50 am, Horst Herb > wrote: > > > I need *urgently* either a

[web2py:22464] Re: small paid project with web2py and nicEditor

2009-05-23 Thread desfrenes
Slightly off-topic, but fckeditor does just what you want out of the box, with many connectors in different languages, including python (but not web2py specific). See also the django fck connector project (http://code.google.com/p/django-fckconnector/) that should be easy to port to web2py. On 23

[web2py:22349] Re: web2py vs. asp/.net -- help with comparison

2009-05-22 Thread desfrenes
I don't think there is an alter ego page for .net, but apart from the technical stuff, your client should be convinced by the cost. On May 21, 8:06 pm, weheh wrote: > I'm trying to convince a client to go with web2py vs. with asp/.net. > I'm wondering if anyone could offer some comparisons of th

[web2py:21774] Re: web2py diffusion and long-term support vs django - a professional choice...

2009-05-13 Thread desfrenes
> > I can forward a link to Stew's paper if anyone's interested. I am ! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To u

[web2py:21749] Re: web2py diffusion and long-term support vs django - a professional choice...

2009-05-13 Thread desfrenes
Both Django and Web2Py are in a niche, I mean if your main concern was really long-term support and diffusion you would probably use one of the main php frameworks anyway. As for the choice between Django and Web2py, like others I first tried Django but I found that it's main killer-feature (the

[web2py:21414] Re: jquery, python frameworks and pyjamas

2009-05-07 Thread desfrenes
"Pyjamas provides a python-to-javascript Compiler" well... I tend to stay away from anything that looks like a javascript helper. I you're gonna do some serious web development, you'll have to learn a bit of javascript anyway, or at least one of the major javascript frameworks like jquery. It's n

[web2py:21410] Re: json-rpc

2009-05-07 Thread desfrenes
I sure do: http://www.desfrenes.com/blog/post/python-web2py-et-services-en-json-rpc On May 7, 10:03 pm, mdipierro wrote: > tell everybody. ;-) > > On May 7, 2:50 pm, desfrenes wrote: > > > ah! I should have read the docs better... > > > Thank you, it works like a

[web2py:21404] Re: json-rpc

2009-05-07 Thread desfrenes
request > message generated by the client. > > Massimo > > On May 7, 10:03 am, desfrenes wrote: > > > Thank you. > > > callinghttp://127.0.0.1:8000/app/default/call/xml/rpctestdoes > > display an xml response (I added both @service.xml and @service.json), &g

[web2py:21380] Re: json-rpc

2009-05-07 Thread desfrenes
ay 7, 3:23 pm, mdipierro wrote: > Yes > > http://www.web2py.com/examples/default/tools#services > > Massimo > > On May 7, 2:43 am, desfrenes wrote: > > > Hello, > > > I saw the xml-rpc support for web2py via response.xmlrpc() but is > > there any json-rpc

[web2py:21358] json-rpc

2009-05-07 Thread desfrenes
Hello, I saw the xml-rpc support for web2py via response.xmlrpc() but is there any json-rpc 1.0 support (response.jsonrpc())? I already made a client module, and use it successfully with web services (see here: http://www.desfrenes.com/python-json-rpc), what would it take to add json-rpc 1.0 sup

[web2py:21246] Re: Open to suggestions

2009-05-05 Thread desfrenes
60 fields ! I can't even remember a web app with only half of this. Sure the data is normalized enough ? Maybe you can think of a multiple page form. On 5 mai, 19:02, JohnMc wrote: > Working on another application. One table in the DAL will have about > 60 Fields in it. Using one long form would

[web2py:20825] Re: formify ?

2009-04-29 Thread desfrenes
sort of a form elements decorator... this has already been discussed here, I'm sure Massimo wouldn't mind to include a nice solution to this issue if someone has it. I too think there should be a way to customize form markup. It has already been suggested that form can be used for validation and i

[web2py:20743] Re: possible T bug

2009-04-28 Thread desfrenes
Using this alternative works: response.flash = str(T('Song uploaded: %s - %s [%s]')) % (str(audio ["artist"][0]),str(audio["title"][0]),str(audio["album"][0])) but T([...], dict([...])) doesn't. On Apr 28, 5:28 pm, desfrenes wrote: > Googl

[web2py:20738] Re: possible T bug

2009-04-28 Thread desfrenes
pr 28, 5:02 pm, mdipierro wrote: > How are you editing the translation strings? Ra eyou doing it via the > interface? If not mind that translations must be UTF8. > > On Apr 28, 9:32 am, desfrenes wrote: > > > Hi, > > > I'm running trunk version and I get this tr

[web2py:20737] Re: possible T bug

2009-04-28 Thread desfrenes
if needed, complete fr-fr.py for the app: http://pastebin.com/m49204761 On Apr 28, 5:02 pm, mdipierro wrote: > How are you editing the translation strings? Ra eyou doing it via the > interface? If not mind that translations must be UTF8. > > On Apr 28, 9:32 am, desfrenes wro

[web2py:20735] Re: possible T bug

2009-04-28 Thread desfrenes
> interface? If not mind that translations must be UTF8. > > On Apr 28, 9:32 am, desfrenes wrote: > > > Hi, > > > I'm running trunk version and I get this trace when adding accentued > > (é) caracters in a translation string: > > > Traceback (most

[web2py:20729] possible T bug

2009-04-28 Thread desfrenes
Hi, I'm running trunk version and I get this trace when adding accentued (é) caracters in a translation string: Traceback (most recent call last): File "C:\Documents and Settings\m_desfresnes\Mes documents\web2py-svn \gluon\restricted.py", line 102, in restricted exec ccode in environment

[web2py:20728] Re: Css framework

2009-04-28 Thread desfrenes
So far I'm using blueprint for my layouts. It's as easy as dropping blueprint files in application/static and then call the css: On Apr 28, 4:17 pm, Angelo Compagnucci wrote: > Hi Massimo and Hi list, > I've a question about css frameworks. Is there planned support for framework > like YAML or

[web2py:20723] Re: modules directory in sys.path

2009-04-28 Thread desfrenes
unset" the sys.path after an app request had been served, therefore > no pollution. But I gave up eventually because I thought that could > not be multi thread safe. > > Take your own risk. > > On Apr28, 7:10pm, desfrenes wrote: > > > I see... but I don't think t

[web2py:20711] Re: modules directory in sys.path

2009-04-28 Thread desfrenes
opic > like this. Don't know whether that helper is finally accepted. Massimo > might have something to > say.http://groups.google.com/group/web2py/browse_frm/thread/f9e117f081cfa... > > On Apr28, 4:09pm, desfrenes wrote: > > > Hello ! > > > Because I needed m

[web2py:20707] modules directory in sys.path

2009-04-28 Thread desfrenes
Hello ! Because I needed mutagen in a project, I added this to the __init__.py of my application: import sys, os # add modules dir to sys.path sys.path.append( os.path.abspath(request.folder + 'modules/')) It works like a charm but why isn't "modules" already in sys.path since its purpose is to

[web2py:20394] Re: TG/web2py comparison

2009-04-23 Thread desfrenes
that said, I wouldn't like to work with a template engine like TG's kid. Yet another template syntax to learn and ... no, thanks. To me, one of web2py's strenght that was not obvious before I try it is the fact that it uses Python for templates: easy and powerful. On Apr 24, 1:3

[web2py:20392] Re: TG/web2py comparison

2009-04-23 Thread desfrenes
lol... there's potential for a list-to-list flame war. On Apr 23, 9:13 pm, Tim Michelsen wrote: > Please see here: > > TG/web2py comparison > -http://groups.google.com/group/turbogears/t/f3d6f7bc11cd3ae8 --~--~-~--~~~---~--~~ You received this message because you

[web2py:20363] Re: templating a non-html file (in view)

2009-04-23 Thread desfrenes
Because web2py templates can be used for any text format, they probably shouldn't have .html extension, but it allows to edit templates in any regular html wysiwyg editors. On 23 avr, 15:34, Timmie wrote: > > You probably should not change the file extension, changing the > > headers is suffici

[web2py:20340] Re: templating a non-html file (in view)

2009-04-23 Thread desfrenes
You probably should not change the file extension, changing the headers is sufficient to have your file served as xml On Apr 23, 10:28 am, Timmie wrote: > > applications/yourapp/controllers/default.py > > > and add an action > > > def kml(): > >      placemarks=db(...).select() ## fill the .

[web2py:20264] Re: default values for request.vars

2009-04-22 Thread desfrenes
x27;) > > or, which I like better > >     myvalue=request.vars.offset or 'somedefaultvalue' > > On 22 Apr, 02:32, desfrenes wrote: > > > ok! Being influenced by other frameworks I was expecting something > > like this: > > > myvalue = request.vars.off

[web2py:20233] Re: default values for request.vars

2009-04-22 Thread desfrenes
7;, 'some default value');). But I understand the gain is not worth the pain since the python "if" statement is explicit and already pretty short. On Apr 21, 10:58 pm, mdipierro wrote: > This is elegant. > > On 21 Apr, 14:57, desfrenes wrote: > > > Hi ! > >

[web2py:20206] default values for request.vars

2009-04-21 Thread desfrenes
Hi ! I was looking for a way to set default values to request.vars. I use this: if request.vars.offset == None: request.vars.offset = 0 But maybe there is a more elegant solution ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[web2py:19987] Re: Feature request: password strength integration...

2009-04-18 Thread desfrenes
should be easy to achieve client-side with this: http://phiras.wordpress.com/2007/04/08/password-strength-meter-a-jquery-plugin/ On 18 avr, 17:49, Jason Brower wrote: > it would be nice to have the password weakness meter or something like > that that.  For example something that adds a class or

[web2py:19965] Re: pyForum Release Candidate 1 ready

2009-04-18 Thread desfrenes
awesome ! On 18 avr, 09:20, Speedbird wrote: > Ok folks, here it goes: > > pyForum RC1 is out, pyForum is a web2py, 100% python-based message > board system released under the Open Source license, the code is > basically ready for "heavy" usage. > > The "official" release:http://www.pyforum.org/

[web2py:19926] Re: web2py programmers needed! jobs and work

2009-04-16 Thread desfrenes
Makes me think this community may soon need a "web2py people" site, like http://djangopeople.net/ :-) On Apr 17, 3:10 am, morningovermidnight wrote: > I've been using web2py for some time now and it is an amazing web > platform. I have more customers that want websites from me than I am > able t

[web2py:19875] Re: How do I add a class to an input button?

2009-04-16 Thread desfrenes
2py/browse_thread/thread/d09a74... > > Massimo > > On Apr 16, 7:03 am, desfrenes wrote: > > > AFAIK, SQLForm is tied to a given markup since the form generation > > involves html helpers (TR(), LABEL(), INPUT(), etc), as seen in gluon/ > > sqlhtml.py, line 412

[web2py:19873] Re: db.Field or SQLField??

2009-04-16 Thread desfrenes
ys refer to the correct one and avoids the ambiguity. > > I would suggest always using db.Field but this is not a big deal. > > Massimo > > On Apr 16, 5:12 am, desfrenes wrote: > > > I'm not sure to understand what that means... you mean SQLField should >

[web2py:19866] Re: How do I add a class to an input button?

2009-04-16 Thread desfrenes
AFAIK, SQLForm is tied to a given markup since the form generation involves html helpers (TR(), LABEL(), INPUT(), etc), as seen in gluon/ sqlhtml.py, line 412, and you cannot change it unless you fork SQLFORM () (or FORM() ? ). Other forms libraries in other frameworks and languages (see Zend_For

[web2py:19861] Re: db.Field or SQLField??

2009-04-16 Thread desfrenes
I'm not sure to understand what that means... you mean SQLField should be used in relational databases and Field in non-relational databases ? On Apr 16, 6:54 am, mdipierro wrote: > db.Field() because it avoid conflicts when running on Google App > Engine. > > On Apr 15, 10:37 pm, Italo Maia wr

[web2py:19646] Re: french translation breaking datetime field widget in SQLForm

2009-04-12 Thread desfrenes
Thank you ! On Apr 13, 6:30 am, mdipierro wrote: > fixed in trunk > > On Apr 12, 4:00 pm, desfrenes wrote: > > > Hi! > > > The translation string used in fr-fr for the datetime (%d-%m-%Y- %H:%M: > > %S) breaks the compatibility with the calendar widget (becau

[web2py:19620] french translation breaking datetime field widget in SQLForm

2009-04-12 Thread desfrenes
Hi! The translation string used in fr-fr for the datetime (%d-%m-%Y- %H:%M: %S) breaks the compatibility with the calendar widget (because db wants %Y-%m-%d %H:%M:%S). The translated string should probably not be used with SQLForm. Of course it's trivial to change in the admin but since it's the

[web2py:19525] Re: sorry

2009-04-09 Thread desfrenes
anythong to do with the markup issue ? On 9 avr, 16:53, mdipierro wrote: > One of the recent patches broke SQLFORM in update mode.  am not at > home so I reverted back to 1.59. Tonight I will get this fixed. Do not > user 1.60 or 1.60.1 > > I apologize. > > Massimo --~--~-~--~~--

[web2py:19444] Re: running the development version and versioning

2009-04-08 Thread desfrenes
maybe you should just export the version. Or use externals. On Apr 8, 10:21 am, Timmie wrote: > Hello, > I need some advice on using the development version that I checked out > from Launchpad. > > My own applications would be developed in a subdirectory web2py/ > applications. > Off cource, I d

[web2py:19411] Re: The official Web2py Book by Massimo....for free?

2009-04-07 Thread desfrenes
and another one: http://www.jjude.com/2009/04/07/why-i-chose-web2py-for-developing-yatsy/ On 6 avr, 22:16, desfrenes wrote: > On 6 avr, 22:01, g-man wrote: > > > Where are all the web2py blogs and articles, people? > > here's > one:http://www.desfrenes.com/blog/post

[web2py:19317] Re: Invalid Markup

2009-04-06 Thread desfrenes
yes, it's fine now :-) On 6 avr, 22:49, mdipierro wrote: > I just posted this in trunk. Please check. Thanks! > > Massimo > > On Apr 6, 3:28 pm, desfrenes wrote: > > > Massimo, this one works best (in html.py): > > >     def hidden_fields(se

[web2py:19316] Re: The official Web2py Book by Massimo....for free?

2009-04-06 Thread desfrenes
anslate.google.com/translate?prev=_t&hl=en&ie=UTF-8&u=http%3... > > Comment:http://www.fortunecity.com/lavendar/sidjames/210/xcllnt.wav > > Massimo > > On Apr 6, 3:16 pm, desfrenes wrote: > > > On 6 avr, 22:01, g-man wrote: > > > > Where are

[web2py:19311] Re: what a week!

2009-04-06 Thread desfrenes
pycon effect ! :-) On 6 avr, 22:42, mdipierro wrote: > web2py.com distinct visitors per day (tracked by IP). > > 30/Mar/2009 803 Mon > 31/Mar/2009 929 Tue > 01/Apr/2009 949 Wed > 02/Apr/2009 813 Thu > 03/Apr/2009 701 Fri > 04/Apr/2009 585 Sat > 05/Apr/2009 605 Sun > 06/Apr/2009 1265 Today...at 3

[web2py:19308] Re: Invalid Markup

2009-04-06 Thread desfrenes
.formname: c.append(INPUT(_type='hidden', _name='_formname', _value=self.formname)) return TAG.div(c) ### <- just a div :-) On 6 avr, 20:38, desfrenes wrote: > Yes Massimo, that fixes the markup but also introduces borders in > forms which is proba

[web2py:19306] Re: The official Web2py Book by Massimo....for free?

2009-04-06 Thread desfrenes
On 6 avr, 22:01, g-man wrote: > Where are all the web2py blogs and articles, people? here's one: http://www.desfrenes.com/blog/post/quel-framework-web-python-choisir :-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

[web2py:19297] Re: Coooooool!

2009-04-06 Thread desfrenes
to specify what div the > > response is loaded in and also the option to load different parts of > > the response in different divs. > > > On Apr 6, 1:42 pm, desfrenes wrote: > > > > ok, I understand. > > > > On 6 avr, 18:17, mdipierro wrote: > > > >

[web2py:19289] Re: Coooooool!

2009-04-06 Thread desfrenes
nt > triggering an aciton in a different component (like "load" or "flash" > or "slideToggle") but I am not ok with a component editing the content > of another component (something that taconite is for). I believe the > latter approach become un-manageble

[web2py:19288] Re: Invalid Markup

2009-04-06 Thread desfrenes
t I did not try to > revalidate. > > Massimo > > On Apr 6, 9:34 am, DenesL wrote: > > > On Apr 5, 9:09 pm, desfrenes wrote:>Hi, > > > First of all, good catches!.> Is it possible to make the default markup for > > SQLFORMs w3c valid ? > > +1 >

[web2py:19245] Re: Invalid Markup

2009-04-06 Thread desfrenes
This particular page will give a detailed explanation of the problems: http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.desfrenes.com%2Fbadweb2pymarkup On Apr 6, 10:23 am, desfrenes wrote: > See down this page for a valid markup form > example:http://www.desfrenes.com

[web2py:19239] Re: Coooooool!

2009-04-06 Thread desfrenes
Hi, It's nice but how about using existing plugins for the ajax stuff ? jquery.taconite.js and jquery.form.js are great (see page test here: http://www.desfrenes.com/playground/carnet_adresse/ ) Taconite plugin: http://malsup.com/jquery/taconite/ Regards, Mickaël. On Apr 6, 8:09 am, mdipierro

[web2py:19237] Re: Invalid Markup

2009-04-06 Thread desfrenes
to hand-writing forms in the view. Regards, Mickaël. ps: this firefox extension is a must: http://users.skynet.be/mgueury/mozilla/ . It allows for easy markup validation. On Apr 6, 6:53 am, mdipierro wrote: > This may break backward compatibility. Anyway, send me an example of > how you t

[web2py:19201] Invalid Markup

2009-04-05 Thread desfrenes
Hi, Is it possible to make the default markup for SQLFORMs w3c valid ? Right now there are hidden inputs (I suppose they're here for anti- CSRF) which are not in block elements. This problem can be addressed easily by using a fieldset. And also textareas have a "type" attribute which is not val

[web2py:18501] balancing

2009-03-23 Thread desfrenes
hi web2py people, I'm still balancing between Django and Web2py, althought I think I start to like web2py more and more because it really eases the process of writing an app. I tried to expose my views in my blog, if any french-spoken is interested: http://www.desfrenes.com/blog/post/quel-framew

[web2py:18340] Re: Domain logic

2009-03-18 Thread desfrenes
ok... so basically I can create classes that will use the DAL instead ? Can I still define these classes in db.py ? On 19 mar, 07:36, mdipierro wrote: > You cannot because web2py has DAL not an ORM. This means records are > not objects, they are dictionaries. > > You can define functions > > def

[web2py:16438] Migration with sqlite

2009-02-17 Thread desfrenes
Hello, I'm interested in web2py because it blends many interesting features, especially the automatic migration. How does it handle those migrations with sqlite since sqlite has limited alter table support ? see you. --~--~-~--~~~---~--~~ You received this messag