Module Expr Str ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Str Assign NameStore Call AttributeLoad NameLoad attr ClassDef bases body Assign NameStore TupleLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list decorator_list NameLoad ClassDef bases NameLoad body ClassDef bases body Assign NameStore NameLoad Assign NameStore NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad keyword NameLoad keyword Str FunctionDef arguments args NameParam defaults body Return AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr decorator_list decorator_list NameLoad
N/A N/A 
1. Bare-bones model

This is a basic model with only two non-primary-key fields.
 django.db models django.utils.encoding python_2_unicode_compatible Article N/A N/A models Model N/A N/A headline N/A N/A models CharField max_length 100 default Default headline N/A pub_date N/A N/A models DateTimeField Meta N/A N/A N/A ordering N/A pub_date headline N/A __str__ N/A N/A self N/A N/A N/A N/A self headline N/A N/A python_2_unicode_compatible ArticleSelectOnSave N/A Article N/A Meta N/A N/A N/A proxy True N/A select_on_save True N/A N/A SelfRef N/A N/A models Model N/A N/A selfref N/A N/A models ForeignKey self null True blank True related_name + __str__ N/A N/A self N/A N/A N/A N/A N/A N/A N/A SelfRef objects get selfref self pk N/A N/A python_2_unicode_compatible