[TurboGears] Re: generator/generator expression, how useful it is ?

2005-10-16 Thread Leandro Lucarella
the generator =) Have fun! -- LUCA - Leandro Lucarella - JID: luca(en)lugmen.org.ar - Debian GNU/Linux ., \ GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

[TurboGears] Re: relational tables in SQLObject

2005-10-17 Thread Leandro Lucarella
BaseSQLObject and just write: object = MySQLObject.by(lastname='Toto', surname='Pepe', age=25) -- LUCA - Leandro Lucarella - JID: luca(en)lugmen.org.ar - Debian GNU/Linux ., \ GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145 104C

[TurboGears] JSON Output for SQLObjects.

2005-10-25 Thread Leandro Lucarella
format (and still having a nice pythonic SelectResult of SQLObjects to use in the template with no loose of functionality). -- LUCA - Leandro Lucarella - JID: luca(en)lugmen.org.ar - Debian GNU/Linux ., \ GPG: 5F5A8D05

[TurboGears] Re: JSON Output for SQLObjects.

2005-10-26 Thread Leandro Lucarella
Jeff Watkins, el miércoles 26 de octubre a las 12:59 me escribiste: Leandro Lucarella wrote: That would be great, this way you don't have to make a method for exposing JSON and another for exposing a template (I think one of the most amazing things about TG is this abstraction). Just

[TurboGears] Re: Problems with Inheritence

2005-10-27 Thread Leandro Lucarella
# additional package specific stuff Reference: http://www.sqlobject.org/Inheritance.html -- LUCA - Leandro Lucarella - JID: luca(en)lugmen.org.ar - Debian GNU/Linux ., \ GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A

[TurboGears] Re: python 2.3

2005-10-27 Thread Leandro Lucarella
). -- LUCA - Leandro Lucarella - JID: luca(en)lugmen.org.ar - Debian GNU/Linux ., \ GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

[TurboGears] Re: Turbogears versus Ruby on Rails, information request.

2005-10-27 Thread Leandro Lucarella
to cdbs[1], it really takes just a few lines to make a debian package out of a distutil python package. The problem is TG uses setuptools, so I guess some work has to be done to easyly make debian packages out of it. [1] https://wiki.duckcorp.org/DebianPackagingTutorial/CDBS -- LUCA - Leandro

[TurboGears] Re: Get SQLObject attributes as dictionary?

2005-10-31 Thread Leandro Lucarella
() It's in SQLObject SVN repo, but it's: p.sqlmeta.asDict() -- LUCA - Leandro Lucarella - JID: luca(en)lugmen.org.ar - Debian GNU/Linux ., \ GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

[TurboGears] Re: why does TG use SQLObject?

2005-10-31 Thread Leandro Lucarella
(AFAIK) for stats and reports. -- LUCA - Leandro Lucarella - JID: luca(en)lugmen.org.ar - Debian GNU/Linux ., \ GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

[TurboGears] Re: TurboTunes: new tutorial/screencast

2005-11-07 Thread Leandro Lucarella
. There will be more prominent links, but I just wanted some confirmation that it was functional. Working great in mplayer! -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ., \ GPG: 5F5A8D05 // F8CD F9A7

[TurboGears] Re: Paged result set with TG?

2005-11-10 Thread Leandro Lucarella
couldn't, but since the subject came in the TG mailing list, I will publish it anyways, maybe someone with the time can merge it with Paginator or something to get it more usable... More: http://turbogears.blogspot.com/2005/11/simple-pager-decorator.html -- Leandro Lucarella (luca) | Blog colectivo

[TurboGears] Re: Paged result set with TG?

2005-11-11 Thread Leandro Lucarella
implicit names, but I still think is easier for the user to specify just 1 meaningfull name than 2 weird request variable names. -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ., \ GPG

[TurboGears] Re: Self referencing class with SQLObject in TG

2005-11-14 Thread Leandro Lucarella
) -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ., \ GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

[TurboGears] About LocalizedSubmitButton.

