Commit 40a94909 authored by Zhao, Junchen's avatar Zhao, Junchen

Initial commit

parents
File added
This source diff could not be displayed because it is too large. You can view the blob instead.
if ImportError, renamed to e, exception is caught,
if ImportError, renamed to e, is caught,
if ImportError exception occurred,
if ImportError exception is caught,
if ImportError exception is caught,
if ImportError or AttributeError exception occurred,
if ImportError exception occurred,
if ImportError exception is caught,
if LookupError or ImportError, renamed to e, exceptions are caught,
if ImportError exception is caught,
if ImportError exception is caught,
if ImportError exception is caught,
if ImportError exception is caught,
if ImportError exception is caught,
if ImportError exception is caught,
if ImportError exception is caught,
if ImportError exception is caught,
if ImportError, renamed to exc, exception is caught,
if ImportError exception is caught,
if ImportError, rename it to e, exception is caught,
if ImportError, renamed to e, exception is caught,
if ImportError exception is caught.
if ImportError, AttributeError, renamed to e, exceptions are caught,
if ImportError exception is caught.
if ImportError exception is caught,
if ImportError, renamed to e, exception is caught,
if ImportError exception is caught,
if ImportError exception is caught,
if imoportError exception is caught,
if ImportError exception is caught,
if ImportError exception is caught,
if ImportError exception is caught,
if ImportError exception is caught,
if ImportError exception is caught,
yield the result. if ImportError exception is caught,
if ImportError exception is caught.
call the function six.reraise with 3 arguments: ImportError, instance of ImportError class created with an argument msg,
call the function six.reraise with 3 arguments: ImportError, instance of ImportError class created with an argument msg,
if ImportError, renamed to e, exception is caught,
if ImportError exception is caught,
if ImportError exception is caught,
if ImportError exception is caught,
if ImportError exception is caught,
if ImportError exception is caught,
except ImportError.
if ImportError exception is caught,
if ImportError exception is caught,
if six.PY3 is true,
if six.PY3 is boolean True,
if six.PY3 is boolean True,
if six.PY3 is true,
if six.PY3 is true,
if six.PY3 is true,
if six.PY3 is true,
convert six.PY3 to an integer, substitute it for buffering.
if six.PY3 is true,
if six.PY3 is true,
if six.PY3 is true,
if six.PY3 is true,
if PY3 filed of six is boolean True,
if PY3 field of six is boolean True,
if PY3 field of module six is boolean True,
if six.PY3 is true,
if six.PY3 is true,
if six.PY3 is true,
if six.PY3 is true,
if six.PY3 is true,
if six.PY3 is true,
if first element of sys.version_info equals integer 3, PY3 is boolean True, otherwise it is boolean False.
if PY3 is true,
if PY3 is true,
if PY3 is true,
if PY3 is true,
if PY3 is true,
return it. if PY3 is true,
if PY3 is true,
if PY3 is true,
if six.PY3 is true,
if six.PY3 is true,
decorator stringfilter,
decorator stringfilter,
decorator stringfilter,
decorator stringfilter,
decorator stringfilter,
decorator stringfilter,
decorator stringfilter,
decorator stringfilter,
decorator stringfilter,
decorator stringfilter,
decorator stringfilter,
decorator stringfilter,
decorator stringfilter,
decorator stringfilter,
decorator stringfilter,
decorator stringfilter,
decorator stringfilter,
decorator stringfilter,
decorator stringfilter,
decorator stringfilter,
decorator stringfilter,
decorator stringfilter,
decorator stringfilter,
decorator stringfilter,
decorator stringfilter,
decorator stringfilter,
decorator stringfilter,
decorator stringfilter,
decorator stringfilter,
decorator stringfilter,
break from the smallest enclosing loop.
break from the endless loop.
break from the smallest enclosing loop.
breaks from the smallest enclosing loop execution.
break from the smallest enclosing loop execution.
break from the smallest enclosing loop execution.
break the execution of the smallest enclosing loop.
break the loop execution.
break the loop execution.
break the loop execution,
break from the loop execution,
and database set to value under the 'database' key of the options dictionary. break the loop execution.
break the loop execution.
break the loop execution.
break from this loop execution.
break the loop execution.
break the loop execution.
break the loop execution.
use the result and file_obj as arguments for the call to the method self._files.appendlist. break the loop execution.
break the loop execution.
break the loop execution.
break the loop execution.
break loop execution.
break from the loop execution,
break from the loop execution.
break from the loop execution.
break from the loop execution.
break from the loop execution,
break from the loop execution.
breaks from the smallest enclosing loop.
break from the loop execution.
break from the loop execution.
break from the loop execution.
break from the loop execution.
break from the loop execution,
skip this loop iteration.
break from the loop execution.
break from the loop execution
break from the loop execution.
break from the loop execution,
break the execution of the smallest enclosing loop.
break from the loop execution.
define the function get_cache with backend and dictionary pair of elements kwargs as arguments.
define the function _create_cache with backend and dictionary pair of elements kwargs as arguments.
define the function get_key_func with argument key_func.
docstirng
define the function make_template_fragment_key with fragment_name and vary_on defaulting to None as arguments.
define the function _check_test_runner with app_config set to None and kwargs dictionary as arguments.
define the function _check_boolean_field_default_value with app_config set to None and kwargs dictionary as arguments.
define the function _check_middleware_classes with app_config set to None and kwargs dictionary as arguments.
define the function check_all_models with app_configs defaulting to None and unpacked dictionary kwargs as arguments.
call the model.check method with unpacked dictionary kwargs for every model in return value of function apps.get_models,
define the function check_model_signals with app_config defaulting to None and unpacked dictionary kwargs as arguments,
define the method inner with argument check.
substitute connection.queries for value under the 'debug' key of the context_extras dictionary.
define the function get_image_dimension with file_or_path and close set to boolean False as the arguments.
define the function lock with arguments f and flags.
define the function lock with arguments f and flags.
define the function lock with arguments f and flags.
define the function copystat with arguments src and dst.
define the function _samefile with arguments src and dst.
define the function file_move_safe with 4 arguments: old_file_name, new_file_name, chunk_size set to multiple of integers 1024 and 64,
use the result as an argument for the call to the function datetime.fromtimestamp, return the result. define the function get_storage_class with argument import_path=None defaulting to None.
define the method from_dict with argument cls and file_dict.
define the get_path_info function with environ as the argument.
define get_script_name function with environ as an argument.
'SafeMIMEMultipart', 'DEFAULT_ATTACHMENT_MIME_TYPE', 'make_msgid', 'BadHeaderError', 'forbid_multi_line_headers', 'get_connection', 'send_mail', 'send_mass_mail', 'mail_admins' and 'mail_managers'. define function get_connection with backend set to None, fail_silently set to boolean False and dictionary kwds as arguments.
define send_mail funtion with subject, message, from_email, recipient_list, fail_silently set to boolean False,
if connection exists dont modify it, if not call get_connection function with username set to auth_user, password set to auth_password, fail_silently set to fail_silently as arguments, assign it to connection.
call the EmailMultiAlternatives function with, subject, message, from_email, recipient_list and connection set to connection, as arguments, assign the result to mail.
define the function send_mass_mail with, datatuple, fail_silently set to False, auth_user set to None, auth_password set to None,
if connection exists dont change it, if not call the get_connection function with username set to auth_user,
for every subject, message, sender and recipient in datatuple, store the results in the messages list. return evaluated result of the method connection.send_messages with messages as argument.
define the function mail_admins with subject, message, fails_silently set to boolean False, connection set to None,
define the function mail_managers with subject, message, fails_silently set to boolean False, connection set to None,
call the method self.connection.starttls.
define the function make_msgid with argument idstring set to None.
'resent-to', 'resent-cc' and 'resent-bcc'. define the function forbid_multi_line_headers with arguments: name, val and encoding.
define the function sanitize_address with arguments addr and encoding.
substitute connection for self.connection.
call the function get_connection with argument fail_silently set to fail_silently, substitute it for self.connection.
define the function find_commands with an argument management_dir.
define the function load_command_class with arguments: app_name and name.
for every app_config in reversed list created out of the return value of the function apps.get_app_configs,
call the method commands.update, with an argument dictionary containing entries: app_config_name for name, for every name in return value of the function find_commands, called with an argument path.
append tuple containing two entries: app_config.label and integer 0 to options, for every app_config in app_configs.
define the function execute_from_command_line with an argument argv set to None.
get the value under the 'database' key of the options dictionary, if it doesnt exists use the DEFAULT_DB_ALIAS to address an element
from the connections list, substitute it for connection. call the method connection.ops.start_transaction_sql, if it evaluates to true,
if app_config is None,
app_configs is a list containing app_config.
for eery app_config in app_configs,
call the self.handle_app_config method with app_config and options as arguments, substitute the result for app_output.
RemovedInDjango19Warning and stacklevel set to integer 2. if app_config.models_module is None,
call the function handle_app with 2 arguments: app_config.models_module and unpacked dictionary options.
define the function has_bom with fn as argument.
substitute value under the database key of the connections dictionary for connection.
if tablename is contained in return value of the method connection.introspection.table_names,
substitute connection.ops.quote_name for qn.
field_output is an list containing 2 elements: return value of the function qn called with an argument f.name,
evaluate method transaction.atomic with arguments: using set to database and savepoint set to connection.features.can_rollback_ddl,
with the result, evaluate method connection.cursor, with return value as curs,
get the value under the 'database' key of the options dictionary, use it as a key to access the element under the connections dictionary, substitute it for connection.
call the method connection.client.runshell.
define the function module_to_dict with 2 arguments: module and omittable as a lambda function with an argument k,
call the method apps.get_app_config with an argument exclude, substitute the result for app_config.
add app_config to excluded_apps set.
app_list is an instance of OrderedDict class, created with an argument a tuple containing elements: app_config and None,
call the method apps.get_app_config with an argument app_label, substitute the result for app_config.
if app_config.models_module is None or app_config is contained in excluded_apps,
call the method app_config.get_model with an argument model_label, substitute the result for model.
call the method app_list.setdefault with 2 arguments app_config and an empty list, substitute the result for app_list_value.
call the method apps.get_app_config with an argument app_label, substitute the result for app_config.
if app_config.models_module is None or app_config is contained in excluded_apps
value under the app_config key of the app_list is None.
define the function sort_dependencies with an argument app_list.
for every app_config and model_list in app_list,
call the method app_config.get_models, substitute the result fr model_list.
substitute value under the database key of the connections dictionary for connection.
for every app_config in return value of the method apps.get_app_configs,
call the function import_module with 2 arguments: string .management and app_config.name.
call the method transaction.atomic with 2 arguments: using set to database, savepoint set to connection.features.can_rollback_ddl,
with the result, call the method connection.cursor, with the result as cursor,
define the method emit_post_migrate with arguments verbosity, interactive and database.
for every app_config in return value of the method apps.get_app_configs,
call the method router.get_migratable_models with arguments app_config, database and include_auto_created set to boolean True,
get value under the 'database' key of the options dictionary, use it as a key to get the value from the connections dictionary,
otherwise returns s. call the method connection.cursor, with the result as cursor,
for every table_name in return value of the method connection.introspection.table_names called with an argument cursor,
call the method connection.introspection.get_relations with 2 arguments cursor, table_name and substitute the result for relations.
call the method connection.introspection.get_relations with 2 arguments cursor, table_name and substitute the result for indexes.
for every i and row in enumerated result of the method connection.introspection.get_table_description called with arguments: cursor and table_name,
get the value under the self.using key of the connections dictionary, substitute it for connection.
call the method connection.constraint_checks_disabled, with the result perform,
call the method connection.check_constraints with an arguments table_names set to table_names.
call the method connection.cursor, with the result renamed to cursor, perform the following,
for ever app_config in return value of the method apps.get_app_configs,
define the function humanize with an argument dirname.
define the method check_programs with an argument unpacked list programs.
define the function write_pot_file with 2 arguments potfile and msgs.
for every app_config in return value of the call to the function apps.get_app_configs,
if call to the function module_has_submodule with app_config.module and "management" evaluates to True.
import module '.management' from the package app_config.name.
substitute connections element at the index of the value db for connections.
call the connection.cursor method, substitute the result for cursor.
call the connection.introspection.table_names with cursor as argument, store the result in tables.
call the connection.introspection.table_names with tables as argument, store the result in seen_models.
for every app_config in return value of the method apps.get_app_configs if app_config.models_module is not None,
and app_config.label is contained in app_labels, create a tuple containing app_config.label and return value of the method router.get_migratable_models called with app_config, connection.alias and include_auto_created set to True, append the tuple to the list all_models. define the method model_installed with model as an argument.
substitute connection.introspection.table_name_converter for converter.
with the call to the transaction.atomic method with using set to connection.alias, savepoint set to connection.features.can_rollback_ddl as arguments,
app_name and model._meta.object_name, respectively. evaluate connection.creation.sql_create_model method with model, no_style() and seen_models as arguments,
call the connection.creation.sql_for_pending_references method with refto, no_style() and pending_references as arguments,
use the result as the argument for the call to the sql.extend method. call the connection.creation.sql_for_pending_references method with refto, no_style() and pending_references as arguments,
call the connection.cursor method, substitute it for cursor.
call the method custom_sql_for_model with model, no_style() and connection as arguments, substitute the result for custom_sql.
with call to the function transaction.atomic with using set to connection.alias as argument,
call the connection.creation.sql_indexes_for_model with model and no_style() as arguments, substitute the result for index_squl.
with call to the function transaction.atomic with using set to connection.alias and savepoint set to connection.features.can_rollback_ddl, as arguments.
loader is instance of MigrationLoader initialized with connection as an argument.
if app_config.models_module is None,
get the value under the 'database' key of the options dictionary, use it as the key to get the value from the connections dictionary, substitute the result for connection.
call the function sql_create with 3 arguments: app_config, self.style and connection, substitute the result for statements.
if app_config.models_module is None,
get the value under the 'database' key of the options dictionary, use it as the key to get the value from the connections dictionary, substitute the result for connection.
call the function sql_all with 3 arguments: app_config, self.style and connection, substitute the result for statements.
if app_config.models_module is None,
get the value under the 'database' key of the options dictionary, use it as the key to get the value from the connections dictionary, substitute the result for connection.
call the function sql_destroy_indexes with 3 arguments: app_config, self.style and connection, substitute the result for statements.
if app_config.models_module is None,
extract the value under the key 'database' from the options dictionary, use the value for indexing connections list, substitute the result for connection.
call the function sql_custom with app_config, self.style and connection as the arguments, substitute the result for statements.
if app_config.models_module is None.
get the value under the 'database' key of the options dictionary, use it as the key to get the value from the connections dictionary, substitute the result for connection.
call the function sql_destroy_indexes with 3 arguments: app_config, self.style and connection, substitute the result for statements.
if app_config.models_module is None,
get the value under the 'database' key of options dictionary, use it as a index to get connections list element, store it in connection.
call the function sql_indexes with app_config, self.style and connection as arguments, store the result in statements.
get the value under the key 'database' of the options dictionary, use it as a index to get an element from connections, substitute it for connection.
call the MigrationExecutor with the connection as the argument, substitute it for executor.
if app_config.models_module is None,
get the value under the 'database' key of the options dictionary,
use the result as a key to get the value from the connections dictionary, substitute the result for connection. call the function check_for_migrations with 2 arguments: app_config and connection.
call the method connection.ops.sequence_reset_sql with 2 arguments self.style and models, substitute the result for statements.
call the method connection.creation.create_test_db with verbosity set to verbosity, autoclobber set to inverse value of interactive,
substitute connection.features.test_db_allows_multiple_connections for use_threading.
define the function check_for_migrations with 2 arguments: app_config and connection.
loader is an instance of MigrationLoader class, created with an argument connection.
if app_config.label is contained in loader.migrated_apps,
define the function sql_create with 3 arguments: app_config, style and connection.
call the function check_for_migrations with an arguments app_config, connection.
"because you haven't properly specified the ENGINE setting for the database.\n see: https://docs.djangoproject.com/en/dev/ref/settings/#databases". call the method app_config.get_models with an argument include_auto_created set to boolean True, substitute it for app_models.
call the method connection.introspection.table_names, substitute the result for tables.
if model is not contained in app_models for every model in return value of the connection.introspection.installed_models function return value,
for every model in return value of the function router.get_migratable_models, called with arguments:
app_config, connection.alias and include_auto_created set to boolean True. call the method connection.creation.sql_create_model with arguments model, style and known_models, substitute the result for output and references.
call the method connection.creation.sql_for_pending_references with 3 arguments: refo, style and pending_references,
use the result as an argument for the call to the method final_output.extend. call the method connection.creation.sql_for_pending_references with 3 arguments: refo, style and pending_references,
for every sql in return value of the function connection.creation.sql_for_pending_references called with arguments: model, style,
define the function sql_delete with 4 arguments: app_config, style, connection and close_connection set to boolean True.
call the function check_for_migrations with arguments app_config and connection.
call the method connection.cursor, substitute the result for cursor.
call the method connection.introspection.table_names with an argument cursor, substitute the result for table_names.
call the method router.get_migratable_models with argument: app_config, connection.alias and include_auto_created set to True, substitute the result for app_models.
if cursor is true and return value of the function connection.introspection.table_name_converter called with an arugment: model._meta.db_table is contained in table_names,
if return value of the function connection.introspection.table_name_converter called with an arugment: model._meta.db_table is contained in table_names
call the method connection.creation.sql_destroy_model with arguments: model, references_to_delete and style, extend with the result the list output.
call the method connection.close,
call the method connection.introspection.django_table_names with an argument boolean true, substitute the result for tables.
call the method connection.introspection.table_names, substitute the result for tables.
call the method connection.introspection.sequence_list if reset_sequences is true, substitute the result for seqs, if not, seqs is an empty tuple.
call the method connection.ops.sql_flush with arguments: style, tables, seqs and allow_cascade, substitute the result for statements.
define the function sql_custom with 3 arguments: app_config, style and connection.
call the method check_for_migrations with arguments: app_config and connection.
call the method router.get_migratable_models with arguments app_config and connection.alias.
call the function custom_sql_for_model with 3 arguments: model, style and connection, extend the output with the result.
define the function sql_indexes with 3 arguments: app_config, style and connection.
call the function check_for_migrations with an arguments app_config and connection.
for model in router.get_migratable_models method return value, called with 3 arguments: app_config, connection.alias,
and include_auto_created set to boolean True, call the method connection.creation.sql_indexes_for_model with arguments model and style, extend output with the result.
define the function sql_destroy_indexes with 3 arguments: app_config, style and connection.
call the function check_for_migrations with arguments app_config and connection.
for model in return value of the method router.get_migratable_models with arguments app_config, connection.alias,
and include_auto_created set to boolean True, call the method connection.creation.sql_destroy_indexes_for_model with arguments model and style, extend the output with the result.
define the function sql_all with 3 arguments: app_config, style and connection.
call the function check_for_migrations with arguments app_config and connection.
use the app_config, style and connection as arguments for the call to the sql_create, sql_custom and sql_indexes functions, append the results respectively, return the result.
define the function _split_statements with an argument content.
define the function custom_sql_for_model with 3 arguments: app_config, style and connection.
define the function emit_pre_migrate_signal with 4 arguments: create_models, verbosity, interactive and db.
for app_config in return value of the method apps.get_app_configs,
if app_config.models_module is None,
call the method models.signals.pre_migrate.send with 5 arguments: sender set to app_config, app_config set to app_config,
verbosity set to verbosity, interactive set to interactive and using set to db. call the method models.signals.pre_syncdb.send with 6 arguments: sender set to app_config.models_module,
app set to app_config.models_module, create_models set to create_models, verbosity set to verbosity, interactive set to interactive, and db set to db. define the function emit_post_migrate_signal with 4 arguments: created_models, verbosity, interactive and db.
for app_config in return value of the method apps.get_app_configs,
if app_config.models_module is None,
call the method models.signals.post_migrate.send with 5 arguments: sender set to app_config, app_config set to app_config,
verbosity set to verbosity, interactive set to interactive and using set to db. call the method models.signals.post_syncdb.send with 6 arguments: sender set to app_config.models_module,
define the function cleanup_url with an argument url.
define the function popen_wrapper with 2 arguments: args and os_err_exc_type set to CommandError.
DEFAULT_LOCALE_ENCODING and strings_only set to boolean True and p.returncode. define the function handle_extensions with 2 arguments: extensions set to tuple containing string 'html' and ignored set to tuple containing string 'py'.
define the function register_serializer with 3 arguments: format, serializer_module and serializers set to None.
define the function unregister_serializer with an argument format.
define the function get_serializer with an argument format.
only if v.Serializer.internal_use_only is false, return the resulting list. define the function get_deserializer with an argument format.
define the function serializer with 3 arguments: format, queryset and unpacked dictionary options.
define the function deserialize with 3 arguments: format, stream_or_string and unpacked dictionary options.
define the function Deserializer with arguments stream_or_string and unpacked dictionary options.
define the function Deserializer with arguments object_list and unpacked dictionary options.
define the function _get_model with an argument model_identifier.
define the function Deserializer with 2 arguments: stream_or_string and unpacked dictionary options.
define the function runfastcgi with 2 arguments: argset set to an empty list and unpacked dictionary kwargs.
use the result as an argument for the call to the b64_encode function, return the result. define the function get_cookie_signer with an argument salt set to string 'django.core.signing.get_cookie_signer'.
define the function dumps with 5 arguments: obj, key set to None, salt set to string 'django.core.signing',
define the function loads with 5 arguments: s, key set to None, salt set to string 'django.core.signing',
define the function get_callable with arguments lookup_view and can_fail set to boolean False.
define the function get_resolver with an argument urlconf.
define the function get_ns_resolver with arguments ns_pattern and resolver.
define the function get_mod_func with an argument callback.
define the function set_script_prefix with an argument prefix.
define the function set_urlconf with an argument urlconf_name.
define the function get_urlconf with an argument default set to None.
tuple containing 2 elements: list with an element validate_ipv4_address and return value of the function _ with an argument string, 'Enter a valid IPv4 address.' for 'ipv4' and tuple containing 2 elements: list with an element validate_ipv6_address, and return value of the function _ with an argument string 'Enter a valid IPv6 address.' for 'ipv6'. define the function ip_address_validators with arguments protocol and unpack_ipv4.
define the function split_url with an argument url.
define the function get_declared_fields with 3 arguments: bases, attrs and with_base_fields set to boolean True.
define the method __new__ with 4 arguments: mcs, name, bases and attrs.
define the method get_default_prefix with an argument cls.
is derived from the formset base class and with fields contained in attrs, return an instance of the obtained class. define the function all_valid with an argument formsets.
define the function construct_instance with 4 arguments: form, instance, fields set to None and exclude set to None.
define the function model_to_dict with 3 arguments: instance, fields set to None and exclude set None.
define the function fields_for_model with 9 arguments: model, fields set to None, exclude set to None, widgets set to None,
define the method __new__ with 4 arguments: mcs, name, bases and attrs.
define the function modelform_factory with 10 arguments: model, form set to ModelForm, fields set to None, exclude set to None,
define the method pk_is_not_editable with an argument pk.
define the method get_default_prefix with an argument cls.
define the function _get_foreign_key with 4 arguments: parent_model, model, fk_name set to None and can_fail set to boolean False.
define the function modelform_defines_fields with an argument form_class.
define the function media_property with an argument cls.
define the method __new__ with 4 arguments mcs, name, bases and attrs.
define the function parse_cookie with cookie as the argument.
define the function exhaust with an argument stream_or_iterable.
define the function parse_boundary_stream with arguments stream and max_header_size.
define the method _parse_header with an argument line.
define the function parse_header with an argument line.
define the function build_request_repr with arguments: request, path_override set to None, GET_override set to None,
define the function split_domain_port with an argument host.
define the method validate_host with 2 arguments: host and allowed_hosts.
define the function to_bytes with arguments val and encoding.
define the method compile_string with 2 arguments: template_string and origin.
define the next_space_index with 2 arguments: subject and i.
define the function import_library with an argument taglib_module.
add string '%s.templatetags' to a list, where '%s' is replaced with app_config.name,
define the function get_library with an argument library_name.
define the function add_to_builtins with an argument module.
define the function floatformat with 2 arguments text and arg set to integer -1.
define the function convert_old_style_list with an argument list_.
define the function _helper with 2 arguments list and tabs set to integer 1.
define the function filesizeformat with an argument bytes.
define the function include_is_allowed with an argument filepath.
define the function make_origin with 4 arguments: display_name, loader, name and dirs.
define the function find_template_loader with an argument loader.
define the function find_template with 2: template_name and dirs set to None.
define the function get_template with 2: template_name and dirs set to None.
define the function get_template_from_string with 3: source, origin set to None and name set to None.
define the function render_to_string with 4 arguments: template_name, dictionary set to None, context_instance set to None and dirs set to None.
define the function select_template with 2 arguments: template_name_list and dirs set to None.
call the function apps.get_app_configs, for every app_config in result,
call the method apps.get_app_configs, for app_config in the result,
call the function resource_string with 2 arguments app_config.name and pkg_name, substitute the result for resource.
PATTERN is a string "classdef< 'class' any+ ':'suite< any*funcdef< 'def' unifunc='__unicode__'parameters< '(' NAME ')' > any+ >any* > >".
define the function safe_join with 2 arguments base and unpacked dictionary paths.
for app_config in reversed list of apps.get_app_configs() elements,
define the method update_watch with sender defaulting to None and dictionary pair of elements kwargs.
define the function check_errors with argument fn.
define the function luhn with an argument candidate.
and digestmod set to hashlib.sha1, return the result. define the function constant_time_compare with 2 arguments: length set to integer 12,
define the function constant_time_compare with 2 arguments: val1 and val2.
call the function constant_time_compare with 2 arguments: val1 and val2.
define the function _long_to_bin with 2 arguments: x and hex_format_string.
define the function pbkdf2 with 5 arguments: password, salt, iterations, dklen set to integer 0 and digest set to None.
define the function pbkdf2 with 5 arguments: password, salt, iterations, dklen set to integer 0 and digest set to None.
define the function become_daemon with 4 argument: our_home_dir set to '.', out_log set to None, err_log set to None,
define the method combine with 3 arguments: cls, date and time.
define the function _findall with 2 arguments text and substr.
define the function strftime with 2 arguments dt and fmt.
define the function decorator with an argument klass.
define the function method_decorator with an argument decorator.
define the function bound_func with 2 arguments: unpacked list args2 and unpacked dictionary kwargs2.
define the function decorator_from_middleware_with_args with an argument middleware_class.
define the function decorator_from_middleware with an argument middleware_class.
define the function available_attrs with an argument fn.
define the function make_middleware_decorator with an argument middleware_class.
define the function make_decorator with 2 arguments: unpacked list m_args and unpacked dictionary m_kwargs.
substitute the middleware. define the function _decorator with an argument view_func.
define the method __new__ with 4 arguments: cls, name, bases and attrs.
define the function _checkLevel with an argument level.
define the function dictConfig with an argument config.
and replace %r with self.obj, return the result. define function python_2_unicode_compatible, with klass as an argument.
define the function smart_text, with s, encoding set to string 'utf-8', strings_only set to False, errors set to 'strict' as arguments.
define the function force_text, with s, encoding set to 'utf-8', strings_only set to False, errors set to string 'strict' as arguments.
define function smart_bytes with s, encoding set to string 'utf-8', strings_only set to False and errors set to string 'strict', as arguments.
define function force_bytes with s, encoding set to 'utf-8', strings_only set to False and errors set to 'strict' as arguments.
define the function iri_to_uri with iri as an argument.
define the function rfc2822_date with an argument date.
define the function rfc3339_date with an argument date.
define the function get_tag_uri with 2 arguments: url and date.
define the function iter_format_modules with 2 arguments: lang and format_module_path set to None.
define the function get_format_modules with 2 arguments: lang set to None and reverse set to boolean False.
define the function get_format with 3 arguments: format_type, lang set to None and use_l10n set to None.
format, if its true, otherwise string 'TIME_FORMAT' and use_l10n as use_l10n, return the result. define the function number_format with 4 arguments: value, decimal_pos set to None, use_l10n set to None,
define the function _curried with 2 arguments: unpacked list moreargs and unpacked dictionary morekwargs.
define the method __prepare_class__ with an argument self.
define the method __promise__ with 4 arguments: cls, klass, funcname and method.
define the method __new__ with 5 arguments: cls, fget set to None, fset set to None, fdel set to None and doc set to None.
define the function fget with 3 arguments: instance, instance_type set to None and name set to fget.__name__.
define the function fset with 3 arguments: instance, valse to None and name set to fset.__name__.
define the function fdel with 2 arguments: instance and name set to fdel.__name__.
define the function partition with 2 arguments: predicate and values.
define the function total_ordering with an argument cls.
use the result as an argument for the call to the function mark_safe, return the result. define the function format_html_join with 3 arguments: sep, format_string and args_generator.
define the function remove_tags with 2 arguments: html and tags.
define the function smart_urlquote with an argument url.
define the function trim_url with 2 arguments: x and limit set to trim_url_limit.
substitute the result for ASCTIME_DATE. define the function urlquote with 2 arguments: url and safe set to '/'.
define the function urlquote_plus with 2 arguments: url and safe set to an empty string.
define the function urlunquote with an argument quoted_url.
define the function urlunquote with an argument quoted_url.
define the function urlencode with 2 arguments query and doseq set to integer 0.
and list with results of the function force_str with an argument i, for every i in v, only if v is a list or a tuple, otherwise second element is result of the function force_str with an argument v, for every k and v in query, and doseq, return the result. define the function cookie_date with an argument epoch_seconds set to None.
and elements of rfcdate from 12-th to the 25-th index. define the function http_date with an argument epoch_seconds set to None.
define the function parse_http_date with an argument date.
"%r is not a valid date" formated with date and third element of the result of the function sys.exc_info. define the function parse_http_date_safe an argument date.
define the function parse_etags with an argument etag_str.
define the function quote_etag with an argument etag.
is replaced with '\\"'. define the function same_origin with 2 arguments url1 and url2.
define the function is_safe_url with 2 arguments url and host set to None.
RemovedInDjango19Warning and stacklevel set to integer 2. define the function _resolve_name with 3 arguments: name, package and level.
define the function import_module with 3 arguments: name and package set to None.
define the function clean_ipv6_address with 3 arguments: ip_str, unpack_ipv4 set to boolean False and error_message,
define the function _sanitize_ipv4_mapping with an argument ip_str.
define the function _unpack_ipv4 with an argument ip_str.
define the function is_valid_ipv6_address with an argument ip_str.
define the function _explode_shorthand_ip_string with an argument ip_str.
define the function _is_shorthand_ip with an argument ip_str.
define the function literals with 3 arguments: choices, prefix set to an empty string and suffix set to an empty string.
define the function prepare_js_for_gettext with an argument js.
and 3 additional pairs of dictionaries for string. define the function configure_logging with 2 arguments: logging_config and logging_settings.
otherwise html_message is None. call the method mail.mail_admins with 5 arguments: subject, message, fail_silently as boolean True, tml_message as html_message,
define the function lru_cache with 2 arguments maxsize set to integer 100 and typed set to boolean False.
define the function decorating_function with an argument user_function.
define the function import_string with an argument dotted_path.
and third element of result of the function sys.exc_info. define the function import_by_path with 2 arguments dotted_path and error_prefix set to an empty string..
call the method apps.get_app_configs, for every app_config in the result,
call the function import_module with an argument string '%s.%s', where '%s' is replaced with app_config.name and module_to_search.
if call to the function module_has_submodule with 2 arguments: app_config.module and module_to_search evaluates to true,
define the function module_has_submodule with 2 arguments: package and module_name.
define the function module_has_submodule with 2 arguments: package and module_name.
define the function format with 6 arguments: number, decimal_sep, decimal_pos set to None, grouping set to integer 0,
define the function normalize with an argument pattern.
define the function next_char with an argument input_iter.
define the function walk_to_end with 2 arguments ch and input_iter.
define the function get_quantifier with 2 arguments ch and input_iter.
define the function contains with 2 arguments source and inst.
define the function flatten_result with an argument source.
define the function get_unbound_function with an argument unbound.
define the function get_unbound_function with an argument unbound.
define the function iterkeys with 2 arguments: d and unpacked dictionary kw.
return it. define the function itervalues with 2 arguments: d and unpacked dictionary kw.
return it. define the function iteritems with 2 arguments: d and unpacked dictionary kw.
return it. define the function iterlists with 2 arguments: d and unpacked dictionary kw.
define the function byte2int with an argument bs.
define the function indexbytes with 2 arguments buf and i.
define the function iterbytes with an argument buf.
define the function exec with 3 arguments: _code_, _globs_ set to None and _locs_ set to None.
define the function with_metaclass with 2 arguments meta and unpacked list bases.
define the method __new__ with 4 arguments: cls, name, this_bases and d.
define the function add_metaclass with an argument metaclass.
define the function wrapper with an argument cls.
and '8' for 'conceal'. define the method colorize with 3 arguments: text set to an empty string, opts set to an empty tuple and unpacked dictionary kwargs.
return the string. define the function make_style with 2 arguments: opts set to an empty tuple and unpacked dictionary kwargs.
define the function parse_color_setting with an argument config_string.
define the function wrap with 2 arguments text and width.
define the function get_text_list with 2 arguments: list_ and last_word set to result of the function ugettext_lazy called with an argument string 'or'.
define the function normalize_newlines with an argument text.
define the function phone2numeric with an argument phone.
define the function compress_sequence with an argument sequence.
define the function fix with an argument match.
and re.VERBOSE, substitute the result for smart_split_re. define the function smart_split with an argument text.
define the function _replace_entity with an argument match.
define the function unescape_entities with an argument text.
define the function get_fixed_timezone with an argument offset.
define the function _get_timezone_name with an argument timezone.
define the function ngettext with 3 arguments: singular, plural and number.
define the function ungettext with 3 arguments: singular, plural and number.
define the function npgettext with 4 arguments: context, singular, plural and number.
define the function ngettext_lazy with 3 arguments: singular, plural and number set to None.
and number set to number, return the result. define the function ungettext_lazy with 3 arguments: singular, plural and number set to None.
and number set to number, return the result. define the function npgettext_lazy with 4 arguments: context, singular, plural and number set to None.
define the function check_for_language with an argument lang_code.
define the function templatize with 2 arguments: src and origin set to None.
define the function _string_concat with an argument unpacked list strings.
define the function get_language_info with an argument lang_code.
define the function ngettext with 3 arguments: singular, plural and number.
define the function ungettext with 3 arguments: singular, plural and number.
define the function ngettext with 4 arguments: context, singular, plural and number.
define the function to_locale with 2 arguments language and to_lower set to boolean False.
define the function to_language with an argument locale.
"apps registry is ready. Check that you don't make non-lazy gettext calls at import time.". for every app_config in app_configs,
define the function do_ntranslate with 4 arguments: singular, plural, number and translation_function.
define the function ngettext with 3 arguments: singular, plural and number.
define the function ungettext with 3 arguments: singular, plural and number.
define the function npgettext with 4 arguments: context, singular, plural and number.
define the function check_for_language with an argument lang_code.
define the function get_supported_language_variant with 2 arguments: lang_code and strict set to boolean False.
define the function blankout with 2 arguments: src and char.
define the function templatize with 2 arguments: src and origin set to None.
define the function join_tokens with 2 arguments: tokens and trim set to boolean False.
define the function parse_accept_lang_header with an argument lang_string.
define the method _new_instance with 4 arguments: (cls, children set to None, connector set to None and negated set to boolean False.
define the function get_major_version with an argument version defaulting to None.
define the function get_complete_version with in argument version, defaulting to None.
This source diff could not be displayed because it is too large. You can view the blob instead.
except ImportError as e :
except ImportError as e :
except ImportError :
except ImportError :
except ImportError :
except ( ImportError , AttributeError ) :
except ImportError :
except ImportError :
except ( LookupError , ImportError ) as e :
except ImportError :
except ImportError :
except ImportError :
except ImportError :
except ImportError :
except ImportError :
except ImportError :
except ImportError :
except ImportError as exc :
except ImportError :
except ImportError as e :
except ImportError as e :
except ImportError :
except ( ImportError , AttributeError ) as e :
except ImportError :
except ImportError :
except ImportError as e :
except ImportError :
except ImportError :
except ImportError :
except ImportError :
except ImportError :
except ImportError :
except ImportError :
except ImportError :
except ImportError :
except ImportError :