Description: Changing the slug for a category can have serious consequences if it is used as part of a URL. Setting this to True will allow users to change the slug of a category.
+
Default:False
+
Description: Changing the slug for a category can have serious consequences if it is used as part of a URL. Setting this to True will allow users to change the slug of a category.
@@ -95,7 +98,7 @@
diff --git a/docs/searchindex.js b/docs/searchindex.js
index 353661d..3c7783e 100644
--- a/docs/searchindex.js
+++ b/docs/searchindex.js
@@ -1 +1 @@
-Search.setIndex({objects:{"":{register_fk:[3,0,1],register_m2m:[3,0,1]}},terms:{represent:4,all:[1,2,3,5,4,8,7,10],code:[8,3,10],sci:4,forget:10,follow:[4,3],children:[4,5],hard_coded_connect:[],hierarch:[],whose:3,depend:10,under:4,leav:0,child1:5,child2:5,child3:5,string:[2,3,5],bmodel:3,fals:[4,2],mechan:[],affect:8,syntax:[2,5],exact:10,level:4,list:[0,4,9,5],upload:[0,2],iter:[4,5],item:[4,1],categories_set:[7,2,3,10],consequ:2,pass:3,alternate_url:0,even:10,index:1,what:[],appear:4,current:[4,7],version:[],"new":[4,3],method:[],deriv:0,gener:4,fk_registri:[6,2,3,10],path:7,modifi:3,valu:[2,3],search:[0,1],thumbnail_upload_path:[0,6,2],amount:2,related_nam:[8,4,3],chang:[8,2],control:[3,10],via:0,extra:[4,3],appli:[],app:[8,3,10],deprec:2,api:8,subcategori:[4,10],famili:5,instal:[1,9,10],txt:7,from:[0,8,10,7,4],would:[8,4],regist:[1,2,3,4,8,7,10],two:[4,3,10],next:4,few:[],more:[3,10],relat:[4,2,3,10],hurt:8,indic:1,cach:2,must:[8,7,3],retriev:5,work:8,can:[2,3,5,4,8,7,10],root:4,overrid:2,want:[8,2,3],get_top_level_categori:[6,5],templat:[4,1,5,6],manytomanyfield:3,tag:[4,1,5,6],tab:7,multipl:7,anoth:8,allow_slug_chang:[6,2],more_cat:3,meta_keyword:0,default_file_storag:2,instead:[0,4],ancestor:[4,5],app_name_model_nam:7,after:[4,10],befor:10,extra_param:3,end:4,data:8,ul_tre:5,attempt:8,seriou:2,django:[1,3,7,8,9,10],caus:8,inform:[4,3,10],allow:[4,2,3],parti:10,order:[0,4],category_detail:4,enter:[8,1],over:[4,3],becaus:8,comma:[0,4],hierarchi:0,secondary_categori:3,dynam:[8,10],paramet:[4,3],other_categori:3,therefor:3,alter:[4,5],"return":5,greater:4,thei:8,handl:10,extra_arg:3,mymodel_sec_set:[],document:[],name:[0,8,3,10,4],simpl:8,drop:[8,7],separ:[0,4,5],each:[2,3],unicod:4,mean:2,hard:10,"7beta1":[],"7beta3":[],connect:[1,10],happen:[],"3rd":10,space:7,categori:[0,1,2,3,4,5,6,7,8,9,10],import_categori:[6,7],advanc:0,migrat:9,given:4,headlin:4,base:4,dictionari:[2,3],drop_category_field:[8,6,7],reconfigur:[8,1],indent:7,meta_extra:0,could:[8,4],static_url:2,filter:[],place:0,perman:8,charfield:10,south:[8,1,9,10,7],first:[8,4,7],render:5,mymodel_sec_cat:3,alreadi:10,done:10,blank:0,installed_app:9,miss:[8,7],differ:8,lazy_connect:[],width:0,associ:2,top:[5,10],max_length:10,store:2,schema:8,option:[0,4,3,5],relationship:[8,1,3,10,4],get_absolute_url:4,specifi:[4,7,2,3,5],part:2,than:[4,3],keyword:0,provid:[8,4],tree:[0,4,10,7],structur:[8,4],project:[9,10],matter:8,"function":3,ran:10,argument:[4,3,5],have:[4,2,3,5,10],tabl:[8,1,10,7],need:[],engin:[0,2],equival:3,register_fk:3,mix:7,without:4,take:10,which:[4,2,3],endfor:4,clash:3,though:10,object:4,relation_model:[6,2],"class":[3,10],sub:7,don:[8,2,10],url:[0,2],mymodel:[3,10],register_m2m:3,model_nam:[8,7,2],access:4,onli:[8,4,2],configur:[8,4,10],should:4,dict:[4,2],tree_info:4,media_url:2,count:4,get:[4,1,10],simplest:3,soon:2,cannot:7,requir:[8,7,3,10],amodel_cat:3,contain:4,through:10,where:2,view:[4,2],set:[1,2,3,5,6,9,10],thumbnail_width:0,javascript_url:[6,2],see:[8,4,2,10],result:2,still:8,kei:[4,2,3,10],databas:[8,1,10,7],between:3,"import":[4,7,3,10],thumbnail:[0,2],modeladmin:10,attribut:[],altern:0,grandpar:5,extend:4,javascript:2,lazi:10,complementari:8,addit:0,both:10,last:4,admin:10,howev:8,display_drilldown_as_ul:[6,5],foreign:[3,10],new_level:4,mani:[8,1,3,10],display_path_as_ul:[6,5],thumbnail_storag:[0,6,2],simpli:[],height:0,respect:10,empti:4,immedi:[4,5],ani:[0,8,10,4],child:[4,5],closed_level:4,"case":8,look:4,modelnam:2,"while":8,behavior:8,error:8,loos:8,endblock:4,sever:[8,10],parent:[0,4,5],welcom:[],alphabet:5,make:[8,10],more_categori:3,same:[4,7,10],python:8,html:[0,4,5],descend:4,m2m_registri:[6,2,3,10],eventu:[],conflict:3,someon:10,user:2,extern:2,appropri:8,dystopian:4,entri:4,well:10,exampl:[8,4,3,5],command:[8,1,7,6],thi:[0,2,3,4,8,10],endif:4,model:[0,1,2,3,4,6,8,10],relatedmodel_set:4,alternate_titl:0,entries_set:4,also:[8,10],had:4,add:[4,9,3,10,7],book:4,els:[4,10],save:2,modul:1,applic:[8,7,3,10],around:4,amodel:3,field_nam:[8,7,3],thumbnail_height:0,like:[4,2,3],other_cat:3,href:[4,5],necessari:3,page:[0,1],underli:8,revers:4,some:3,sampl:4,syncdb:[9,10],category_set:0,avoid:3,add_category_field:[8,6,10,7],cache_view_length:[6,2],content:[4,1],refer:[1,6],run:[8,9,10],usag:7,how:2,"super":[],slug:[0,2],about:4,column:8,manag:[1,9,6,8,7,10],includ:[8,2],other:[4,3,10],block:4,file2:7,own:10,within:[4,1],automat:4,right:4,storag:[2,10],your:[4,1,3,9,10],category_obj:5,wai:[8,3,10],"long":8,custom:2,avail:4,start:[4,1,10,7],editor:9,fork:10,head:0,verbatim:0,tupl:[4,2,3],category_tag:4,link:3,placement:2,line:7,"true":[4,2],reset:8,possibl:8,"default":[8,2,3],wish:10,app2:7,app1:7,below:4,foreignkei:[3,10],otherwis:4,app_nam:[8,7,2],featur:4,creat:[0,8,3,10],primary_categori:3,doesn:[8,3],file:[7,9,10],pip:9,probabl:8,titl:0,when:[3,10],detail:4,field:[0,1,3,8,7,10],valid:4,futur:4,you:[2,9,5,4,7,8,3,10],nice:3,node:4,breadcrumb:[6,5],longer:0,get_category_drilldown:[6,5],descript:[0,4,2],"6b1":[],time:[8,2,10]},objtypes:{"0":"py:function"},titles:["Models","Django Categories v 0.8","Settings","Registering Models","Using categories in templates","Template Tags","Reference","Management Commands","Adding the fields to the database","Installation","Getting Started"],objnames:{"0":"Python function"},filenames:["reference/models","index","reference/settings","registering_models","usage","reference/templatetags","reference/index","reference/management_commands","adding_the_fields","installation","getting_started"]})
\ No newline at end of file
+Search.setIndex({objects:{"":{register_fk:[9,0,1,""],register_m2m:[9,0,1,""]}},terms:{represent:8,all:[1,2,9,4,5,8,7,10],code:[5,9,10],sci:8,forget:10,follow:[8,9],children:[8,4],hard_coded_connect:[],hierarch:[],whose:9,depend:10,under:8,leav:0,child1:4,child2:4,child3:4,string:[2,9,4],bmodel:9,fals:[8,2],mechan:[],affect:5,model_nam:[5,7,2],exact:10,level:8,list:[0,8,3,4],upload:[0,2],iter:[8,4],item:[8,1],categories_set:[7,2,9,10],consequ:2,pass:9,alternate_url:0,even:10,index:1,what:[],appear:8,current:[8,7],version:[],"new":[8,9],method:[],deriv:0,gener:8,fk_registri:[6,2,9,10],path:7,modifi:9,valu:[2,9],search:[0,1],thumbnail_upload_path:[0,6,2],amount:2,related_nam:[8,5,9],chang:[5,2],control:[9,10],via:0,extra:[8,9],appli:[],app:[5,9,10],deprec:2,href:[8,4],subcategori:[8,10],famili:4,instal:[1,3,10],txt:7,from:[0,8,10,5,7],would:[8,5],regist:[1,2,9,5,8,7,10],two:[8,9,10],next:8,few:[],more:[9,10],relat:[8,2,9,10],hurt:5,indic:1,cach:2,must:[5,7,9],retriev:4,work:5,can:[2,9,4,5,8,7,10],root:8,overrid:2,want:[5,2,9],get_top_level_categori:[6,4],templat:[8,1,4,6],manytomanyfield:9,tag:[8,1,4,6],tab:7,multipl:7,anoth:5,how:2,more_cat:9,meta_keyword:0,default_file_storag:2,instead:[0,8],ancestor:[8,4],simpl:5,after:[8,10],befor:10,extra_param:9,end:8,associ:2,ul_tre:4,attempt:5,seriou:2,django:[1,3,7,5,9,10],caus:5,inform:[8,9,10],allow:[8,2,9],enter:[5,1],order:[0,8],category_detail:8,over:[8,9],becaus:5,comma:[0,8],hierarchi:0,secondary_categori:9,dynam:[5,10],paramet:[8,9],other_categori:9,therefor:9,alter:[8,4],"return":4,greater:8,thei:5,handl:10,extra_arg:9,mymodel_sec_set:[],eventu:[],name:[0,8,9,10,5],app_name_model_nam:7,drop:[5,7],separ:[0,8,4],editor:3,each:[2,9],unicod:8,mean:2,hard:10,"7beta1":[],"7beta3":[],connect:[1,10],happen:[],"3rd":10,space:7,categori:[0,1,2,3,4,5,6,7,8,9,10],import_categori:[6,7],advanc:0,migrat:3,given:8,headlin:8,allow_slug_chang:[6,2],base:8,dictionari:[2,9],drop_category_field:[5,6,7],reconfigur:[5,1],indent:7,wai:[5,9,10],could:[8,5],static_url:2,filter:[],place:0,perman:5,charfield:10,south:[5,1,3,10,7],first:[8,5,7],render:4,mymodel_sec_cat:9,alreadi:10,done:10,blank:0,installed_app:3,miss:[5,7],differ:5,lazy_connect:[],start:[8,1,10,7],data:5,top:[4,10],max_length:10,store:2,schema:5,option:[0,8,9,4],relationship:[8,1,9,10,5],get_absolute_url:8,specifi:[8,7,2,9,4],part:2,than:[8,9],keyword:0,provid:[8,5],tree:[0,8,10,7],structur:[8,5],project:[3,10],matter:5,fork:10,ran:10,argument:[8,9,4],have:[8,2,9,4,10],tabl:[5,1,10,7],need:[],engin:[0,2],equival:9,register_fk:9,also:[5,10],without:8,take:10,which:[8,2,9],parti:10,endfor:8,clash:9,though:10,object:8,relation_model:[6,2],"class":[9,10],sub:7,don:[5,2,10],url:[0,2],mymodel:[9,10],register_m2m:9,syntax:[2,4],access:8,onli:[8,5,2],configur:[8,5,10],should:8,dict:[8,2],tree_info:8,media_url:2,reset:5,get:[8,1,10],simplest:9,soon:2,cannot:7,requir:[5,7,9,10],amodel_cat:9,contain:8,through:10,where:2,valid:8,view:[8,2],set:[1,2,3,4,6,9,10],thumbnail_width:0,javascript_url:[6,2],see:[8,5,2,10],result:2,still:5,kei:[8,2,9,10],databas:[5,1,10,7],between:9,"import":[8,7,9,10],thumbnail:[0,2],modeladmin:10,attribut:[],altern:0,grandpar:4,extend:8,javascript:2,lazi:10,complementari:5,addit:0,both:10,last:8,admin:10,howev:5,display_drilldown_as_ul:[6,4],foreign:[9,10],new_level:8,mani:[5,1,9,10],display_path_as_ul:[6,4],thumbnail_storag:[0,6,2],simpli:[],height:0,respect:10,empti:8,immedi:[8,4],ani:[0,8,10,5],child:[8,4],closed_level:8,"case":5,look:8,modelnam:2,"while":5,behavior:5,error:5,loos:5,endblock:8,sever:[5,10],parent:[0,8,4],welcom:[],alphabet:4,make:[5,10],more_categori:9,same:[8,7,10],python:5,html:[0,8,4],descend:8,m2m_registri:[6,2,9,10],document:[],conflict:9,someon:10,user:2,extern:2,appropri:5,dystopian:8,entri:8,well:10,exampl:[8,5,9,4],command:[5,1,7,6],thi:[0,2,9,5,8,10],endif:8,model:[0,1,2,9,5,6,8,10],relatedmodel_set:8,alternate_titl:0,entries_set:8,mix:7,had:8,add:[8,9,3,10,7],book:8,els:[8,10],save:2,modul:1,applic:[5,7,9,10],around:8,amodel:9,field_nam:[5,7,9],thumbnail_height:0,like:[8,2,9],other_cat:9,api:5,necessari:9,page:[0,1],underli:5,revers:8,some:9,sampl:8,syncdb:[3,10],category_set:0,avoid:9,add_category_field:[5,6,10,7],cache_view_length:[6,2],content:[8,1],refer:[1,6],run:[5,3,10],usag:7,"super":[],slug:[0,2],about:8,column:5,manag:[1,3,6,5,7,10],block:8,file2:7,own:10,within:[8,1],automat:8,right:8,storag:[2,10],your:[8,1,3,10,9],category_obj:4,meta_extra:0,"long":5,custom:2,avail:8,width:0,includ:[5,2],"function":9,head:0,verbatim:0,tupl:[8,2,9],category_tag:8,link:9,placement:2,line:7,"true":[8,2],count:8,possibl:5,"default":[5,2,9],wish:10,app2:7,app1:7,below:8,foreignkei:[9,10],otherwis:8,app_nam:[5,7,2],featur:8,creat:[0,5,9,10],primary_categori:9,doesn:[5,9],file:[7,3,10],pip:3,probabl:5,titl:0,when:[9,10],detail:8,field:[0,1,9,5,7,10],other:[8,9,10],futur:8,you:[2,9,4,5,7,8,3,10],nice:9,node:8,breadcrumb:[6,4],longer:0,get_category_drilldown:[6,4],descript:[0,8,2],"6b1":[],time:[5,2,10]},objtypes:{"0":"py:function"},titles:["Models","Django Categories v 0.8","Settings","Installation","Template Tags","Adding the fields to the database","Reference","Management Commands","Using categories in templates","Registering Models","Getting Started"],objnames:{"0":["py","function","Python function"]},filenames:["reference/models","index","reference/settings","installation","reference/templatetags","adding_the_fields","reference/index","reference/management_commands","usage","registering_models","getting_started"]})
\ No newline at end of file
diff --git a/docs/usage.html b/docs/usage.html
index 5d3ba79..bf26a23 100644
--- a/docs/usage.html
+++ b/docs/usage.html
@@ -2,17 +2,20 @@
+
- Using categories in templates — Django Categories v0.8.6 documentation
+ Using categories in templates — Django Categories 0.8.8 documentation
+
+
-
+
-
Django Categories v0.8.6 documentation
+
Django Categories 0.8.8 documentation
Using categories in templates
@@ -166,21 +169,21 @@ two-tuples of the current tree item and a
-
+
'new_level'
-
True if the current item is the start of a new level in
-the tree, False otherwise.
+
True if the current item is the start of a new level in
+the tree, False otherwise.
'closed_levels'
A list of levels which end after the current item. This will
be an empty list if the next item’s level is the same as or
greater than the level of the current item.
-
+
An optional argument can be provided to specify extra details about the
structure which should appear in the dict. This should be a
comma-separated list of feature names. The valid feature names are:
-
+
ancestors
Adds a list of unicode representations of the ancestors of the
current node, in descending order (root node first, immediate
@@ -194,7 +197,7 @@ on the right:
\ + Sort by:\ + best rated\ + newest\ + oldest\ +
\ +\ +
Add a comment\ + (markup):
\ +