Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr keyword Num decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword NameLoad FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr decorator_list ClassDef bases body Assign NameStore ListLoad Str decorator_list decorator_list NameLoad ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr keyword Num decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list decorator_list NameLoad ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num ClassDef bases body Assign NameStore ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list decorator_list NameLoad
N/A N/A 
Regression tests for proper working of ForeignKey(null=True). Tests these bugs:

    * #7512: including a nullable foreign key reference in Meta ordering has
unexpected results

 __future__ unicode_literals django.db models django.utils.encoding python_2_unicode_compatible Author N/A N/A models Model N/A N/A name N/A N/A models CharField max_length 150 N/A Article N/A N/A models Model N/A N/A title N/A N/A models CharField max_length 150 N/A author N/A N/A models ForeignKey Author N/A models SET_NULL null True __str__ N/A N/A self N/A N/A N/A N/A Article titled: %s N/A N/A self title N/A Meta N/A N/A N/A ordering N/A author__name N/A N/A python_2_unicode_compatible SystemInfo N/A N/A models Model N/A N/A system_name N/A N/A models CharField max_length 32 N/A Forum N/A N/A models Model N/A N/A system_info N/A N/A models ForeignKey SystemInfo N/A models CASCADE N/A forum_name N/A N/A models CharField max_length 32 N/A Post N/A N/A models Model N/A N/A forum N/A N/A models ForeignKey Forum N/A models SET_NULL null True N/A title N/A N/A models CharField max_length 32 __str__ N/A N/A self N/A N/A N/A N/A self title N/A N/A python_2_unicode_compatible Comment N/A N/A models Model N/A N/A post N/A N/A models ForeignKey Post N/A models SET_NULL null True N/A comment_text N/A N/A models CharField max_length 250 Meta N/A N/A N/A ordering N/A post__forum__system_info__system_name comment_text N/A __str__ N/A N/A self N/A N/A N/A N/A self comment_text N/A N/A python_2_unicode_compatible