Jacob Kaplan-Moss wrote:
> Oh yeah, and one other thing:
>
> IANAL, but I think the Python Software License is not compatible with
> the BSD, so we'll need permission from the PSF to distribute code
> copied from functools.py, and we'll need to include the original
> copyright statement.
Any
>
> I've done so rather briefly, comments on the ticket.
>
Ugh, I think I was asleep at the wheel there.
I've uploaded a better patch. If you have time, please take a look.
http://code.djangoproject.com/ticket/5247
Thanks!
--
Pete
--~--~-~--~~~---~--~~
You
On Mon, 2007-11-19 at 10:29 -0800, Alberto Piai wrote:
> Hello Malcolm,
>
> SelectDateWidget from newform extras stopped working after
> autoescaping was introduced in r6671. Here is the tiny patch to fix
> it.
Please file any patches in Trac so that they don't get forgotten. The
patch looks
On Monday 19 November 2007 18:55:49 Peter Baumgartner wrote:
> Can somebody take a look at
> http://code.djangoproject.com/attachment/ticket/5247/
>
> I updated the existing patch to work with current svn, but I'm not
> familiar enough with the internals to be sure it isn't breaking
> things
Michal Salaban wrote:
> Anyway, seems that any query with field=None just doesn't make any
> sense and, if used by anyone, is meant to do the same as
> field__isnull=False. Wouldn't it be a good idea to convert such
> queries to field__isnull=False equivalent in Model class? Correct me
> if I'm
On Nov 19, 2007 5:28 PM, Greg_IAP <[EMAIL PROTECTED]> wrote:
> db_column='instrument_id'
> db_column='channel_id'
You don't need this, really :)
> I just want to make a join through this tables with the select_related
> to be able to print Image.name, Instrument.name, Channel.name
for image in
Can somebody take a look at
http://code.djangoproject.com/attachment/ticket/5247/
I updated the existing patch to work with current svn, but I'm not
familiar enough with the internals to be sure it isn't breaking things
elsewhere.
Thanks!
--
Pete
Hello Malcolm,
SelectDateWidget from newform extras stopped working after
autoescaping was introduced in r6671. Here is the tiny patch to fix
it.
Regards, and thanks for the great work.
Alberto
Index: django/newforms/extras/widgets.py
I killed a few birds with one stone.
This patch turned out to be even more interesting then I thought.
As I was working on it I found a really neat way to move even more of
the implementation out from the templatetag itself and into the
template processor. Check it out:
Hi,
I was following this thread, since I also think a solution is needed
here, badly!
I think Alain's initial solution is the best until now, and closest to
what is needed, but true, its tooo complex.
I don't have a final solution but may be one step ahead ...
I know the big problem here is to
Hello,
i have 3 classes.
class Image(models.Model):
name = models.CharField(max_length = 20,blank=True)
instrument = models.ForeignKey(Instrument,null=True,blank=
True,db_column='instrument_id')
channel = models.ForeignKey(Channel,null=True,blank=
Hi all,
I ran into troubles yesterday with a piece of code which had to find
duplicate entries in the database:
duplicates = Foo.objects.exclude(id=self.id).filter(bar=self.bar)
which of course works as expected UNLESS called in freshly created
instance, where self.id is None.
Few seconds
On 11/19/07, Greg_IAP <[EMAIL PROTECTED]> wrote:
> Does someone could explain to me how to make it work?
> several examples on the net show that it doesn't...
You're going to need to ask a more specific question here; "I read
somewhere that X didn't work" is pretty useless as questions go.
Hello,
i'm trying to understand how the method "select_related" works and it
doesn't seems to...
Does someone could explain to me how to make it work?
several examples on the net show that it doesn't...
help needed please
thanks in advance
Greg
That's true.
So, does it looks interesting for someone?
Or I'm the only one who do signal-based cache invalidation? :)
On Nov 15, 2:27 am, "Honza Král" <[EMAIL PROTECTED]> wrote:
> On Nov 14, 2007 9:13 PM, Sergey Kirillov <[EMAIL PROTECTED]> wrote:
>
>
>
> > For shared cache backends, like
15 matches
Mail list logo