Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad ListLoad Str Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias ImportFrom alias With Call AttributeLoad NameLoad attr keyword Dict Str Str Str Str body Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad With Call AttributeLoad NameLoad attr keyword Dict Str Dict body Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call NameLoad CompareLt AttributeLoad NameLoad attr TupleLoad Num Num Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str If CompareGtE AttributeLoad NameLoad attr TupleLoad Num Num body Assign NameStore Dict Str ListLoad Dict Str Str Str Str NameLoad Dict Str Str Str BinOpAdd NameLoad ListLoad Str orelse Assign NameStore Dict Str TupleLoad Str Str With Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str TryExcept body Expr Call AttributeLoad Call NameLoad NameLoad attr Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad Call NameLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Str Str NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict Str Str TryExcept body Expr Call AttributeLoad Call NameLoad NameLoad attr Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr keyword Str With Call AttributeLoad NameLoad attr keyword NameLoad body Expr Call AttributeLoad Call NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Str Str attr Call AttributeLoad NameLoad attr Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword TupleLoad Str NameLoad Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword TupleLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr AttributeLoad NameLoad attr Assign NameStore BinOpSub Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareGt NameLoad NameLoad With Call AttributeLoad NameLoad attr keyword NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad NameLoad Expr AttributeLoad NameLoad attr Assign NameStore BinOpSub Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr CompareLt NameLoad NameLoad decorator_list decorator_list
N/A N/A json N/A os N/A time subprocess call threading Thread N/A django django.conf settings django.test RequestFactory TestCase django.views.generic.base TemplateView django_jinja.builtins DEFAULT_EXTENSIONS unittest2 skipIf webpack_loader.exceptions WebpackError WebpackLoaderBadStatsError webpack_loader.utils get_loader N/A BUNDLE_PATH N/A N/A N/A os path join N/A settings BASE_DIR assets/bundles/ N/A DEFAULT_CONFIG DEFAULT LoaderTestCase N/A TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self factory N/A RequestFactory N/A compile_bundles N/A N/A self config wait N/A None N/A N/A wait N/A N/A N/A N/A time sleep wait N/A N/A call N/A ./node_modules/.bin/webpack --config config N/A test_config_check N/A N/A self N/A N/A webpack_loader.apps webpack_cfg_check webpack_loader.errors BAD_CONFIG_ERROR N/A N/A N/A self settings WEBPACK_LOADER N/A BUNDLE_DIR_NAME STATS_FILE bundles/ webpack-stats.json N/A N/A errors N/A webpack_cfg_check None N/A expected_errors N/A BAD_CONFIG_ERROR N/A N/A N/A self assertEqual errors expected_errors N/A N/A N/A self settings WEBPACK_LOADER N/A DEFAULT N/A N/A N/A errors N/A webpack_cfg_check None N/A expected_errors N/A N/A N/A N/A self assertEqual errors expected_errors N/A N/A skipIf N/A N/A django VERSION N/A 1 7 not supported in this django version test_simple_and_css_extract N/A N/A self N/A N/A N/A N/A N/A self compile_bundles webpack.config.simple.js N/A assets N/A N/A N/A get_loader DEFAULT_CONFIG get_assets N/A N/A N/A self assertEqual N/A assets N/A status done N/A N/A N/A self assertIn chunks assets N/A chunks N/A assets N/A chunks N/A N/A N/A self assertIn main chunks N/A N/A N/A self assertEqual N/A len chunks 1 N/A main N/A chunks N/A main N/A N/A N/A self assertEqual N/A N/A main N/A 0 N/A path N/A N/A N/A os path join N/A settings BASE_DIR assets/bundles/main.js N/A N/A N/A self assertEqual N/A N/A main N/A 1 N/A path N/A N/A N/A os path join N/A settings BASE_DIR assets/bundles/styles.css N/A test_static_url N/A N/A self N/A N/A N/A N/A N/A self compile_bundles webpack.config.publicPath.js N/A assets N/A N/A N/A get_loader DEFAULT_CONFIG get_assets N/A N/A N/A self assertEqual N/A assets N/A status done N/A N/A N/A self assertEqual N/A assets N/A publicPath http://custom-static-host.com/ N/A test_code_spliting N/A N/A self N/A N/A N/A N/A N/A self compile_bundles webpack.config.split.js N/A assets N/A N/A N/A get_loader DEFAULT_CONFIG get_assets N/A N/A N/A self assertEqual N/A assets N/A status done N/A N/A N/A self assertIn chunks assets N/A chunks N/A assets N/A chunks N/A N/A N/A self assertIn main chunks N/A N/A N/A self assertEquals N/A len chunks 2 N/A main N/A chunks N/A main N/A N/A N/A self assertEqual N/A N/A main N/A 0 N/A path N/A N/A N/A os path join N/A settings BASE_DIR assets/bundles/main.js N/A vendor N/A chunks N/A vendor N/A N/A N/A self assertEqual N/A N/A vendor N/A 0 N/A path N/A N/A N/A os path join N/A settings BASE_DIR assets/bundles/vendor.js N/A test_templatetags N/A N/A self N/A N/A N/A N/A N/A self compile_bundles webpack.config.simple.js N/A N/A N/A self compile_bundles webpack.config.app2.js N/A view N/A N/A TemplateView as_view template_name home.html N/A request N/A N/A N/A self factory get / N/A result N/A view request N/A N/A N/A self assertIn <link type="text/css" href="/static/bundles/styles.css" rel="stylesheet"/> N/A result rendered_content N/A N/A N/A self assertIn <script type="text/javascript" src="/static/bundles/main.js"></script> N/A result rendered_content N/A N/A N/A self assertIn <link type="text/css" href="/static/bundles/styles-app2.css" rel="stylesheet"/> N/A result rendered_content N/A N/A N/A self assertIn <script type="text/javascript" src="/static/bundles/app2.js"></script> N/A result rendered_content N/A N/A N/A self assertIn <img src="/static/my-image.png"/> N/A result rendered_content N/A view N/A N/A TemplateView as_view template_name only_files.html N/A result N/A view request N/A N/A N/A self assertIn var contentCss = '/static/bundles/styles.css' N/A result rendered_content N/A N/A N/A self assertIn var contentJS = '/static/bundles/main.js' N/A result rendered_content N/A N/A N/A self compile_bundles webpack.config.publicPath.js N/A view N/A N/A TemplateView as_view template_name home.html N/A request N/A N/A N/A self factory get / N/A result N/A view request N/A N/A N/A self assertIn <img src="http://custom-static-host.com/my-image.png"/> N/A result rendered_content N/A test_jinja2 N/A N/A self N/A N/A N/A N/A N/A self compile_bundles webpack.config.simple.js N/A N/A N/A self compile_bundles webpack.config.app2.js N/A view N/A N/A TemplateView as_view template_name home.jinja N/A N/A N/A django VERSION N/A 1 8 N/A N/A settings N/A TEMPLATES N/A N/A BACKEND APP_DIRS OPTIONS django_jinja.backend.Jinja2 True N/A match_extension extensions .jinja N/A DEFAULT_EXTENSIONS N/A webpack_loader.contrib.jinja2ext.WebpackExtension N/A N/A settings N/A TEMPLATE_LOADERS N/A django_jinja.loaders.FileSystemLoader django_jinja.loaders.AppLoader N/A N/A N/A self settings settings N/A N/A request N/A N/A N/A self factory get / N/A result N/A view request N/A N/A N/A self assertIn <link type="text/css" href="/static/bundles/styles.css" rel="stylesheet"/> N/A result rendered_content N/A N/A N/A self assertIn <script type="text/javascript" src="/static/bundles/main.js"></script> N/A result rendered_content N/A test_reporting_errors N/A N/A self N/A N/A N/A N/A N/A self compile_bundles webpack.config.error.js N/A N/A N/A N/A N/A N/A get_loader DEFAULT_CONFIG get_bundle main N/A N/A N/A WebpackError N/A e N/A N/A N/A N/A self assertIn Cannot resolve module 'the-library-that-did-not-exist' N/A str e N/A test_missing_stats_file N/A N/A self N/A N/A N/A stats_file N/A N/A N/A settings WEBPACK_LOADER N/A DEFAULT_CONFIG N/A STATS_FILE N/A N/A N/A N/A os path exists stats_file N/A N/A N/A N/A os remove stats_file N/A N/A N/A N/A N/A N/A get_loader DEFAULT_CONFIG get_assets N/A N/A N/A IOError N/A e N/A N/A expected N/A N/A Error reading {0}. Are you sure webpack has generated the file and the path is correct? format stats_file N/A N/A N/A self assertIn expected N/A str e N/A test_bad_status_in_production N/A N/A self N/A N/A N/A N/A open N/A N/A N/A settings WEBPACK_LOADER N/A DEFAULT_CONFIG N/A STATS_FILE w stats_file N/A N/A N/A N/A stats_file write N/A N/A json dumps N/A status unexpected-status N/A N/A N/A N/A N/A N/A get_loader DEFAULT_CONFIG get_bundle main N/A N/A N/A WebpackLoaderBadStatsError N/A e N/A N/A N/A N/A self assertIn The stats file does not contain valid data. Make sure webpack-bundle-tracker plugin is enabled and try to run webpack again. N/A str e N/A test_request_blocking N/A N/A self N/A N/A N/A wait_for 3 N/A view N/A N/A TemplateView as_view template_name home.html N/A N/A N/A self settings DEBUG True N/A N/A N/A N/A N/A open N/A N/A N/A settings WEBPACK_LOADER N/A DEFAULT_CONFIG N/A STATS_FILE w write N/A N/A json dumps N/A status compiling N/A then N/A N/A time time N/A request N/A N/A N/A self factory get / N/A result N/A view request N/A t N/A Thread target N/A self compile_bundles args N/A webpack.config.simple.js wait_for N/A t2 N/A Thread target N/A self compile_bundles args N/A webpack.config.app2.js wait_for N/A N/A N/A t start N/A N/A N/A t2 start N/A N/A result rendered_content N/A elapsed N/A N/A N/A time time then N/A N/A N/A t join N/A N/A N/A t2 join N/A N/A N/A self assertTrue N/A elapsed wait_for N/A N/A N/A self settings DEBUG False N/A N/A N/A N/A self compile_bundles webpack.config.simple.js N/A N/A N/A self compile_bundles webpack.config.app2.js N/A then N/A N/A time time N/A request N/A N/A N/A self factory get / N/A result N/A view request N/A N/A result rendered_content N/A elapsed N/A N/A N/A time time then N/A N/A N/A self assertTrue N/A elapsed wait_for N/A N/A