Contenttypes.GenericForeignKey Docs Addition

2013-08-22 Thread Mark Young
Could it be mentioned that GenericForeignKey fields can't be accessed in forms in the docs? Without stackoverflow, I would've probably never figured this out. When you try to access it through the form, all you get is a FieldError saying that the model doesn't even have the field you're looking

Re: Contenttypes.GenericForeignKey Docs Addition

2013-08-22 Thread Tim Graham
Hi Mark, Could you open a ticket and add a patch with your proposed change? Tim On Thursday, August 22, 2013 3:37:14 AM UTC-4, Mark Young wrote: > > Could it be mentioned that GenericForeignKey fields can't be accessed in > forms in the docs? Without stackoverflow, I would've probably never fig

Re: Contenttypes.GenericForeignKey Docs Addition

2013-08-22 Thread Mark Young
I'm not sure if my patch is sufficiently clear (it's only two words), but I've created a patch and ticket here . -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group a

Re: Featurereuqest: Helpfull tracebacks

2013-08-22 Thread Ben Finney
Florian Apolloner writes: > On Thursday, August 22, 2013 6:43:39 AM UTC+2, Ben Finney wrote: > > > > This could be done by having Django's database interface catch the > > error, and chain a new exception from that one: > > Knowing the model alone is imo pretty useless since that's in the > trace