2005-11-15 Thread Leandro Lucarella
the framework) in 'regular' classes and i18n-aware classes. The only case where I see this useful is to avoid the dependency with gettext for people who doesn't need it, but Im not sure if it worth it. Just my 2 cents... -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar

[TurboGears] Re: Lazy updates?

2005-11-15 Thread Leandro Lucarella
explicitly say when you want to update: .sync() .syncUpdate() Al least if the documentation is not outdated: http://www.sqlobject.org/SQLObject.html#lazy-updates -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog

[TurboGears] Re: Adding transactions to @expose

2005-11-15 Thread Leandro Lucarella
no-exposed event wrapped in a transaction an vice versa. So you can have: @expose(template='something') @transaction def list(): # ... or @transaction def save(something): # ... Better name accepted =) -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar

[TurboGears] Re: Specifying an or for group access with turbogears.identity

2005-11-23 Thread Leandro Lucarella
of feature would be requested often, so it would be great if we can came up with a nice solution =) [1] http://groups.google.com/group/turbogears/browse_frm/thread/6f6912fa975f09b7/87550d45ab22ecd1 -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog

[TurboGears] Re: Our trac has been spammed

2005-12-02 Thread Leandro Lucarella
captchas. I didn't take a deep look at it but I guess the play with CSS to do the trick. Anyway, the point is that, unless Google people lies ;), there's a way to let visually impaired people to pass through a captcha. -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog

[TurboGears] Re: Changes to i18n package

2005-12-09 Thread Leandro Lucarella
on their site yet.) I confirm ¿Es usted listo engranar para arriba? is a _really_ poor translation, almost as senseless as Are you ready to Gear Up? for a spanish speaker... -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog

[TurboGears] Re: Changes to i18n package

2005-12-09 Thread Leandro Lucarella
Jared Kuolt, el viernes 9 de diciembre a las 09:14 me escribiste: In the meantime, ¿Es usted listo engranar para arriba? Literal translation back to english: Are you ready to gear for above? It's worst, it means: Are you smart gear for above? -- Leandro Lucarella (luca) | Blog

[TurboGears] Re: Comparison operators in a Kid template

2005-12-13 Thread Leandro Lucarella
-- ge -- = (the last 2 are not really needed, of course) This is not good either, is some kind of workarround in the middle of the other 2. Maybe we just have to live with Boole's algebra: div py:if=${!(ulevel 0)} =) -- Leandro Lucarella (luca) | Blog colectivo: http

[TurboGears] Re: 4 new widgets; attrs now supported

2005-12-19 Thread Leandro Lucarella
select because of that (they look like different widgets to me, despite they use the same HTML tags). But I thought this is a view issue and can be handled using CSS, but maybe I'm wrong (I don't know very much about CSS). -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar

[TurboGears] Re: 4 new widgets; attrs now supported

2005-12-20 Thread Leandro Lucarella
=selectField.render(style='list') div py:replace=multipleSelectField.render(style='checkboxes') div py:replace=multipleSelectField.render(style='list') (maybe the kid templates is wrong, I didn't have the time yet to play with kid, but I think you'll get the idea =) -- Leandro Lucarella (luca

[TurboGears] Re: PATCH - HTML email from TG

2005-12-20 Thread Leandro Lucarella
/browse_frm/thread/cbefbf3ff7b01784/ -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ., \ GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

[TurboGears] Re: copying a SQLObject.

2005-12-21 Thread Leandro Lucarella
easier, like: class Opportunity(SQLObject): def __copy__(self): return Opportunity(dict([(k, getattr(self, k)) for k in self.sqlmeta.columns])) Maybe SQLObject must provide this methods? -- Leandro Lucarella (luca) | Blog colectivo: http

[TurboGears] Re: [0.9] widget suggestion for sample

2005-12-21 Thread Leandro Lucarella
for a 'console' where you can easily write a sample yourself to see how the widget works... -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ., \ GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145 104C 949E

[TurboGears] Re: New devcasts: forms and crud/fastdata

2005-12-22 Thread Leandro Lucarella
(widget_order=('pageName', 'data')) in the template and get it ordered. And this way you get the view, model and controller well separated (I don't really care how the widgets are orderen in the form, that's the user interface designer problem ;) Just a wild idea... -- Leandro Lucarella (luca) | Blog

[TurboGears] Re: New devcasts: forms and crud/fastdata

2005-12-23 Thread Leandro Lucarella
, it gives the UI designer more flexibility). So I will open a ticket with this patch and continue the discussion about the reuse thing latter because I have some ideas I'd like to clear in my mind (maybe implementing them would help ;) before I talk about them here. -- Leandro Lucarella (luca

