Re: Cache Invalidation Proposal -- CachedModel

2007-12-07 Thread Marty Alchin
On 12/7/07, Benjamin Slavin <[EMAIL PROTECTED]> wrote: > > FWIW, I'm interested in this approach. > > Same here. I'm planning to look at this on Monday, but am very much > interested. I haven't given any thought to how caching should work internally, but this approach seems on par with how the

Re: Little change for FileField

2007-12-07 Thread Marty Alchin
On 12/7/07, Marc Garcia <[EMAIL PROTECTED]> wrote: > Hi guys (specially Marty Alchin I think)! You remembered me! > I've realized about a little issue with FileField in admin. Issues are > invalid html code in widget (unclosed tag and invalid target > attribute), and some labels that aren't tran

Re: django and plesk vhosts.conf

2007-12-07 Thread Collin Grady
Use/setup/etc questions should be directed to django-users, as django-developers is for the discussion of the development of django itself :) -- Collin Grady Paranoia is heightened awareness. --~--~-~--~~~---~--~~ You received this message because you are subscr

django and plesk vhosts.conf

2007-12-07 Thread jamesivan
Hi all, newbie to this group so sorry if i'm posting in the wrong place. I have plesk 8 managing my linux box but i need django (under mod_python) on a few sites, i've put all the relevant config in the vhosts.conf file for a perticular domain but this does nowt. If i move the same directives ie:

Little change for FileField

2007-12-07 Thread Marc Garcia
Hi guys (specially Marty Alchin I think)! I've realized about a little issue with FileField in admin. Issues are invalid html code in widget (unclosed tag and invalid target attribute), and some labels that aren't translatable. I think that you're rewriting the whole FileField, but may be we cou

Re: Cache Invalidation Proposal -- CachedModel

2007-12-07 Thread Benjamin Slavin
On Dec 7, 2007 6:07 PM, Jeremy Dunck <[EMAIL PROTECTED]> wrote: > > FWIW, I'm interested in this approach. > > I haven't had time to poke at the design, but wanted to at least give > some indication of interest since the thread's been quiet. Same here. I'm planning to look at this on Monday, but

Re: Cache Invalidation Proposal -- CachedModel

2007-12-07 Thread Jeremy Dunck
FWIW, I'm interested in this approach. I haven't had time to poke at the design, but wanted to at least give some indication of interest since the thread's been quiet. On Dec 6, 2007 4:46 PM, David Cramer <[EMAIL PROTECTED]> wrote: > > read this first: > http://www.davidcramer.net/code/61/handl

Re: Fixing app_label

2007-12-07 Thread Vinay Sajip
On Dec 7, 6:35 pm, "Marty Alchin" <[EMAIL PROTECTED]> wrote: > On Dec 7, 2007 12:56 PM, Vinay Sajip <[EMAIL PROTECTED]> wrote: > > > this be allowed/disallowed/checked for? As for standard template > > loading, there's no reason that the standard template loading > > (app_loader) code could not

Re: Changing label style in some widgets RE: 4860

2007-12-07 Thread Sandro
Actually, all of the patches I submitted need to be deleted. My patches exhibit a certain html style (which this thread aims to discuss) but my patches don't add the 'id' attribute which makes them incorrect. Ivan's patch seems to solve the IE rendering problem and maintains consistency with the R

Re: Fixing app_label

2007-12-07 Thread Marty Alchin
On Dec 7, 2007 12:56 PM, Vinay Sajip <[EMAIL PROTECTED]> wrote: > this be allowed/disallowed/checked for? As for standard template > loading, there's no reason that the standard template loading > (app_loader) code could not be modified to work with App instances, > using whatever logic to use the

Re: Fixing app_label

2007-12-07 Thread Vinay Sajip
On Dec 7, 8:25 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Wed, 2007-12-05 at 11:55 -0600, Jacob Kaplan-Moss wrote: > > [...] > > Jumping in a little late here, but the things I remember thinking about > (and discussing briefly with Adrian when he described his plan to me) is > that a

Re: Fixing app_label

