What am I missing here? I would expect the last query to return (14389
- 2136) records below -
>>> Booking.objects.all().count()
14389
>>> Booking.objects.filter(id__in =
PriorToCheckout.objects.all().values_list('confirmation_call__booking__id',
flat=True)).count()
2136
>>> Booking.objects.
On Wednesday 05 February 2014 04:49 AM, Russell Keith-Magee wrote:
This is the 0001_initial migration - did you manually write or update
this migration, or is this code entirely automatically generated? If
it's manually written or edited, then fix what you wrote :-) If it's the
result of automa
I am using the following (simplified) model that doesn't migrate using
the new migrations in Django 1.7a1 -
$
$ pip freeze
Django==1.7a1
argparse==1.2.1
distribute==0.6.34
wsgiref==0.1.2
$
$ cat blog/models.py
from django.db import models
from django.utils import timezone
class Blog(models.Mode
3 matches
Mail list logo