[TurboGears] Reordering/selecting the fields of a form to show in the view [was: New devcasts: forms and crud/fastdata]

2005-12-23 Thread Leandro Lucarella
Kevin Dangoor, el viernes 23 de diciembre a las 15:18 me escribiste: On 12/23/05, Leandro Lucarella [EMAIL PROTECTED] wrote: This seems too painful, because you may end up repeating that information on multiple templates. About this, this is just an option, which makes much more clear

[TurboGears] Re: simple_json now in use

2005-12-24 Thread Leandro Lucarella
-- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ., \ GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

[TurboGears] Re: Equivalent of model.class.form_order for turbogears.fastdata.DataController while presenting data

2005-12-26 Thread Leandro Lucarella
, zip code, and all other data shown. The the patch in #259 is for you! Just put ${form.insert(obj, fields=['name', 'phone'])} in your form_template (if patch is accepted ;) Something similar can be done with DataGrid widget. -- Leandro Lucarella (luca) | Blog colectivo: http

[TurboGears] Re: Reordering/selecting the fields of a form to show in the view [was: New devcasts: forms and crud/fastdata]

2005-12-26 Thread Leandro Lucarella
Leandro Lucarella, el viernes 23 de diciembre a las 18:54 me escribiste: I dropped the DataController modification to add ordering because this solution is more general and I think it covers it. Here's the ticket/patch: http://trac.turbogears.org/turbogears/ticket/259 I've added

[TurboGears] Re: Equivalent of model.class.form_order for turbogears.fastdata.DataController while presenting data

2005-12-26 Thread Leandro Lucarella
Jorge Godoy, el lunes 26 de diciembre a las 21:30 me escribiste: Leandro Lucarella [EMAIL PROTECTED] writes: The the patch in #259 is for you! Just put ${form.insert(obj, fields=['name', 'phone'])} in your form_template (if patch is accepted ;) Something similar can be done

[TurboGears] Re: Reordering/selecting the fields of a form to show in the view [was: New devcasts: forms and crud/fastdata]

2005-12-27 Thread Leandro Lucarella
Kevin Dangoor, el martes 27 de diciembre a las 08:49 me escribiste: On 12/26/05, Leandro Lucarella [EMAIL PROTECTED] wrote: I have updated #259. This are the changes: * Updated to revision [381] (was conflicting with [371] which introduces AjaxDataController) * Merged with the patch

[TurboGears] Re: Equivalent of model.class.form_order for turbogears.fastdata.DataController while presenting data

2005-12-27 Thread Leandro Lucarella
/ticket/278 -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ., \ GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

[TurboGears] Re: Equivalent of model.class.form_order for turbogears.fastdata.DataController while presenting data

2005-12-27 Thread Leandro Lucarella
and/or resume_order in the model, as long as it's used as the lazy-man-defaults and can be overriden by the controller and view. -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ., \ GPG: 5F5A8D05 // F8CD

[TurboGears] Re: Reordering/selecting the fields of a form to show in the view [was: New devcasts: forms and crud/fastdata]

2005-12-27 Thread Leandro Lucarella
Kevin Dangoor, el martes 27 de diciembre a las 13:03 me escribiste: On 12/27/05, Leandro Lucarella [EMAIL PROTECTED] wrote: Great! Please take a look at #278 which completes this patch with the needs in #268... http://trac.turbogears.org/turbogears/ticket/278 The patch seems

