Re: mod_python documentation issues

2007-09-15 Thread Graham Dumpleton
On Sep 16, 7:54 am, Collin Grady <[EMAIL PROTECTED]> wrote: > Graham Dumpleton said the following: > > > FWIW, I believe the documentation should just say to always add both > > parent and site. That way it properly mirrors what the development > > server does. Doing that would avoid this whole ar

Re: Call to Arms -- Caching Mechanisms

2007-09-15 Thread David Cramer
We'd also need to factor in a way to pull data from it on ForeignKeys/ etc. For example: I have CachedModel() and a ForeignKey(CachedModel). Now, if an option was enabled, say "cache_all_rows", we'd store all rows in our cache backend, so all .get()'s on pks, and .all() would pull from that. Whe

Re: Call to Arms -- Caching Mechanisms

2007-09-15 Thread David Cramer
That's actually not quite caching. That's just optimizing memory usage. Here's my proposal: * Create a custom ModelBase, CachedModelBase -- this would rely on CACHE_BACKEND to pull get() requests (PK requests) using a similar method as #17s optimization * CachedModelBase overrides save/delete to

Re: #2465 - Make select_related() related work for ForeignKeys with null=True

2007-09-15 Thread Malcolm Tredinnick
On Sun, 2007-09-16 at 00:36 +, Rob Hudson wrote: > http://code.djangoproject.com/ticket/2465 > > I'm running into this and it makes sense to me that select_related > should do this right. I'm curious of Adrian's comment about this > involving a bunch of LEFT JOINs and why that's a bad thing?

#2465 - Make select_related() related work for ForeignKeys with null=True

2007-09-15 Thread Rob Hudson
http://code.djangoproject.com/ticket/2465 I'm running into this and it makes sense to me that select_related should do this right. I'm curious of Adrian's comment about this involving a bunch of LEFT JOINs and why that's a bad thing? Thanks, Rob --~--~-~--~~~---~--

Re: Visual recogintion of Django website

2007-09-15 Thread cjl
Mikkel: You can do it yourself: https://addons.mozilla.org/en-US/firefox/addon/3176 I don't think it works for tabs, but it definitely works for bookmarks. -cjlesh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Visual recogintion of Django website

2007-09-15 Thread Mikkel Høgh
Well, I do that all the time, and I know that there are others like me :) It's a part of my GTD thing. Instead of having my RSS-reader grow to hundreds (even thousands) of unread posts, I go through it all frequently and open everything worth reading in a new tab. If I don't manage to get it read

Re: Visual recogintion of Django website

2007-09-15 Thread Yuri Baburov
2007/9/16, Collin Grady <[EMAIL PROTECTED]>: > > Mikkel Høgh said the following: > > To illustrate my point, take a look at this image, a screenshot of a > > very normal Firefox tab bar of mine: > > http://mikkel.hoegh.org/galleries/odd_stuff/i_3_favicons?size=_original > > It's much easier for me

Re: Visual recogintion of Django website

2007-09-15 Thread Collin Grady
Mikkel Høgh said the following: > To illustrate my point, take a look at this image, a screenshot of a > very normal Firefox tab bar of mine: > http://mikkel.hoegh.org/galleries/odd_stuff/i_3_favicons?size=_original > It's much easier for me to find what I need by help of favicons - and > yes, mos

Re: mod_python documentation issues

2007-09-15 Thread Collin Grady
Graham Dumpleton said the following: > FWIW, I believe the documentation should just say to always add both > parent and site. That way it properly mirrors what the development > server does. Doing that would avoid this whole argument as things > would just work like they did with the development

Visual recogintion of Django website

2007-09-15 Thread Mikkel Høgh
I'm new to Django (recently converted from TurboGears), and the first real flaw I've managed to find in my use of Django is actually a rather insignificant one. I'm talking about the lack of a favicon on Django's websites (apart from Django's trac instance, which uses the trac favicon.) Before f

Re: Call to Arms -- Caching Mechanisms

2007-09-15 Thread Philippe Raoult
I'm too wasted to write a coherent answer, but I'd like to point out that http://code.djangoproject.com/ticket/17 has a patch for caching that has been refactored during the sprint. Regards, Philippe --~--~-~--~~~---~--~~ You received this message because you are

Re: Migrating to new-admin...

2007-09-15 Thread Joseph Kocherhans
On 9/15/07, jdetaeye <[EMAIL PROTECTED]> wrote: > > Does it make sense to update the page > http://code.djangoproject.com/wiki/NewformsAdminBranch > with more complete information for people to make the move? > Or do you have a different mechanism in mind to help people > migrating? > Or is the n

Re: Call to Arms -- Caching Mechanisms

2007-09-15 Thread Honza Král
On 9/15/07, msaelices <[EMAIL PROTECTED]> wrote: > > Oh! beautiful code! could you paste Dependency model besides? Thanks, the dependency model is the part I am least satisfied with: http://dpaste.com/19694/ it gets created automatically whenever and object is used within other object's box > > >

Migrating to new-admin...

2007-09-15 Thread jdetaeye
Hi, I just finished migrating an application that uses the admin interface to the new admin. It took me quite a while to gather all changes correctly from the mailing list, google search through tickets, and looking at the code, ... :-( Does it make sense to update the page http://code.django

Re: Call to Arms -- Caching Mechanisms

2007-09-15 Thread msaelices
Oh! beautiful code! could you paste Dependency model besides? On 15 sep, 03:41, "Honza Král" <[EMAIL PROTECTED]> wrote: > we use something likehttp://dpaste.com/19671/ > > it > - invalidates the cache when object is updated (based on registered test) > - can cooperate with apache active mq

Make money to share photos

2007-09-15 Thread kabii
Make money to share photos Do you want to make money to post photos from internet.then just move on to http://goodtolove.com and start posting.They will pay their 50% adsense revenue with you...Then what are you waiting for just start posting photos in http://goodtolove.com. --~--~-~--~-

Re: copy.deepcopy for newforms' Bug ?

2007-09-15 Thread Malcolm Tredinnick
On Sat, 2007-09-15 at 16:17 +0800, 张沈鹏(电子科大08年本科应届) wrote: > I tried to open a ticket , but the Trac detected an internal error > when I try to append the attachment . Trac doesn't like binary uploads (like zip files). Still, thanks for putting together such a small example. I'll be able to do s

Re: mod_python documentation issues

2007-09-15 Thread James Bennett
On 9/15/07, Robert Coup <[EMAIL PROTECTED]> wrote: > I think something changed a while back. Try creating an account at the > url below, then log in and enter your email address/name into Trac > like normal. Its linked (not particularly clearly from the > contributing page). It's not technically

Re: mod_python documentation issues

2007-09-15 Thread Robert Coup
On 15/09/2007, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > As to not being able to post to tickets, I have always just used my > email address and it has worked. Ie., I do not have an account. The > ticket page says to use 'Your email or username' with an option of > creating a username only if