Re: django.contrib.markup and ReST

2009-09-15 Thread Exe
> What isn't working with section headers? They seem to be working fine > in the cases that I use them... > > Can you give an ReST example that is failing to render correctly? Shure. Test program to reproduce problem: from docutils.core import publish_parts

Re: SoC merge plans?

2009-09-15 Thread Zain Memon
Howdy! Just got back from DjangoCon, so this stuff's still fresh on my mind... * A quick summary (more for the list than for me) of what new things > are on the branch, and give some instructions to people wanting to > review your code. > My code adds a few new things: 1) models.OrderField and Mo

Re: Strange behaviour with exclude / filter and a nullable FK

2009-09-15 Thread Russell Keith-Magee
On Wed, Sep 16, 2009 at 3:19 AM, Marcob wrote: > > On Sep 15, 8:05 pm, Alex Gaynor wrote: > >> This has already been filed as a bug in Django's ticket >> tracker:http://code.djangoproject.com/ticket/10790.  In the future please try >> searching the tracker before filing a bug. > > Thanks Alex,

Re: Strange behaviour with exclude / filter and a nullable FK

2009-09-15 Thread Marcob
On Sep 15, 8:05 pm, Alex Gaynor wrote: > This has already been filed as a bug in Django's ticket > tracker:http://code.djangoproject.com/ticket/10790.  In the future please try > searching the tracker before filing a bug. Thanks Alex, but: 1) I searched the trac 2) I didn't find the bug 3) So

Re: Strange behaviour with exclude / filter and a nullable FK

2009-09-15 Thread Alex Gaynor
On Tue, Sep 15, 2009 at 1:58 PM, Marcob wrote: > > On 15 Set, 19:32, Marcob wrote: > >>     LEFT OUTER JOIN "auth_user" ON ("ticket_ticket"."assigned_id" = > > I translated from italian, obviously assigned_id should be > assigned_to_id. > > Sorry. > > Ciao. > Marco. > > > > This has already bee

Re: Strange behaviour with exclude / filter and a nullable FK

2009-09-15 Thread Marcob
On 15 Set, 19:32, Marcob wrote: >     LEFT OUTER JOIN "auth_user" ON ("ticket_ticket"."assigned_id" = I translated from italian, obviously assigned_id should be assigned_to_id. Sorry. Ciao. Marco. --~--~-~--~~~---~--~~ You received this message because you are

Can't use partial date format in settings.py

2009-09-15 Thread Marcob
Reading the following documentation I deduced that partial date settings (used in date_hierarchy filter) could be set in settings.py: http://docs.djangoproject.com/en/dev/ref/settings/#year-month-format http://docs.djangoproject.com/en/dev/ref/settings/#month-day-format Unfortunately the

Strange behaviour with exclude / filter and a nullable FK

2009-09-15 Thread Marcob
I have a model with a FK on User table: from django.contrib.auth.models import User class Ticket(models.Model): assigned_to = models.ForeignKey(User, null=True, blank=True) ... Then I have these two querysets: >>> q1 = Ticket.objects.filter(assigned_to__isnull=True)

Re: django.contrib.markup and ReST

2009-09-15 Thread Brett Parker
On 15 Sep 02:26, Exe wrote: > > Hello! > > I tried "restructuredtext" filters. At first look it seems to work > fine, but I found that section headers doesn't work. > > After a while me constructed this patch. Please review and say if it > possible to push it into upstream. Thank you for your a

Re: CSRF proposal and patch ready for review

2009-09-15 Thread Luke Plant
On Tuesday 15 September 2009 12:28:51 Russell Keith-Magee wrote: > The CSRF tag approach you have implemented didn't win a lot of fans > whenever I described it, and for pretty much the same reasons I have > expressed previously - too many moving parts, and a little too much > manual intervention

django.contrib.markup and ReST

2009-09-15 Thread Exe
Hello! I tried "restructuredtext" filters. At first look it seems to work fine, but I found that section headers doesn't work. After a while me constructed this patch. Please review and say if it possible to push it into upstream. Thank you for your attention. $ svn diff Index: markup.py ==

Re: CSRF proposal and patch ready for review

2009-09-15 Thread Russell Keith-Magee
On Mon, Sep 14, 2009 at 9:05 PM, Luke Plant wrote: > > On Monday 31 August 2009 15:26:42 Russell Keith-Magee wrote: > >>  3. CSRF is currently a contrib app. Why? CSRF control is the very >> model of a feature that shouldn't be decoupled from the base >> framework. If we're aiming to make CSRF su

Re: Replacing get_absolute_url, I am against it

2009-09-15 Thread Ivan Sagalaev
James Bennett wrote: > Except I can't help thinking this is an awfully arbitrary distinction > to draw. In effect you're saying that nearly every question about an > object should be answerable by interrogating it directly, *except* for > "what's a URL I can use for you?" May be I can explain thi