[TurboGears] Re: Identity now supports richer requirements checking

2005-12-27 Thread Leandro Lucarella
Jeff Watkins, el martes 27 de diciembre a las 23:10 me escribiste: As always, feedback is greatly appreciated. Did I leave out something? Did I screw something up? Let me know. I just have to say: great work! Thank you! -- Leandro Lucarella (luca) | Blog colectivo: http

[TurboGears] Re: widgets by default should not be wrapped in a div

2005-12-28 Thread Leandro Lucarella
Karl Guertin, el mi�rcoles 28 de diciembre a las 00:09 me escribiste: I'm also annoyed that the labels all have 'for=widget' rather than the correct widget name. This one is clearly a bug, did you opened a ticket? -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog

[TurboGears] Re: widgets by default should not be wrapped in a div

2005-12-28 Thread Leandro Lucarella
Michele Cella, el mi�rcoles 28 de diciembre a las 14:47 me escribiste: Leandro Lucarella wrote: Karl Guertin, el mi?rcoles 28 de diciembre a las 00:09 me escribiste: I'm also annoyed that the labels all have 'for=widget' rather than the correct widget name. This one is clearly

[TurboGears] Re: Negative feedback

2005-12-28 Thread Leandro Lucarella
of documentation and API changes... General public can use it, but you better have an eye on the mailing list (or at least the planet) to see what's happening and what thing you should stop using and what things to expect in the future. -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar

[TurboGears] Re: Negative feedback

2005-12-28 Thread Leandro Lucarella
-- a classic problem. Reporting problems is a great way to help! -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ., \ GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

[TurboGears] Re: Combine TG and Subway?

2005-12-29 Thread Leandro Lucarella
is desired. Odd as it may seem, apparently the HTML 4.0 standard recommends upper case tags. IIRC, that's what Ryan had told me was the reason for the uppercasing of tags. It's a way to easily distinguish between HTML and XHTML... -- Leandro Lucarella (luca) | Blog colectivo: http

[TurboGears] Re: Counting in SQLObject

2005-12-29 Thread Leandro Lucarella
(for performance and clearness). This way all you have to do is: 1) Product.views += 1 # on each view 2) top5 = Product.select(orderBy=Product.q.views)[:5] top5 = top5.reversed() # for getting the top 5 viewed products Just my 2 cents... -- Leandro Lucarella (luca) | Blog colectivo: http

[TurboGears] Re: Counting in SQLObject

2005-12-29 Thread Leandro Lucarella
, I *could* have stashed this information in the Product record, but then I'd be unable to report on the trends. Yes, I understand... -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog

[TurboGears] Re: Kid question

2005-12-29 Thread Leandro Lucarella
programmers: table tr py:for=row in xrange(int(math.ceil(len(some_list)/3.0))) td py:for=col in some_list[3*row:3*row+3] /td /tr /table -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog

[TurboGears] Re: Kid templates are a PAIN to debug

2006-01-02 Thread Leandro Lucarella
it is only a matter of time now. To turn on .py generation just have KID_OUTPUT_PY=true in your server's environment. I think it would be really nice to add an option for this and have it activated in the default dev.cfg -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar

[TurboGears] Re: devcasts - DataController

2006-01-05 Thread Leandro Lucarella
(controllers.Controller): user = UserDataController() (untested!) -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ., \ GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

[TurboGears] Re: customization of datacontroller messages and translation

2006-01-05 Thread Leandro Lucarella
_() to be internationalized... On the other hand, maybe some people just want to use a different message, in which case the dictionary stuff can be a good idea. -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog

[TurboGears] Re: Simple calendar

2006-01-06 Thread Leandro Lucarella
...), so I don't believe it will be a problem. BUT... :-) Yo can always ask the author for an alternative license too. -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ., \ GPG: 5F5A8D05 // F8CD

