Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str ClassDef bases body Assign NameStore NameLoad Assign NameStore TupleLoad Str Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore SubscriptLoad AttributeLoad NameLoad attr Index Str attr Call NameLoad decorator_list ClassDef bases body Assign NameStore NameLoad Assign NameStore TupleLoad Str Str Str Str Str Str Str decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num handlers ExceptHandler type NameLoad body Assign NameStore Call NameLoad Str orelse Assign NameStore Call NameLoad Str keyword Dict Str AttributeLoad NameLoad attr Return Call NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Return Call NameLoad NameLoad Call NameLoad NameLoad Dict Str Str Str Str Str Str Str Call NameLoad NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad Call AttributeLoad Call NameLoad NameLoad attr NameLoad NameLoad Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad BinOpMod Call NameLoad Str Dict Str AttributeLoad NameLoad attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad Str body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr orelse Assign NameStore Call NameLoad keyword NameLoad Return Call NameLoad NameLoad Call NameLoad NameLoad Dict Str Str NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call NameLoad Str keyword Dict Str AttributeLoad NameLoad attr Return Call NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str orelse Assign NameStore Call NameLoad Str If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad ListLoad Str Call NameLoad NameLoad AttributeLoad NameLoad attr ListLoad Str Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str NameLoad NameLoad keyword NameLoad Return Call NameLoad NameLoad keyword Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults Str Str body Expr Str If CompareEq NameLoad Str body Assign NameStore NameLoad orelse TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num If NameLoad body Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Str keyword Dict Str AttributeLoad NameLoad attr Return Call NameLoad NameLoad orelse Assign NameStore Call NameLoad keyword Dict Str NameLoad Return Call NameLoad NameLoad Call NameLoad NameLoad Dict Str Str Str NameLoad NameLoad Call AttributeLoad IfExp CompareEq AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr Str Call NameLoad Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Str Return Call NameLoad NameLoad decorator_list Call NameLoad Str NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str attr Str Assert Call NameLoad NameLoad NameLoad If CompareGt Call NameLoad NameLoad Num body Assign NameStore Num For NameStore NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Slice Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore NameLoad If CompareNotEq NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd NameLoad Num Expr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Dict Str Call NameLoad Str keyword NameLoad Return Call NameLoad NameLoad keyword Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad TupleLoad Str Str For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad body If CompareNotEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num body Expr Str For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareNotEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr BinOpMod Str TupleLoad BinOpMult BinOpMult Str NameLoad Num AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad NameLoad BinOpAdd NameLoad Num decorator_list
N/A N/A json django.contrib.auth.decorators permission_required django.core.exceptions ObjectDoesNotExist django.core.urlresolvers reverse django.forms ModelForm django.http HttpResponse django.http HttpResponseRedirect django.shortcuts render_to_response django.template RequestContext django.template.loader render_to_string django.views.decorators.http require_POST django.utils.translation ugettext_lazy _ lfs.caching.utils lfs_get_object_or_404 lfs.catalog.models Category lfs.core.utils LazyEncoder lfs.core.utils set_category_levels lfs.core.widgets.image LFSImageInput lfs.manage utils manage_utils lfs.manage.categories.view category_view lfs.manage.categories.portlet manage_categories_portlet lfs.manage.seo.views SEOView lfs.manage.views.lfs_portlets portlets_inline CategoryAddForm N/A ModelForm N/A N/A Process form to add a category.
     Meta N/A N/A N/A model Category N/A fields N/A name slug N/A N/A CategoryForm N/A ModelForm N/A N/A Process form to edit a category.
     __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super CategoryForm self __init__ args kwargs N/A N/A N/A N/A self fields N/A image widget N/A LFSImageInput N/A Meta N/A N/A N/A model Category N/A fields N/A name slug short_description description exclude_from_navigation image static_block N/A N/A manage_categories N/A N/A request N/A N/A N/A Dispatches to the first category or to the add category form if no
    category exists yet.
     N/A N/A N/A category N/A N/A N/A N/A Category objects all N/A 0 N/A N/A N/A IndexError N/A N/A url N/A reverse lfs_manage_no_categories N/A N/A url N/A reverse lfs_manage_category kwargs N/A category_id N/A category id N/A N/A HttpResponseRedirect url N/A N/A permission_required core.manage_shop manage_category N/A N/A request category_id template_name N/A manage/category/manage_category.html N/A N/A Displays the form to manage the category with given category id.
     N/A category N/A N/A N/A Category objects get pk category_id N/A N/A render_to_response template_name N/A RequestContext request N/A categories_portlet category data seo view portlets dialog_message N/A manage_categories_portlet request category_id category N/A category_data request category_id N/A N/A N/A SEOView Category render request category N/A category_view request category_id N/A portlets_inline request category N/A N/A _ Do you really want to delete the category <b>'%(name)s'</b> and all its sub categories? N/A name N/A category name N/A N/A permission_required core.manage_shop category_data N/A N/A request category_id form template_name N/A None manage/category/data.html N/A N/A Displays the core data for the category_id with passed category_id.

    This is used as a part of the whole category form.
     N/A category N/A N/A N/A Category objects get pk category_id N/A N/A N/A request method POST N/A N/A form N/A CategoryForm instance category data N/A request POST N/A N/A form N/A CategoryForm instance category N/A N/A render_to_string template_name N/A RequestContext request N/A category form category form N/A N/A permission_required core.manage_shop category_by_id N/A N/A request category_id N/A N/A N/A 
    Little helper which returns a category by id. (For the shop customer the
    products are displayed by slug, for the manager by id).
     N/A category N/A N/A N/A Category objects get pk category_id N/A url N/A reverse lfs_category kwargs N/A slug N/A category slug N/A N/A HttpResponseRedirect url N/A N/A permission_required core.manage_shop edit_category_data N/A N/A request category_id template_name N/A manage/category/data.html N/A N/A Updates the category data.
     N/A category N/A N/A N/A Category objects get pk category_id N/A form N/A CategoryForm instance category data N/A request POST files N/A request FILES N/A N/A N/A form is_valid N/A N/A N/A N/A form save N/A message N/A _ Category data have been saved. N/A N/A message N/A _ Please correct the indicated errors. N/A N/A N/A N/A request POST get delete_image N/A N/A N/A N/A N/A category image delete N/A html N/A N/A #data N/A category_data request N/A category id N/A #categories-portlet N/A manage_categories_portlet request N/A category id N/A result N/A N/A json dumps N/A message html message html cls LazyEncoder N/A N/A HttpResponse result content_type application/json N/A N/A permission_required core.manage_shop add_category N/A N/A request category_id template_name N/A manage/category/add_category.html N/A N/A Provides an add form and adds a new category to category with given id.
     N/A N/A category_id N/A N/A parent None N/A N/A N/A N/A parent N/A N/A N/A Category objects get pk category_id N/A N/A N/A ObjectDoesNotExist N/A N/A parent None N/A N/A N/A request method POST N/A N/A form N/A CategoryAddForm data N/A request POST N/A N/A N/A form is_valid N/A N/A new_category N/A N/A form save commit False N/A N/A new_category parent parent N/A N/A new_category position 999 N/A parent N/A N/A N/A new_category level N/A N/A parent level 1 N/A N/A N/A new_category save N/A N/A N/A manage_utils update_category_positions parent N/A url N/A reverse lfs_manage_category kwargs N/A category_id N/A new_category id N/A N/A HttpResponseRedirect url N/A N/A form N/A CategoryAddForm initial N/A parent category_id N/A N/A render_to_response template_name N/A RequestContext request N/A category form came_from parent form N/A N/A N/A N/A N/A request method POST N/A request POST N/A request GET get came_from N/A reverse lfs_manage_categories N/A N/A permission_required core.manage_shop delete_category N/A N/A request id N/A N/A N/A Deletes category with given id.
     N/A category N/A lfs_get_object_or_404 Category pk id N/A parent N/A category parent N/A N/A N/A category delete N/A N/A N/A manage_utils update_category_positions parent N/A url N/A reverse lfs_manage_categories N/A N/A HttpResponseRedirect url N/A N/A permission_required core.manage_shop require_POST sort_categories N/A N/A request N/A N/A N/A Sort categories
     N/A category_list N/A N/A N/A N/A N/A request POST get categories split & N/A N/A isinstance category_list list N/A N/A N/A len category_list 0 N/A N/A pos 10 N/A cat_str category_list N/A N/A N/A child parent_id N/A N/A cat_str split = N/A child_id N/A child N/A 9 -1 N/A child_obj N/A N/A N/A Category objects get pk child_id N/A parent_obj None N/A N/A parent_id root N/A N/A parent_obj N/A N/A N/A Category objects get pk parent_id N/A N/A child_obj parent parent_obj N/A N/A child_obj position pos N/A N/A N/A child_obj save N/A pos N/A pos 10 N/A N/A set_category_levels N/A result N/A N/A json dumps N/A message N/A _ The categories have been sorted. cls LazyEncoder N/A N/A HttpResponse result content_type application/json N/A N/A permission_required core.manage_shop _category_choices N/A N/A context N/A N/A N/A Returns categories to be used as choices for the field parent.
    Note: context is the category for which the form is applied.
     N/A categories N/A N/A - N/A category N/A N/A N/A Category objects filter parent None N/A N/A N/A context category N/A N/A N/A N/A categories append N/A N/A category id N/A category name N/A N/A _category_choices_children categories category context N/A categories N/A _category_choices_children N/A N/A categories category context level N/A 1 N/A N/A Adds the children of the given category to categories.
    Note: context is the category for which the form is applied.
     N/A category N/A N/A N/A category category_set all N/A N/A N/A context category N/A N/A N/A N/A categories append N/A N/A category id N/A %s %s N/A N/A N/A - level 5 N/A category name N/A N/A _category_choices_children categories category context N/A level 1 N/A