I'm wondering if maybe get should raise an error with a name like
"MultipleValueError" rather than "AssertionError" when multiple values
are found...
Yesterday I was wiring up a toggle method. If the row is in the
database, remove it. If it isn't in the database, add it.
I don't have the exact
This is great! Would this be rolled in the latest SVSN version?
On Feb 12, 6:04 pm, "RonnyPfannschmidt" <[EMAIL PROTECTED]>
wrote:
> sweet - thats a good start
>
> On 12 Feb., 17:21, "Gary Wilson" <[EMAIL PROTECTED]> wrote:
>
> > On Feb 12, 9:01 am, "RonnyPfannschmidt" <[EMAIL PROTECTED]>
> > wro
Maybe an example is in order to explain my point further:
class Base:
name
slug
created_at
created_by
...
content_type = models.ForeignKey(ContentType)
object_id = models.PositiveIntegerField()
content_object = models.GenericForeignKey()
class Product:
base = models.ForeignKey
Hi,
John Calixto:
> I have an almost trivial (although it was helpful to me) enhancement for
> django.utils.datastructures.MergeDict. It basically adds __str__ and
> __repr__ methods so that you can see more meaningful output than just
> the standard "" string.
>
> Here's my diff:
>
> === djan