[TurboGears] Re: TurboGears new site look - let's get to it!

2006-01-06 Thread Leandro Lucarella
about 'run' or 'launch'? We can even pick the same words that will be used on the web. So maybe 'build' or 'start' can replace 'quickstart' (I don't like quickstart because is too long). -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog

[TurboGears] Re: IdentityProvider plugins

2006-01-07 Thread Leandro Lucarella
if tomorrow is there a sha2 algorithm and someone use just sha? It could be confusing and is harder to maintain and document and there is no real gain in adding aliases IMHO... -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog

[TurboGears] Re: Visit Tracking Identity (Revision 476)

2006-01-08 Thread Leandro Lucarella
be easier to keep up with your, I'm sure hard, work. Please, stabilize this soon as I'm on the edge of a nervous breakdown... You are using unreleased, ultra-alpha, in-mega-development code, this are the rules =) -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog

[TurboGears] Re: Visit Tracking Identity (Revision 476)

2006-01-08 Thread Leandro Lucarella
Jeff Watkins, el domingo 8 de enero a las 09:34 me escribiste: Finally, I'm thinking of adding a default login controller and templates to the quickstart project. Does anyone have any objections? What about doing it optional? Like tg-admin quickstart --with-identity -- Leandro Lucarella

[TurboGears] Re: VisitorFilter Rant?

2006-01-08 Thread Leandro Lucarella
this on them? Good point. I think TG have to be optimized for most used cases and don't get in the way for special cases. So getting the most used cases all complicated just in case anyone is using a cluster is not wise. Please KIS (I ommited the las S on purpose =) -- Leandro Lucarella (luca) | Blog

[TurboGears] Re: Exception reporting (was Re: Identity crisis)

2006-01-08 Thread Leandro Lucarella
not only the whole exception stack, but also (IIRC) several lines of context, all that with pretty html formatting. S nice. They probably use cgitb[1] from standard python distribution. It could be nice to integrate it to TG too... [1] http://www.python.org/doc/2.4.2/lib/node471.html -- Leandro

[TurboGears] Re: Visit Tracking Identity (Revision 476)

2006-01-08 Thread Leandro Lucarella
it. -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ., \ GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

[TurboGears] Re: VisitorFilter Rant?

2006-01-09 Thread Leandro Lucarella
. -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ., \ GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05 / '' All

[TurboGears] Re: VisitorFilter Rant?

2006-01-09 Thread Leandro Lucarella
extra bugs, extra maintainance, splitting the user base, etc... -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ., \ GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

[TurboGears] Re: VisitorFilter Rant?

2006-01-09 Thread Leandro Lucarella
such a great work is why I don't want him wasting his precious time duplicating the work already done in CP =) -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ., \ GPG: 5F5A8D05 // F8CD

[TurboGears] Re: VisitorFilter Rant?

2006-01-09 Thread Leandro Lucarella
Michele Cella, el lunes 9 de enero a las 16:16 me escribiste: Leandro Lucarella wrote: Michele Cella, el lunes 9 de enero a las 10:12 me escribiste: Agreed. It seems Jeff has pretty good understanding of what he is doing thankfully. And by the way we should be grateful to Jeff

[TurboGears] About sqlite 2.x 'database is locked' error [was: [TurboGears] My experience with vistor filter]

2006-01-09 Thread Leandro Lucarella
something... http://sourceforge.net/tracker/index.php?func=detailaid=1172964group_id=74338atid=540672 -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ., \ GPG: 5F5A8D05 // F8CD F9A7 BF00

[TurboGears] Re: VisitorFilter Rant?

2006-01-09 Thread Leandro Lucarella
Leandro Lucarella, el lunes 9 de enero a las 13:25 me escribiste: And we certainly are! =) Because he is doing such a great work is why I don't want him wasting his precious time duplicating the work already done in CP =) On this you're absolutely right, if something developed

[TurboGears] Re: About sqlite 2.x 'database is locked' error [was: [TurboGears] My experience with vistor filter]

