MCPcopy Index your code

hub / github.com/django-compressor/django-compressor / functions

Functions454 in github.com/django-compressor/django-compressor

↓ 1 callersFunctionget_apps_with_staticfiles_using_appconfig
(apps)
compressor/tests/test_utils.py:18
↓ 1 callersMethodget_compressor
(self, context, kind, log, verbosity)
compressor/templatetags/compress.py:39
↓ 1 callersMethodget_file_path
(self, url)
compressor/filters/datauri.py:29
↓ 1 callersMethodget_filecontent
Reads file contents using given `charset` and returns it as text.
compressor/base.py:200
↓ 1 callersMethodget_filepath
Returns file path for an output file based on contents. Returned path is relative to compressor storage's base url, for exam
compressor/base.py:130
↓ 1 callersFunctionget_hashed_content
(filename, length=12)
compressor/cache.py:123
↓ 1 callersMethodget_init_context
(self, offline_context)
compressor/offline/django.py:116
↓ 1 callersMethodget_nodelist
(self, node, original, context=None)
compressor/offline/django.py:129
↓ 1 callersMethodget_nodelist
(self, node)
compressor/offline/jinja2.py:111
↓ 1 callersMethodget_template_name
Returns the template path for the given mode.
compressor/base.py:92
↓ 1 callersFunctionget_templatetag_cachekey
(compressor, mode, kind)
compressor/cache.py:99
↓ 1 callersFunctionhandle_extendsnode
Create a copy of Node tree of a derived template replacing all blocks tags with the nodes of appropriate blocks. Also handles {{ block.super }
compressor/offline/django.py:20
↓ 1 callersMethodhandle_extensions
organizes multiple extensions that are separated with commas or passed by using --extension/-e multiple times. for example:
compressor/management/commands/compress.py:359
↓ 1 callersMethodlist
(self, ignore_patterns)
compressor/finders.py:15
↓ 1 callersFunctionmain
()
compressor/tests/precompiler.py:6
↓ 1 callersMethodoutput
(self, *args, **kwargs)
compressor/js.py:38
↓ 1 callersMethodoutput_file
The output method that saves the content to a file and renders the appropriate template with the file's URL.
compressor/base.py:386
↓ 1 callersMethodpost_process_url
Extra URL processing, to be overridden in subclasses.
compressor/filters/css_default.py:111
↓ 1 callersMethodprecompile
Processes file using a pre compiler. This is the place where files like coffee script are processed.
compressor/base.py:298
↓ 1 callersMethodprocess_node
(self, template, context, node)
compressor/offline/django.py:119
↓ 1 callersMethodprocess_template
(self, template, context)
compressor/offline/django.py:113
↓ 1 callersMethodrender_cached
If enabled checks the cache for the given compressor's cache key and return a tuple of cache key and output
compressor/templatetags/compress.py:91
↓ 1 callersMethodrender_node
(self, template, context, node)
compressor/offline/django.py:126
↓ 1 callersMethodrender_nodelist
(self, template, context, node)
compressor/offline/django.py:122
↓ 1 callersMethodrender_offline
If enabled and in offline mode, and not forced check the offline cache and return the result if given
compressor/templatetags/compress.py:66
↓ 1 callersFunctionscript_prefix
Override ``SCRIPT_NAME`` WSGI param, yield, then restore its original value. :param new_prefix: New ``SCRIPT_NAME`` value.
compressor/tests/test_offline.py:94
↓ 1 callersMethodsetUp
(self)
compressor/tests/test_offline.py:117
↓ 1 callersMethodsplit_contents
(self)
compressor/css.py:9
↓ 1 callersMethodsplit_contents
(self)
compressor/js.py:9
↓ 1 callersMethodtest_css_absolute_filter
(self)
compressor/tests/test_filters.py:299
↓ 1 callersMethodwalk_nodes
(self, node, original=None, context=None)
compressor/offline/django.py:152
↓ 1 callersFunctionwrite_offline_manifest
(manifest)
compressor/cache.py:91
MethodJINJA2_GET_ENVIRONMENT
()
compressor/conf.py:88
Method__getattr__
(self, name)
compressor/parser/__init__.py:25
Method__hash__
(self)
compressor/tests/test_offline.py:65
Method__init__
(self, location=None, base_url=None, *args, **kwargs)
compressor/storage.py:137
Method__init__
( self, resource_kind, content=None, output_prefix=None, context=None,
compressor/base.py:36
Method__init__
(self, content)
compressor/parser/base.py:6
Method__init__
(self, content)
compressor/parser/__init__.py:21
Method__init__
(self, content)
compressor/parser/default_htmlparser.py:17
Method__init__
(self, content)
compressor/parser/html5lib.py:10
Method__init__
(self, content)
compressor/parser/beautifulsoup.py:8
Method__init__
(self, content)
compressor/parser/lxml.py:15
Method__init__
(self, nodelist, kind=None, mode=OUTPUT_FILE, name=None)
compressor/templatetags/compress.py:139
Method__init__
(self, rendered)
compressor/tests/test_offline.py:962
Method__init__
(self, content, attrs, filter_type=None, filename=None, charset=None)
compressor/tests/test_base.py:36
Method__init__
(self, content, attrs, filter_type=None, filename=None, charset=None)
compressor/tests/test_base.py:46
Method__init__
(self, *args, **kwargs)
compressor/filters/yui.py:8
Method__init__
(self, *args, **kwargs)
compressor/filters/base.py:87
Method__init__
(self, content, command=None, **kwargs)
compressor/filters/base.py:137
Method__init__
(self, mimetype, *args, **kwargs)
compressor/filters/base.py:242
Method__init__
(self, *args, **kwargs)
compressor/filters/css_default.py:28
Method__init__
(self, *args, **kwargs)
compressor/filters/yuglify.py:8
Method__init__
(self, *args, **kwargs)
compressor/filters/jsmin/__init__.py:17
Method__init__
(self, charset)
compressor/offline/django.py:102
Method__init__
(self, charset, env)
compressor/offline/jinja2.py:66
Method__str__
(self)
compressor/tests/test_offline.py:59
Method__unicode__
(self)
compressor/tests/test_offline.py:62
Method_call_compress_template
(self, nodes, parser, offline_manifest, errors)
compressor/tests/test_offline.py:995
Method_compress_forced
(self, kind, mode, name, caller)
compressor/contrib/jinja2ext.py:79
Method_compress_normal
(self, kind, mode, name, caller)
compressor/contrib/jinja2ext.py:82
Method_prepare_contexts
(self, engine)
compressor/tests/test_offline.py:490
Method_prepare_contexts
(self, engine)
compressor/tests/test_offline.py:516
Method_render_result
(self, result, separator="\n")
compressor/tests/test_offline.py:581
Method_setup
(self)
compressor/storage.py:129
Method_setup
(self)
compressor/storage.py:148
Method_setup
(self)
compressor/tests/test_storages.py:19
Method_setup
(self)
compressor/tests/test_storages.py:26
Method_spaceless
(self, caller)
compressor/offline/jinja2.py:41
Method_test_offline
(self, engine, verbosity=0)
compressor/tests/test_offline.py:369
Method_test_offline
(self, engine, verbosity=0)
compressor/tests/test_offline.py:422
Method_test_offline
(self, engine, verbosity=0)
compressor/tests/test_offline.py:556
Method_test_offline
(self, engine, verbosity=0)
compressor/tests/test_offline.py:607
Method_test_offline
(self, engine, verbosity=0)
compressor/tests/test_offline.py:654
Method_test_offline
Test that a CommandError is raised with DEBUG being False as well as True, as otherwise errors in configuration will never show in
compressor/tests/test_offline.py:681
Method_test_offline
(self, engine, verbosity=0)
compressor/tests/test_offline.py:715
Method_test_offline
(self, engine, verbosity=0)
compressor/tests/test_offline.py:752
Method_test_offline
(self, engine, verbosity=0)
compressor/tests/test_offline.py:772
Method_test_offline
(self, engine, verbosity=0)
compressor/tests/test_offline.py:792
Method_test_offline
(self, engine, verbosity=0)
compressor/tests/test_offline.py:828
Method_test_offline
(self, engine, verbosity=0)
compressor/tests/test_offline.py:848
Method_test_offline
(self, engine, verbosity=0)
compressor/tests/test_offline.py:929
Methodaccessed_time
(self, name)
compressor/storage.py:42
Methodadd_arguments
(self, parser)
compressor/management/commands/compress.py:44
Methodadd_arguments
(self, parser)
compressor/management/commands/mtime_cache.py:13
MethodassertStrippedEqual
(self, result, expected)
compressor/tests/test_jinja2ext.py:18
Methodcached_filters
(self)
compressor/base.py:226
Methodcachekey
(self)
compressor/base.py:238
Methodcollapse
(s)
compressor/tests/test_base.py:172
Methodcompare
()
compressor/tests/test_base.py:530
Functioncompress
Data is the string from the template (the list of js files in this case) Name is either 'js' or 'css' (the sekizai namespace) Basically p
compressor/contrib/sekizai.py:17
Functioncompress
Compresses linked and inline javascript or CSS into a single cached file. Syntax:: {% compress <js/css> [<file/inline> [block_name]
compressor/templatetags/compress.py:166
Methodcompressors
(self)
compressor/templatetags/compress.py:28
Methodconfigure_cache_backend
(self, value)
compressor/conf.py:127
Methodconfigure_offline_context
(self, value)
compressor/conf.py:132
Methodconfigure_precompilers
(self, value)
compressor/conf.py:142
Methodconfigure_root
(self, value)
compressor/conf.py:107
Methodconfigure_template_filter_context
(self, value)
compressor/conf.py:137
Methodconfigure_url
(self, value)
compressor/conf.py:117
Methodcreated_time
(self, name)
compressor/storage.py:45
← previousnext →101–200 of 454, ranked by callers