Sure okay, I'll whittle my project down to the bare bones, investigate it
further, and if I manage to get a simple project that reproduces it I'll
let you know. Cheers!
Oh, and it's Django 1.5.1 I'm running.
On Friday, 24 May 2013 11:14:03 UTC+1, akaariai wrote:
>
> On 22 touko, 18:57,
On 22 touko, 18:57, Michael wrote:
> I've got an odd situation here, any idea why the delete SQL for the
> `myapp_entry_tag` table is being performed twice?
>
> >>> from myapp.models import Tag
> >>> from django.db import connection
> >>> from pprint import pprint
> >>>
I've got an odd situation here, any idea why the delete SQL for the
`myapp_entry_tag` table is being performed twice?
>>> from myapp.models import Tag
>>> from django.db import connection
>>> from pprint import pprint
>>> Tag.objects.only('pk').get(pk=1).delete()
>>> pprint(connection.queries)
3 matches
Mail list logo