On May 4, 8:08 pm, Ole Laursen wrote:
> The problem is that if I try to access foo.bar in any way, Django
> tries to lookup a bar with id 0 or -1 and throws an exception. My
> forms break, and the serializers break, making it hard to write test
> code. Does anyone know of an easy way to get around
Hi!
I have a problem. I'm dealing with a legacy database where some of the
foreign keys aren't pointing to the right place because 0 (and -1) has
been used in some places instead of NULL. I can't fix the rows as the
new application will have to live side by side with the legacy system
for some tim
2 matches
Mail list logo