Django Categories 1.6 documentation

This Page

Management Commands


Usage: ./ import_categories /path/to/file.txt [/path/to/file2.txt]

Imports category tree(s) from a file. Sub categories must be indented by the same multiple of spaces or tabs. The first line in the file cannot start with a space or tab and you can’t mix spaces and tabs.


Usage: ./ add_category_fields [app1 app2 ...]

Add missing registered category fields to the database table of a specified application or all registered applications.

Requires Django South.


Usage: ./ drop_category_field app_name model_name field_name

Drop the field_name field from the app_name_model_name table, if the field is currently registered in CATEGORIES_SETTINGS.

Requires Django South.