2006-01-10 Thread Leandro Lucarella
Grzegorz Staniak, el martes 10 de enero a las 22:33 me escribiste: 2006/1/9, Leandro Lucarella [EMAIL PROTECTED]: [EMAIL PROTECTED], el lunes 9 de enero a las 07:01 me escribiste: 2. I tried to tell it to use sqlite but got the following error OperationalError: database is locked

[TurboGears] Re: Proposal: TurboGears extensions

2006-01-10 Thread Leandro Lucarella
and Identity framework. This way, if you don't want Identity and Visit Tracking, you don't easy_install them. Thoughts? I think is a great idea, not just to keep the core small, but to promote and make easier to make extensions that have to 'mess' with the core. -- Leandro Lucarella (luca

[TurboGears] TurboGears 0.9 review in spanish.

2006-01-10 Thread Leandro Lucarella
I've posted a review of the upcoming TurboGears 0.9 on my blog (in spanish). Maybe the spanish-speaking public find it interesting: http://www.mazziblog.com.ar/blog/index/archivos/2006/01/11/turbogears -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog

[TurboGears] Re: DataController

2006-01-18 Thread Leandro Lucarella
'actions' to fill the missing fields (and maybe this is exactly what you need). -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ., \ GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A

[TurboGears] Re: Class-style form declaration

2006-01-20 Thread Leandro Lucarella
, that could be a problem. :-) But that's what namespaces (modules) are! You can have turbogears.widgets and widget without any problems! Just use the better name... -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog

[TurboGears] Re: API documentation

2006-01-23 Thread Leandro Lucarella
of the documentation easily. I don't know any utility for python API documentation generation to recomend, but I think it should be a lot nicer to have all the documentation in the python docstrings, just for DRY. -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog

[TurboGears] Re: TG development install

2006-01-25 Thread Leandro Lucarella
to the trunk. That's not exacly the case, a lot of people is submitting patches without svn commit privileges. -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ., \ GPG: 5F5A8D05 // F8CD F9A7 BF00

[TurboGears] Re: TG development install

2006-01-25 Thread Leandro Lucarella
Karl Guertin, el mi�rcoles 25 de enero a las 11:57 me escribiste: On 1/25/06, Leandro Lucarella [EMAIL PROTECTED] wrote: That's not exacly the case, a lot of people is submitting patches without svn commit privileges. That's true, but I'd be surprised if people were doing patches

[TurboGears] Re: HTTP Auth in Identity

2006-01-25 Thread Leandro Lucarella
- for completeness if nothing else. +1 -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ., \ GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

[TurboGears] Re: Bad Kid

2006-01-26 Thread Leandro Lucarella
doesn't like the @ or ? or = or characters. Defenetly , you have to use amp; (or tg.url() function). -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ., \ GPG: 5F5A8D05 // F8CD F9A7 BF00 5431

[TurboGears] Re: Bad Kid

2006-01-26 Thread Leandro Lucarella
[EMAIL PROTECTED], el jueves 26 de enero a las 18:58 me escribiste: Yep, that was it. Makes my code ugly, but it works now. BTW, this is a XML problem, not a Kid one. -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog

[TurboGears] Re: Bad Kid

2006-01-26 Thread Leandro Lucarella
[EMAIL PROTECTED], el jueves 26 de enero a las 19:37 me escribiste: Leandro Lucarella wrote: [EMAIL PROTECTED], el jueves 26 de enero a las 18:58 me escribiste: Yep, that was it. Makes my code ugly, but it works now. BTW, this is a XML problem, not a Kid one. it's HTML 101

[TurboGears] Re: widget style: attrs vs. attributes

2006-02-07 Thread Leandro Lucarella
might be wrong, this is what I recall from my highschool french class =) And about Michelle, ask the beatles if they were gay ;) Anyway, I think Michele (one 'l') Cella is italian (because of the Ciao in his mails), so I don't know, (s)he can be a guy... -- Leandro Lucarella (luca) | Blog

[TurboGears] Re: from turbogears import *

