2009-3-10
| 14:46 | saltmind | Does anyone have some nice patterns for caching contrib.comments? |
| 14:47 | saltmind | or threadedcomments |
| 14:47 | saltmind | all those select_related() on the user foreignkey is destroying me. |
| 15:02 | yml | jezdez: good afternoon |
| 15:02 | yml | are you around by any chance ? |
| 15:02 | jezdez | hi :) |
| 15:02 | jezdez | yep |
| 15:02 | yml | great can I bother you 1 min about ajax foreign key ? |
| 15:03 | yml | I think I remember me reading something from you about this |
| 15:03 | yml | |
| 15:03 | yml | I just found the link above yesterday |
| 15:03 | jezdez | oh, interesting |
| 15:03 | yml | and I am playing with it |
| 15:03 | jezdez | didn't know that exists |
| 15:03 | yml | it looks promising and it seems to be working well |
| 15:04 | yml | atleast on the test I have done so far |
| 15:04 | jezdez | wow, that's a lot of code |
| 15:05 | yml | so I was willing to see if you have published a solution for this somewhere or if I am just wrong |
| 15:05 | yml | jezdez: it is a bit of a pain to setup in admin since you have to overwrite the form |
| 15:05 | jezdez | yah, the foreignkey widget is in django_extensions |
| 15:06 | jezdez | the m2m version is not finished yet |
| 15:06 | jezdez | |
| 15:07 | jezdez | it also works only in the admin currently, I need to refactor the search methods to be outside the admin class |
| 15:07 | yml | jezdez: thanks for the link |
| 15:08 | jezdez | robhudson did some work on the m2m widget, in case you are interested |
| 15:08 | jezdez | |
| 15:08 | jezdez | in the m2m-autocompletion branch |
| 15:08 | yml | I am going to evluate this and see how it compare with ajax_filtered_fields |
| 15:08 | jezdez | cool |
| 15:08 | yml | jezdez: for now I need a solution for foreignkey |
| 15:08 | jezdez | ok |
| 15:09 | jezdez | it looks like that: http://www.flickr.com/photos/jannis/3246408003/ |
| 15:09 | yml | so this is not really an issue thanks for your help |
| 15:09 | jezdez | no problem, I'll happily apply patches if you think it's b0rked |
| 15:10 | yml | jezdez: the video is amazing |
| 15:10 | yml | I like it I want it |
| 15:10 | jezdez | :) |
| 15:11 | yml | I am going to add it to my Article and see how it works for me |
| 15:11 | jezdez | cool |
| 15:12 | yml | jezdez: quick not aside it seems that finally we might get a plugable multilingual app |
| 15:12 | yml | that can add this feature to any django app |
| 15:13 | yml | that would be such a great progress |
| 15:13 | jezdez | indeed, I'm very looking forward to that |
| 15:13 | jezdez | although the technical difficulties |
| 15:13 | yml | I am doing some lobbying on the mailling list :-) |
| 15:14 | jezdez | very good :) I think you made a good point |
| 15:14 | jezdez | ignoring all the Django apps would be stupid |
| 15:15 | jezdez | and inline translation classes tend to prevent easy usage |
| 15:15 | yml | yes |
| 15:15 | yml | you end up in the multilingual guetto |
| 15:16 | yml | and this is not good I am right now working on building a cms |
| 15:16 | yml | which is composed of more than 50 apps |
| 15:16 | jezdez | oh, wow |
| 15:16 | jezdez | that is much :) |
| 15:16 | yml | and half of them are external |
| 15:17 | jezdez | cool |
| 15:17 | yml | so I would like to add one and get the 50 previous one automagicaly multilingual |