Module ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad keyword NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword Num FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list ClassDef bases body Assign NameStore Str Assign NameStore Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Return BinOpMod Str Call AttributeLoad Str attr ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore NameLoad While NameLoad body Expr Call AttributeLoad NameLoad attr Num NameLoad Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Break Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr decorator_list decorator_list
N/A django.db models Category N/A N/A models Model N/A N/A name N/A N/A models CharField max_length 100 N/A desription N/A N/A models TextField blank True N/A parent N/A N/A models ForeignKey self blank True null True related_name child N/A slug N/A N/A models CharField max_length 100 __unicode__ N/A N/A self N/A N/A N/A N/A self name N/A Meta N/A N/A N/A verbose_name Category N/A verbose_name_plural Categories N/A get_absolute_url N/A N/A self N/A N/A N/A parents N/A N/A self get_all_parents N/A N/A /%s/ N/A N/A / join N/A N/A p slug N/A p parents N/A get_all_parents N/A N/A self N/A N/A N/A Gets all parents going up the parent tree until a page with no parent, including itself. N/A parents N/A N/A category self N/A True N/A N/A N/A N/A parents insert 0 page N/A category N/A category parent N/A N/A category N/A N/A N/A parents N/A get_children N/A N/A self N/A N/A N/A Gets children of current category, no grandchildren. N/A N/A N/A N/A Category objects filter parent N/A self id N/A get_all_siblings N/A N/A self N/A N/A N/A Gets siblings of current category only, no children of siblings. N/A N/A N/A N/A Category objects filter parent N/A self category N/A N/A