For posterity, I discovered the difference between 0.96 and 1.1.1.
Django 0.96 doesn't cache related objects passed in via the
constructor of a model, whereas 1.1.1 does.
Here is the setup. I create a model instance, just populating the
primary key:
>>> s = Station(station_index=1846)
In 0.96 I
I am moving an application (finally) from 0.96 to 1.1.1 and I'm
running into an issue I haven't been able to resolve.
To make things simple, here are the two relevant models:
class Station(models.Model):
station_index = models.AutoField(primary_key=True)
name = models.CharField()
...
2 matches
Mail list logo