2006-02-13 Thread Leandro Lucarella
functions (expose, validate, etc) come from turbogears, hence the last line. +1 on short aliases (though I don't like the uppercase single letters). -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog

[TurboGears] Re: It would be nice having something like this for TG 1.0... ;-)

2006-02-13 Thread Leandro Lucarella
-on-rails/ruby-on-rails-cheat-sheet/ Having a cheat sheet for TG 1.0 would be great. :-) There was a tiny attemp from Mark Ramm to do something like that: http://compoundthinking.com/blog/index.php/2006/01/26/turbogears-one-page-reference/ It's a start ;) -- Leandro Lucarella (luca) | Blog colectivo

[TurboGears] Re: how to use widget selection dynamically?

2006-02-22 Thread Leandro Lucarella
=prepare_options) Not tested but I think it should work. What about changing the options at display-time? That should work too, right? -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ., \ GPG

[TurboGears] Re: Debian vs Turbogears

2006-07-23 Thread Leandro Lucarella
, in run_command raise OSError(Error executing command %s % cmd) OSError: Error executing command /usr/bin/python2.4 - Is this a Debian issue? -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog

[TurboGears] Re: Debian vs Turbogears

2006-07-23 Thread Leandro Lucarella
Gustavo Noronha Silva, el 23 de julio a las 16:54 me escribiste: Em Sun, 23 Jul 2006 16:06:53 -0300 Leandro Lucarella [EMAIL PROTECTED] escreveu: I've just installed TG from debian repositories and I get this when doing tg-admin quickstart: What package version? You can find out

[TurboGears] Re: Debian vs Turbogears

2006-07-25 Thread Leandro Lucarella
Gustavo Noronha Silva, el 25 de julio a las 07:31 me escribiste: Em Sun, 23 Jul 2006 18:49:54 -0300 Leandro Lucarella [EMAIL PROTECTED] escreveu: Everyone trying to use 0.7.1 beta 1 will have this problem, but since that was the one I packaged for experimental, I worked it around

[TurboGears] Re: Debian vs Turbogears

2006-07-25 Thread Leandro Lucarella
Leandro Lucarella, el 25 de julio a las 12:12 me escribiste: Gustavo Noronha Silva, el 25 de julio a las 07:31 me escribiste: Em Sun, 23 Jul 2006 18:49:54 -0300 Leandro Lucarella [EMAIL PROTECTED] escreveu: Everyone trying to use 0.7.1 beta 1 will have this problem, but since

[TurboGears] Catwalk error on a just quickstarted project.

2006-07-25 Thread Leandro Lucarella
, in _executeRetry return cursor.execute(query) OperationalError: no such table: user_group -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ., \ GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145

[TurboGears] Re: Catwalk error on a just quickstarted project.

2006-07-25 Thread Leandro Lucarella
Leandro Lucarella, el 25 de julio a las 13:13 me escribiste: Hi! I've done a tg-admin quickinstall wiki using identity, I opened the toolbox and add an example user via Catwalk. Then a group, and when I try to add a permission I get an OperationalError: no such table: permission. I've

[TurboGears] Re: Catwalk error on a just quickstarted project.

2006-07-25 Thread Leandro Lucarella
Leandro Lucarella, el 25 de julio a las 13:33 me escribiste: Leandro Lucarella, el 25 de julio a las 13:13 me escribiste: Hi! I've done a tg-admin quickinstall wiki using identity, I opened the toolbox and add an example user via Catwalk. Then a group, and when I try to add a permission

[TurboGears] Re: SQLObject with primary key consists of 2 column

2006-08-04 Thread Leandro Lucarella
/tracker/?func=detailatid=540674aid=1341999group_id=74338 Hope it helps (and hope it get released soon ;) -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ., \ GPG: 5F5A8D05 // F8CD F9A7 BF00 5431

[TurboGears] Re: SQLObject with primary key consists of 2 column

