Skip to content Skip to sidebar Skip to footer

Django Onetoone Reverse Relationship Does Not Allow Null Values

I have this architecture (very simplified) from django.db import Models class MainClass(models.Model): a = models.IntegerField() b = models.CharField() class OtherClass(m

Solution 1:

Looks like this is a normal behaviour in Django 1.8, although the restriction has been removed in Django 1.10

So, This isn't an error.

Post a Comment for "Django Onetoone Reverse Relationship Does Not Allow Null Values"