2007-12-07 Thread Vinay Sajip
On Dec 5, 7:48 pm, "Adrian Holovaty" <[EMAIL PROTECTED]> wrote: > On Dec 5, 2007 11:55 AM, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: > > Great to hear this is gaining some momentum. I'm not a fan of the > patch on 3591, as it goes only halfway (by adding the app() function), > stopping short o

Re: bug report (flagged as spam on django trac) : simple data model yieds bug in admin page

2007-12-07 Thread Karen Tracey
On Dec 7, 2007 10:48 AM, alain D. <[EMAIL PROTECTED]> wrote: > > This simple data model makes it impossible to display 'C' instance > list in admin pages (loads forever : eats up all memory) : > > ** content of models.py ** > from django.db import models > > class A(models.Model): >b = models

Django weekly updates?

2007-12-07 Thread Rob Hudson
Hi Devs, I've been missing the weekly updates that Clint Ecker was doing and so I thought I'd write in to pitch an idea and offer some help if I could. I'd say a good goal to keep these going would be to not rely in a single person as much. If we can come up with a weekly format that is not ver

Re: Fixing app_label

2007-12-07 Thread Forest Bond
Hi, On Fri, Dec 07, 2007 at 10:56:09AM -0500, Empty wrote: > On Dec 7, 2007 7:09 AM, Forest Bond <[EMAIL PROTECTED]> wrote: > > On Fri, Dec 07, 2007 at 07:25:03PM +1100, Malcolm Tredinnick wrote: > > > (or stop using app_loader, which is something I've been tending towards > > > more and more late

Re: Fixing app_label

2007-12-07 Thread Empty
On Dec 7, 2007 7:09 AM, Forest Bond <[EMAIL PROTECTED]> wrote: > Hi, > > On Fri, Dec 07, 2007 at 07:25:03PM +1100, Malcolm Tredinnick wrote: > > (or stop using app_loader, which is something I've been tending towards more > > and more lately). > > And how does one do that? > Just remove 'django.t

bug report (flagged as spam on django trac) : simple data model yieds bug in admin page

2007-12-07 Thread alain D.
This simple data model makes it impossible to display 'C' instance list in admin pages (loads forever : eats up all memory) : ** content of models.py ** from django.db import models class A(models.Model): b = models.ForeignKey("B") class B(models.Model): i_a = models.ForeignKey(A, rela

Re: correction de mon code

2007-12-07 Thread Johann Queuniet
On Dec 7, 2007 6:43 AM, Christophe Lai-Cheung-Kit <[EMAIL PROTECTED]> wrote: > > Bonjour, > > je débute en python, je ne sais pas si je te serais d'une grande aide > mais dans les autres langages, on ne peut pas faire d'addition ou de > soustraction de date de manière implicite, j'entends Date2 - D

Re: Changing label style in some widgets RE: 4860

2007-12-07 Thread Ivan Sagalaev
Malcolm Tredinnick wrote: > Okay, I think my brain just melted trying to follow the various > sub-problems mentioned here. Can somebody make sure that whatever issues > are brought up here are turned into tickets, I'll try to clarify since it looks that I'm responsible for most of the confusion.

Re: Fixing app_label

2007-12-07 Thread Forest Bond
Hi, On Fri, Dec 07, 2007 at 07:25:03PM +1100, Malcolm Tredinnick wrote: > (or stop using app_loader, which is something I've been tending towards more > and more lately). And how does one do that? -Forest -- Forest Bond http://www.alittletooquiet.net signature.asc Description: Digital signatu

Re: Fixing app_label

2007-12-07 Thread Malcolm Tredinnick
On Wed, 2007-12-05 at 11:55 -0600, Jacob Kaplan-Moss wrote: [...] > So what I'm looking for here is some insight from folks that have > already looked at this ticket. What are the with the current patch? > Are there simpler ways? What types of breakage should I be looking > for? Is there anything

Re: Changing label style in some widgets RE: 4860

2007-12-07 Thread Malcolm Tredinnick
On Wed, 2007-12-05 at 19:23 +0300, Ivan Sagalaev wrote: > Patryk Zawadzki wrote: > > Which is correct and desired. If not Internet Explorer, even for="..." > > and id="..." wouldn't be needed (and it's not there with current > > Django). > > BTW, in current Django presence of for and id should b