2006-08-06 Thread Leandro Lucarella
Jorge Godoy, el 5 de agosto a las 10:27 me escribiste: Jorge Vargas [EMAIL PROTECTED] writes: On 8/4/06, Leandro Lucarella [EMAIL PROTECTED] wrote: On svn's SQLObject you can do this:     nameIndex = DatabaseIndex(firstName, lastName, unique=True

[TurboGears] Re: SQLObject with primary key consists of 2 column

2006-08-06 Thread Leandro Lucarella
). And yes, I mean trunk with at svn. -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ., \ GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

[TurboGears] Re: @view?

2006-08-07 Thread Leandro Lucarella
=template.mypage) ^ giving that there is a views package like that: views |_ templates/ ^ What about the plural vs singular consistency? (BTW, I don't like plural at all, either in controller, view or model) -- Leandro Lucarella (luca) | Blog colectivo: http

[TurboGears] Plain old stable components vs. future components.

2007-01-08 Thread Leandro Lucarella
components? How much limited are the actual standard components and how hard/easy will be to port and old app to the new components when they become the new standard ones? I hope this is not too much to ask =) Resources on how to use TG with this future components are welcome too. TIA! -- Leandro

[TurboGears] Re: Plain old stable components vs. future components.

2007-01-09 Thread Leandro Lucarella
/support/examples I'm missing something? -- LUCA - Leandro Lucarella - Usando Debian GNU/Linux Sid - GNU Generation E-Mail / JID: [EMAIL PROTECTED] GPG Fingerprint: D9E1 4545 0F4B 7928 E82C 375D 4B02 0FE0 B08B 4FB2 GPG Key

[TurboGears] How much people here use SA and/or Genshi?

2007-01-09 Thread Leandro Lucarella
respones are good enough, and more detailed experience descriptions would be just great. TIA. [1] http://groups.google.com/group/turbogears/browse_thread/thread/2c821b5c7cdf9451/6ed0abaa1db98b20#6ed0abaa1db98b20 -- LUCA - Leandro Lucarella - Usando Debian GNU/Linux Sid - GNU Generation

[TurboGears] Re: Problem with InheritableSQLObject

2007-01-09 Thread Leandro Lucarella
to provide it on the BaseClass only. -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ., \ GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

[TurboGears] Re: I surrender (second edition)

2007-01-12 Thread Leandro Lucarella
advanced users who use advanced MUAs, this can be a viable option. -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ., \ GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

[TurboGears] Re: How do SQLObject .q. queries work?

2007-01-24 Thread Leandro Lucarella
/sqlobject/sqlbuilder.py -- LUCA - Leandro Lucarella - Usando Debian GNU/Linux Sid - GNU Generation E-Mail / JID: [EMAIL PROTECTED] GPG Fingerprint: D9E1 4545 0F4B 7928 E82C 375D 4B02 0FE0 B08B 4FB2 GPG Key: gpg

[TurboGears] Widgets documentation.

2007-01-24 Thread Leandro Lucarella
? That could be a useful first example and might encourage people to use widgets. TIA -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ., \ GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145 104C 949E

[TurboGears] My (bad) experience with SQLAlchemy.

2007-01-24 Thread Leandro Lucarella
day I can use SA in a pleasant way ;) [1] http://groups.google.com/group/turbogears/browse_thread/thread/2c821b5c7cdf9451/# http://groups.google.com/group/turbogears/browse_thread/thread/bee785f39e275177/# -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog

[TurboGears] Re: Widgets documentation.

2007-01-24 Thread Leandro Lucarella
quest to make an identity login form using widgets =/ I can't find a way to tell the form to use a 'name' in the submit button. -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ., \ GPG

[TurboGears] Re: Widgets documentation.

2007-01-25 Thread Leandro Lucarella
Christopher Arndt, el 25 de enero a las 10:47 me escribiste: Leandro Lucarella schrieb: Thanks to both, I could make some progress with those links, but I'm still stucked on my quest to make an identity login form using widgets =/ I can't find a way to tell the form to use a 'name

  1   2   >