django development on the foreign key settings
When we built the model will useForeignKey
And because the number of foreign keys will cause about some preserved
We all left ctrl + enter Source
源码
def __init__(self, to, on_delete=None, related_name=None, related_query_name=None,
limit_choices_to=None, parent_link=False, to_field=None,
db_constraint=True, **kwargs):
We need the source code db_constraint
set Flase so there relationship, but not by his divisor