Module ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Str keyword Str keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Str keyword Str With Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Dict Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str keyword Str keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Str keyword Str With Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword ListLoad AttributeLoad NameLoad attr keyword Dict Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Str keyword Str keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Str Assign NameStore Dict Str NameLoad decorator_list Assign NameStore Call NameLoad Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Dict Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list decorator_list
N/A cms api cms.cms_plugins AliasPlugin cms.models Placeholder AliasPluginModel cms.test_utils.testcases CMSTestCase cms.utils.urlutils admin_reverse django.template Template Context AliasTestCase N/A CMSTestCase N/A test_add_plugin_alias N/A N/A self N/A N/A N/A page_en N/A N/A api create_page PluginOrderPage col_two.html en slug page1 published True in_navigation True N/A ph_en N/A N/A N/A page_en placeholders get slot col_left N/A text_plugin_1 N/A N/A api add_plugin ph_en TextPlugin en body I'm the first N/A N/A N/A self login_user_context N/A N/A self get_superuser N/A N/A response N/A N/A N/A self client post N/A admin_reverse cms_create_alias data N/A plugin_id N/A text_plugin_1 pk N/A N/A N/A self assertEqual N/A response status_code 200 N/A response N/A N/A N/A self client post N/A admin_reverse cms_create_alias data N/A placeholder_id N/A ph_en pk N/A N/A N/A self assertEqual N/A response status_code 200 N/A response N/A N/A N/A self client post N/A admin_reverse cms_create_alias N/A N/A N/A self assertEqual N/A response status_code 400 N/A response N/A N/A N/A self client post N/A admin_reverse cms_create_alias data N/A plugin_id 20000 N/A N/A N/A self assertEqual N/A response status_code 400 N/A response N/A N/A N/A self client post N/A admin_reverse cms_create_alias data N/A placeholder_id 20000 N/A N/A N/A self assertEqual N/A response status_code 400 N/A response N/A N/A N/A self client post N/A admin_reverse cms_create_alias data N/A plugin_id N/A text_plugin_1 pk N/A N/A N/A self assertEqual N/A response status_code 403 N/A instance N/A N/A N/A N/A AliasPluginModel objects all N/A 0 N/A admin N/A AliasPlugin N/A request N/A N/A self get_request / N/A context N/A Context N/A request request N/A N/A N/A admin render context instance ph_en N/A N/A N/A self assertEqual N/A context N/A content I'm the first N/A test_move_and_delete_plugin_alias N/A N/A self N/A N/A N/A 
        Test moving the plugin from the clipboard to a placeholder.
         N/A page_en N/A N/A api create_page PluginOrderPage col_two.html en slug page1 published True in_navigation True N/A ph_en N/A N/A N/A page_en placeholders get slot col_left N/A text_plugin_1 N/A N/A api add_plugin ph_en TextPlugin en body I'm the first N/A N/A N/A self login_user_context N/A N/A self get_superuser N/A N/A N/A N/A N/A self client post N/A admin_reverse cms_create_alias data N/A plugin_id N/A text_plugin_1 pk N/A N/A N/A clipboard N/A N/A N/A Placeholder objects get slot clipboard N/A N/A N/A N/A N/A Placeholder DoesNotExist N/A Placeholder MultipleObjectsReturned N/A N/A clipboard 0 N/A N/A N/A self assertGreater N/A clipboard pk 0 N/A N/A N/A self assertEqual N/A len N/A N/A clipboard get_plugins_list 1 N/A alias_plugin N/A N/A N/A clipboard get_plugins_list N/A 0 N/A response N/A N/A N/A self client post N/A admin_reverse cms_page_copy_plugins data N/A source_placeholder_id source_plugin source_language target_placeholder_id target_language N/A clipboard pk N/A alias_plugin pk en N/A ph_en pk en N/A N/A N/A self assertEqual N/A response status_code 200 N/A response N/A N/A N/A self client post N/A admin_reverse cms_page_delete_plugin args N/A N/A alias_plugin pk data N/A N/A N/A N/A self assertEqual N/A response status_code 200 N/A test_context_menus N/A N/A self N/A N/A N/A page_en N/A N/A api create_page PluginOrderPage col_two.html en slug page1 published True in_navigation True N/A ph_en N/A N/A N/A page_en placeholders get slot col_left FakeRequest N/A object N/A N/A current_page page_en N/A user N/A N/A self get_superuser N/A GET N/A language en N/A META N/A CSRF_COOKIE_USED True N/A N/A request N/A FakeRequest N/A template N/A Template {% load cms_tags %}{% extra_menu_items placeholder %} N/A context N/A Context N/A request request N/A N/A context N/A placeholder ph_en N/A output N/A N/A template render context N/A N/A N/A self assertTrue N/A len output 200 N/A N/A