src_19.txt 54.8 KB
Newer Older
Zhao, Junchen's avatar
Zhao, Junchen committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716
  define the method __setattr__ with self, name and value as arguments.
  set the attribute name from value under the DEFAULT_CACHE_ALIAS key of caches dictionary to value, return it.
  if value is None,
  add value and delta together, substitute the result for new_value.
  if value is None,
  if value is None,
  new_value is a sum of value and delta.
  default string value, substitute it for value.   return value if six.PY2 is true, if not return value.encode(ISO_8859_1).
  default string value, substitute it for value.   return value if six.PY2 is true, if not return value.encode(ISO_8859_1).decode(UTF_8).
  for every name and value in return value of the method self.extra_headers.items,
  substitute value for value under name key of msg dictionary.
  call the method m.group with an argument string 'value', use the result as an argument for the call to the force_str,
  call the function is_protected_type with an argument value, if it evaluates to true,
  call the method related.natural_key, substitute the result for value.
  value is None.
  m2m_value is an lambda function with value as an argument, return value is the result of the method value.natural_key.
  m2m_value is a lambda function with an argument value, return value is the result of the function smart_text called with arguments:
  define the function m2m_convert with an argument value.
  if value has an attribute '__iter__' and value is not an instance of six.text_type,
  substitute value.pk for value.
  define the function handle_m2m with an argument value,
  call the value.natural_key method, substitute the result for natural.
  define the function handle_m2m with an argument value,
  value is None.
  substitute value for self.value.
  self.__class__.__module__ and self.__class__.__name__, respectively, substitute the result for self.salt.   define the method signature with arguments self and value.
  define the method sign with arguments self and value.
  call the function force_str with an argument value, substitute the result for value.
  convert value, self.sep and return value of a method self.signature called with an argument value, concatenate them together, return the result.
  call the force_text function with an argument value, return the result.
  define the method sign with arguments self and value.
  call the force_str function with an argument value, substitute the result for value.
  convert value, self.sep and return value of the function timestamp, concatenate them, substitute the result for value.
  call the sign method from the base class of the TimestampSigner class with an argument value, return the result
  define the method unsign with arguments self, value and max_age set to None.
  call the unsign method from the base class of the TimestampSigner class with an argument value, substitute the result for result.
  call the result.rsplit method with arguments self.sep and integer 1, substitute the result for value and timestamp, respectively.
  return value.
  substitute prefix for _prefixes.values.
  get 'value' attribute of the _prefixes, if it exists, return it, otherwise return '/'.
  delete _prefixes.values.
  substitute urlconf_name for _urlconfs.value.
  if _urlconfs has an attribute 'value',
  delete _urlconfs.value.
  get the 'value' attribute of the _urlconfs, if it exists return it, otherwise return defaults.
  call a function _ with a string 'Enter a valid value.' as an argument, substitute the result for message.
  define the method __call__ with arguments self and value.
  define the method __call__ with arguments self and value.
  call the function force_text with an argument value, substitute the result for value.
  call the value.split method with '://' as argument, convert first element of the result to lower case, substitute the result for scheme.
  call the __call__ method from the base class of the class URLValidator, with an argument value.
  if value is true,
  substitute value for url.
  define the function validate_integer with an argument value.
  convert value into an integer.
  define the method __call__ with arguments self and value.
  call the function force_text with an argument value, substitute the result for value.
  if value is false or character '@' is not contained in value,
  return value of the call to the function _ with an argument string 'Enter a valid IPv4 address.' and string 'invalid'.   define the function validate_ipv6_address with an argument value.
  call the function is_valid_ipv6_address with an argument value, if it evaluates to false,
  define the function validate_ipv46_address with an argument value.
  call the function validate_ipv4_address with an argument value.
  call the function validate_ipv6_address with an argument value.
  define the method __call__ with arguments self and value.
  call the method self.clean with value as argument, substitute the result for cleaned.
  define the method render with 4 arguments: self, name, value and attrs set to None.
  substitute value.year, value.month and value.day for year_val, month_val and day_val, respectively.
  if value is an instance of six.string_types,
  define the method prepare_value with arguments: self and value.
  return value.
  define the method to_python with arguments self and value.
  return value.
  define the method to_python with arguments self and value.
  if value is contained in self.empty_values and self.required is true,
  define the method run_validators with arguments self and value.
  if value is contained in self.empty_values,
  call the function v with an argument value.
  define the method clean with arguments self and value.
  call the method self.to_python with an argument value, substitute it for value.
  call the method self.validate with an argument value.
  call the method self.run_validators with an argument value.
  return value.
  define the method to_python with arguments self and value.
  if value in self.empty_values,
  evaluate the function smart_text with an argument value, return the result.
  define the method to_python with arguments self and value.
  call the method to_python with an argument value, from the base class of the IntegerField class, substitute the result for value.
  if value is contained in self.empty_values,
  call the method formats.sanitize_separators with an argument value, substitute the result for value.
  convert value into an string, convert the result into an integer and substitute it for value.
  return value
  'Enter a number.' for 'invalid'.   define the method to_python with arguments self and value.
  call the method to_python with an argument value, from the base class of the IntegerField class, substitute the result for value.
  if value is contained in self.empty_values,
  call the method formats.sanitize_separators with an argument value, substitute the result for value.
  convert value into an floating point number, substitute it for value.
  return value.
  define the method validate with arguments self and value.
  call the method validate with an argument value, from the base class of the FloatField class.
  if value is Nan, or value is contained in return value of the Decimal called twice with string 'Inf' and with string '-Inf',
  return value.
  unpacked list args and unpacked dictionary kwargs.   define the method to_python with arguments self and value.
  if value is contained in self.empty_values,
  call the method formats.sanitize_separators with an argument value, substitute the result for value.
  call the function smart_text with an argument value, strip the result of whitespaces from both ends and substitute it for value.
  value is an instance of a class Decimal created with value as an argument.
  return value.
  define the method validate with arguments self and value.
  call the method validate with an argument value from the base class of the DecimalField class.
  if value is contained in self.empty_values,
  if value is not equal to value or value equals return value of the call to Decimal with argument 'Inf',
  code set to string 'max_whole_digits' and params set to a dictionary with an entry: difference of the self.max_digits and self.decimal_places, for 'max'.    return value.
  define the method to_python with arguments self and value.
  strip whitespaces from both ends of unicode_value, substitute the result for value.
  if value is an instance of six.text_type class,
  call the method self.strptime with arguments value and format, return the result.
  define the method strptime with arguments self, value and format.
  define the method to_python with arguments self and value.
  if value is contained in self.empty_values,
  if value is an instance of datetime.datetime class,
  call the method value.date, return the result.
  if value is an instance of datetime.date class,
  return value.
  call the method to_python with an argument value from the base class of the DateField class, return the result.
  define the method strptime with arguments self, value and format.
  define the method to_python with arguments self and value.
  if value is contained in self.empty_values,
  if value is an instance of datetime.time,
  return value,
  call the method to_python with an argument value from the base class of the TimeField class, return the result.
  define the method strptime with arguments self, value and format.
  define the method prepare_value with arguments self and value.
  if value is an instance of datetime.datetime,
  call the function to_current_timezone with an argument value, substitute the result for value.
  return value.
  define the method to_python with arguments self and value.
  if value is contained in self.empty_values,
  if value is an instance of datetime.datetime,
  call the function __current_timezone with an argument value, return the result.
  if value is an instance of datetime.date,
  call the function datetime.datetime with 3 arguments: value.year, value.month and value.day, substitute the result for result.
  if value is an instance of list type,
  'Use SplitDateTimeField instead.', RemovedInDjango19Warning and stacklevel set to integer 2.   if length of value is not equal to integer 2,
  if first and second elements of value are contained in self.empty_values,
  substitute '%s' in string '%s %s' with the elements of value converted into a tuple, substitute the result for value.
  call the method to_python with an argument value from the base class of the DateTimeField class, substitute the result for result.
  define the method strptime with arguments self, value and format.
  define the method clean with 2 arguments self and value.
  call the method self.to_python with an argument value, strip the whitespaces from the both ends of the result and substitute it for value.
  call the method clean with an argument value from the base class of the EmailField class.
  define the method to_python with arguments self and data.
  call the method to_python with an argument data from the base class of the class URLField, substitute the result for value.
  if value is true,
  call the function split_url with an argument value, substitute the result for url_fields.
  substitute the result for url_fields.   call the function urlunsplit with an argument url_fields, substitute the result for value.
  return value.
  define the method clean with arguments self and value.
  call the method self.to_python with an argument value, strip the whitespaces from the result, substitute it for value.
  call the method clean with an argument data from the base class of the class URLField, return the result.
  define the method to_python with arguments self and value.
  if value is an instance of six.string_types and value converted to lowercase is not equal to strings 'false' or '0',
  convert value into boolean and substitute it for value.
  call the method to_python with an argument data from the base class of the class BooleanField, return the result.
  define the method validate with arguments self and value.
  if value is false and self.required is true,
  define the method to_python with arguments self and value.
  define the method validate with arguments self and value.
  define the method _set_choices with arguments self and value.
  define the method to_python with arguments self and value.
  if value is contained in self.empty_values,
  call the function smart_text with an argument value, return the result.
  define the method validate with arguments self and value.
  call the method validate with an argument value from the base class of the class ChoiceField.
  if value is true and method self.valid_value called with an argument value evaluates to false,
  raise an ValidationError with 3 arguments: value under the 'invalid_choice' key of the self.error_messages dictionary,
  code set to an string 'invalid_choice' and dictionary params with an entry: value for 'value'.   define the method valid_value with arguments self and value.
  call the function force_text with an argument value, substitute the result for text_value.
  if value equals k or text_value equals return value of the function force_text called with argument k,
  from the base class of the class TypedChoiceField.   define the method _coerce with arguments self and value.
  if value equals self.empty_value or value is contained in self.empty_values,
  call the function self.coerce with an argument value, substitute it for value.
  raise an ValidationError with 3 arguments: value under the 'invalid_choice' key of the self.error_messages dictionary,
  code set to an string 'invalid_choice' and dictionary params with an entry: value for 'value'.   return value.
  define the method clean with arguments self and value.
  call the method clean with an argument value from the base class of the class TypedChoiceField, substitute the result for value.
  call the method self._coerce with an argument value, return the result.
  'Select a valid choice. %(value)s is not one of the available choices.' for 'invalid_choice',   and return value of the function _ called with an argument string 'Enter a list of values.' for 'invalid_list'.   define the method to_python with arguments self and value.
  if value is false,
  for every val in value call the function smart_text with an argument val, return the results in a lit.
  define the method validate with arguments self and value.
  if self.required is true and value is false,
  and code set to an string 'required'.   for every val in value,
  for every value in initial call the function force_text with an argument value, add the results into a set, substitute the resulting set for initial_set.
  for every value in data call the function force_text with an argument value, add the results into a set, substitute the resulting set for data_set.
  from the base class of the class TypedMultipleChoiceField.   define the method _coerce with arguments self and value.
  if value equals self.empty_value or value is contained in self.empty_values,
  for every choice in value,
  define the method clean with arguments self and value.
  call the method clean with an argument value from the base class of the class TypedMultipleChoiceField, substitute the result for value.
  call the method self._coerce with an argument value, return the result.
  define the method validate with arguments self and value.
  if value is not equal self.empty_value,
  call the method validate with an argument value from the base class of the class TypedMultipleChoiceField.
  define the method clean with arguments self and value.
  call the method clean with an argument value from the base class of the class ComboField.
  call the method field.clean with an argument value, substitute the result for value.
  return value.
  define the method validate with arguments self and value.
  define the method clean with arguments self and value.
  if value is false or value is not an instance of list or tuple types,
  if value is false or for every v in value every v is contained in self.empty_values,
  substitute i-th element of value for field_value.
  define the method to_python with arguments self and value.
  if value is contained in self.empty_values,
  strip whitespaces from both sides of the value, return the result.
  define the method to_python with arguments self and value.
  if value is contained in self.empty_values,
  strip whitespaces from both sides of the value, substitute it for value.
  if value is true and character ':' is contained in value,
  call the function clean_ipv6_address with arguments value and self.unpack_ipv4, return the result.
  return value.
  define the method clean with arguments self and value.
  call the self.to_python method with an argument value, strip the result of the whitespaces from the sides, substitute the result for value.
  call the clean method wiht value argument from the base class of the SlugField class, return the result.
  call the method base.__dict__.items, for every attr and value in the result,
  if value is None and attr is contained in declared_fields,
  if not substitute field.initial for initial.   call the method filed.clean with arguments value and initial, substitute the result for value.
  call the method field.clean with an argument value, substitute the result for value.
  substitute value for the value under the name key of the self.cleaned_data dictionary.
  get 'clean_%s', where '%s' is replaced with name' attribute of the self object, call the result as an function,
  substitute the result for value.   substitute value for the value under the name key of the self.cleaned_data dictionary.
  call the method widget.render with 3 arguments: name, return value of the method self.value, attrs set to attrs,
  define the method value with an argument self.
  get opt attribute of the opts object, substitute it for value.
  if value is an instance of six.string_types and value is not equal to ALL_FIELDS,
  msg is a string "%(model)s.Meta.%(opt)s cannot be a string. Did you mean to type: ('%(value)s',)?", where '%(model)s' is replaced,
  and unpacked dictionary kwargs.   define the method clean with 2 arguments: self and value.
  if value is contained in self.empty_values,
  if return values of the function force_text called two times with 1 argument, with value, and with orig, are equal,
  define the method prepare_value with 2 arguments: self and value.
  if value has an attribute '_meta',
  call the method value.serializable_value with an argument self.to_field_name, return the result.
  return value.pk.
  call the method prepare_value from the base class of the class ModelChoiceField, with an argument value, return the result.
  define the method to_python with 2 arguments: self and value.
  if value is contained in self.empty_values,
  call the method self.queryset.get with an argument, unpacked dictionary with an element: value for key, substitute the result for value.
  code set to a string 'invalid_choice'.   return value.
  define the method validate with 2 arguments: self and value.
  cache_choices, required, widget, label, initial, help_text, unpacked list args and unpacked dictionary kwargs.   define the method to_python with 2 arguments: self and value.
  if value is false,
  define the method clean with 2 arguments: self and value.
  if self.required is true and value is false,
  if value is not an instance of list or tuple types,
  for every pk in value,
  for every o in opts.   for every val in value,
  code set to string 'invalid_choice' and params as a dictionary with an entry, val for 'value'.   call the method self.run_validators with an argument value.
  define the method prepare_value with 2 arguments: self and value.
  if value has an attribute '__iter__' and value is not an instance of six.text_type and value doesnt have an attribute '_meta',
  call the method prepare_value from the base class of the class ModelMultipleChoiceField, with an argument v,
  for every v in value, return the list of results.   call the method prepare_value the base class of the class ModelMultipleChoiceField, with an argument value, return the result.
  initial_set is set created out of return values of the function force_text called with an argument value,
  for every value in result of the method self.prepare_value called with an argument initial.   data_set is set created out of return values of the function force_text called with an argument value,
  convert items of attrs dictionary to list of tuples, for every attr and value in it,
  define the function from_current_timezone with an argument value.
  if settings.USE_TZ is true and value is not None and call to the function timezone.is_naive with an argument value, evaluates to true,
  call the function timezone.make_aware with arguments value and current_timezone, return the result.
  message, code as a string 'ambiguous_timezone' and params as params,   and third element of the return value of the function sys.exc_info.   return value.
  define the function to_current_timezone with an argument value.
  if settings.USE_TZ is true and value is not None and call to the function timezone.is_aware with an argument value, evaluates to true,
  call the function timezone.make_naive with 2 arguments value, current_timezone, return the result.
  return value.
  substitute name and value for self.name and self.value.
  define the method subwidgets with 5 arguments: self, name, value, attrs set to None and choices set to an empty tuple.
  define the method render with 4 arguments: self, name, value and attrs set to None.
  define the method _format_value with 2 arguments: self and value.
  call the method formats.localize_input with an argument value, return the result.
  return value.
  define the method render with 4 arguments: self, name, value and attrs set to None.
  if value is None,
  value is an empty string.
  if value is not equal to an empty string,
  call the method self._format_value with an argument value, use the result as an argument for the call to the function force_text,
  define the method render with 4 arguments: self, name, value and attrs set to None.
  value is None.
  call the method render from the base class of the class PasswordInput, called with 3 arguments: name, value and attrs,
  define the method render with 5 arguments: self, name, value, attrs set to None and choices set to an empty tuple.
  if value is None,
  value is an empty list.
  for every i and v in enumerated iterable value,
  unpack dictionary final_attrs, map the values through force_text function with an argument v and convert it to a dictionary, again,
  define the method render with 4 arguments: self, name, value and attrs set to None.
  define the method render with 4 arguments: self, name, value and attrs set to None.
  substitute the result for value under the 'input' key of the substitutions dictionary.   if value is true and value has an attribute 'url',
  call the function format_html with 3 arguments: self.url_markup_template, value.url and return value of the function force_text,
  define the method render with 4 arguments: self, name, value and attrs set to None.
  if value is None,
  value is an empty string.
  define the method _format_value with 2 arguments: self and value.
  define the method render with 4 arguments: self, name, value and attrs set to None.
  call the method self.check_test with an argument value, if it evaluates to true,
  if value is boolean False or boolean True or value is None or value is an empty string, do not perform the following,
  call the function force_text with an argument value, substitute the result for value under the 'value' key of the final_attrs.
  if value is an instance of six.string_types class,
  get the value of the values dictionary under the value converted to lowercase key, substitute it for value, if the key doesnt exists,
  substitute value for value.   return value converted into a boolean.
  define the method render with 5 arguments: self, name, value, attrs set to None and choices set to an empty tuple.
  if value is None,
  value is an empty string.
  and return value of the function flatatt called with an argument final_attrs, substitute the result for output.   call the method self.render_options with 2 arguments: choices and list with an entry, value, substitute the result for options.
  define the method render with 5 arguments: self, name, value, attrs set to None and choices set to an empty tuple.
  get the value under value key of a dictionary with 4 entries: '2' for boolean True, '3' for boolean False, '2' for '2',
  value is an string '1'.
  call the method render from the base class of the class NullBooleanSelect, with 4 arguments: name, value, attrs and choices,
  define the method render with 5 arguments: self, name, value, attrs set to None and choices set to an empty tuple.
  if value is None,
  value is an empty list.
  string '<select multiple="multiple"{0}>' and result of the function flatatt called with an argument final_attrs.   call the method self.render_options with 2 arguments: choices and value, substitute the result for options.
  substitute value for self.value.
  define the method render with 5 arguments: self, name set to None, value set to None, attrs set to None and choices set to an empty tuple.
  if self.value equals self.choice_value, return boolean True, if not, return boolean False.
  and unpacked dictionary kwargs.   call the function force_text with an argument self.value, substitute the result for self.value.
  and unpacked dictionary kwargs.   for every v in self.value call the function force_text with an argument v, add the result to a set,
  if self.choice_value is contained in self.value return boolean True, otherwise return boolean False.
  define the method __init__ with 5 arguments: self, name, value, attrs and choices.
  substitute value for self.value.
  sub_ul_renderer is an instance of ChoiceFieldRenderer class, created with 4 arguments: name as self.name, value as self.value,
  and unpacked dictionary kwargs.   define the method subwidgets with 5 arguments: self, name, value, attrs set to None and choices set to an empty tuple.
  call the method self.get_renderer with 4 arguments: name, value, attrs and choices, for every widget in result,
  define the method get_renderer with 5 arguments: self, name, value, attrs set to None and choices set to an empty tuple.
  if value is None,
  substitute self._empty_value for value.
  call the method self.renderer with 4 arguments: name, value, final_attrs and choices, return the result.
  define the method render with 5 arguments: self, name, value, attrs set to None and choices set to an empty tuple.
  call the method self.get_renderer with 4 arguments: name, value, attrs and choices, call the render method on the result, return the result.
  define the method render with 4 arguments: self, name, value and attrs set to None.
  if value is not an instance of list type,
  call the method self.decompress with an argument value, substitute the result for value.
  substitute i-th element of value for widget_value.
  define the method decompress with 2 arguments: self and value.
  define the method decompress with 2 arguments: self and value.
  if value is true,
  call the function to_current_timezone with an argument, substitute the result for value.
  return a list containing 2 elements: return value of the value.date method and return value of the replace method,
  split into two parts string main_value_pair at character ':', substitute the parts for name and value, respectively.
  return name and tuple containing 2 elements value and params.
  call the method _parse_header with an argument line, assign the result to name and tuple with 2 elements: value and params, respectively.
  assign value and params to the value under the name key of the outdict dictionary.
  decode with an argument string 'ascii', substitute the result for name.   take elements of p from index i incremented by 1 to the end, strip the result of the whitespaces, substitute it for value.
  if length of value is greater or equal to integer 2 and first and last elements of value are an empty string,
  strip value of the first and last element.
  replace all the occurrences of '\\\\' in string value with '\\' and all occurrences of '\\"' for '"', substitute the result for value.
  substitute value for the vale under the name key of the pdict dictionary.
  return value.
  assign the settings.SECURE_PROXY_SSL_HEADER to header and value, respectively.
  if value under the header key of the self.META dictionary is equal to value,
  define the method encoding with arguments self and value.
  substitute value for self._encoding.
  call the method bytes_to_text with 2 arguments: key and self.encoding, substitute the result for value.
  call the method bytes_to_text with 2 arguments: value and self.encoding, substitute the result for value.
  if value is not an instance of bytes or six.text_type classes,
  convert value to an string and substitute it for value.
  if value is an instance of str type,
  call the method value.encode with an argument charset.
  call the method value.decode with an argument charset, substitute the result for value.
  if value is an instance of str type,
  call the method value.decode with an argument charset.
  call the method value.encode with an argument charset, substitute the result for value.
  instantiate class Header with 3 arguments: value, string 'utf-8', maxlinelen set to sys.maxsize, call the encode method on it,
  convert '\n' to a string, if it is contained in value or '\r' converted to an string is contained in value,
  return value.
  define the method __setitem__ with 3 arguments: self, header and value.
  call the method self._convert_to_charset with arguments: header, string 'latin-1' and mime_encode set to boolean True,
  call the method signing.get_cookie_signer with an argument salt set to sum of key and salt,
  expires as a string 'Thu, 01-Jan-1970 00:00:00 GMT', return the result.   define the method make_bytes with 2 arguments: self and value.
  call the function bytes with an argument value, return the result.
  if value is an instance of bytes class,
  call the function bytes with an argument value, return the result.
  if value is an instance of six.text_type class,
  call the method value.encode with an argument self._charset, use the result as an argument for the call to the bytes function,
  return the result.   call the function force_bytes with arguments value and self._charset, return the result.
  define the method content with 2 arguments: self and value.
  if value has an '__iter__' attribute and value is not an instance of bytes or six.string_types class.
  if value has an 'close' attribute,
  append value to the self._closable_objects list.
  call the self.make_bytes method with an argument chunk, for every chunk in value join the result to a bytes string,
  call the method self.make_bytes with an argument value, substitute the result for value.
  self._container is a list containing element value.
  define the method streaming_content with 2 arguments: self and value.
  convert value into a iterator, substitute the result for self._iterator.
  if value has an attribute 'close',
  append value to self._closable_objects list.
  define the method content with self and value.
  if value,
  define the method value with an argument self.
  raise an TemplateSyntaxError exception with an argument "Searching for value. Expected another value but found end of string: %s",
  call the function self._resolve_lookup with an argument context, substitute the result for value.
  substitute self.literal for value.
  call the function pgettext_lazy with an argument self.message_context and value, return the result.
  call the function ugettext_lazy with an argument value, return the result.
  return value.
  define the function render_value_in_context with 2 arguments: value and context.
  call the method template_localtime with 2 arguments: value and use_tz=context.use_tz, substitute the result for value.
  call the function localize with 2 arguments: value and use_l10n=context.use_l10n, substitute the result for value.
  call the function force_text with an argument value, substitute the result for value.
  if context.autoescape is true and value is not an instance of SafeData, or value is an instance of EscapeData,
  call the function escape with an argument value, return the result.
  return value.
  convert param to a string, use it as a key to get the value from kwargs dictionary, assign it value.
  substitute value under the attr key of flags dictionary for value.
  set filter_func objec attr attribute to value.
  define the method _reset_dicts with 2 arguments: self and value set to None.
  if value is not None,
  append value to self.dicts list.
  define the function addslashes with an argument value.
  define the function capfirst with an argument value.
  if value is false, return it, if it is true convert first element of value to uppercase letter, return the value.
  define the function escapejs_filter with an argument value.
  call the function escapejs with an argument value, return the result.
  define the function iriencode with an argument value.
  call the function iri_to_uri with an argument value, use the result as an argument for the call to the force_text function,
  define the function linenumbers with 2 arguments value and autoescape set to None.
  split value by newline characters, substitute the result for lines.
  use length of result as an argument for the call to the function six.text_type, substitute the result for width.   if autoescape is false, if value is an instance of SafeData,
  define the function lower with an argument value.
  convert value to lowercase and return the result.
  define the function make_list with an argument value.
  return value converted into a list.
  define the function slugify with an argument value.
  call the function _slugify with an argument value, return the result.
  define the function stringformat with 2 arguments value and arg.
  call the function six.text_type with an argument arg, append the result to '%', format the previous with value, return the result.
  define the function title with an argument value.
  define the function truncatechars with 2 arguments value and arg.
  return value.
  instantiate class Truncator, with an argument value, call the method chars on the result with an argument length, return the result.
  define the function truncatechars_html with 2 arguments value and arg.
  return value.
  define the function truncatewords with 2 arguments value and arg.
  return value.
  instantiate class Truncator, with an argument value, call the method words on the result with 2 arguments length,
  define the function truncatewords_html with 2 arguments value and arg.
  return value.
  define the function upper with an argument value.
  convert value to uppercase, return the result.
  define the function urlencode with 2 arguments value and safe set to None.
  call the function urlquote with 2 arguments value and unpacked dictionary kwargs, return the result.
  define the function urlize with 2 arguments value and autoescape set to None.
  define the function urlizetrunc with 3 arguments value, limit and autoescape set to None.
  define the function wordcount with an argument value.
  split value into words, return the length of the result.
  define the function wordwrap with 2 arguments value and arg.
  call the method wrap with 2 arguments, value and arg converted into a integer, return the result.
  define the function ljust with 2 arguments value and arg.
  call the method value.ljust with an argument, arg converted into a integer, return the result.
  define the function rjust with 2 arguments value and arg.
  call the method value.rjust with an argument, arg converted into a integer, return the result.
  define the function center with 2 arguments value and arg.
  call the method value.center with an argument, arg converted into a integer, return the result.
  define the function cut with 2 arguments value and arg.
  if value is an instance of SafeData, safe is boolean True, otherwise it is boolean False.
  replace every occurrence of arg is value for an empty string, substitute the result for value.
  call the function mark_safe with an argument value, return the result.
  return value.
  define the function escape_filter with an argument value.
  call the function mark_for_escaping with an argument value, return the result.
  define the function force_escape with an argument value.
  call the function escape with an argument value, return the result.
  define the function linebreaks_filter with 2 arguments value and autoescape set to None.
  call the function linebreaks with 2 arguments value and autoescape, use the result as an argument for the call to the mark_safe,
  define the function linebreaksbr with 2 arguments value and autoescape set to None.
  call the function normalize_newlines with an argument value, substitute the result for value.
  call the function escape with an argument value, substitute it for value.
  replace every occurrence of newline character in value with string '<br />', use it as an argument for the call to the mark_safe,
  define the function safe with an argument value.
  call the function mark_safe with an argument value, return the result.
  define the function safeseq with an argument value.
  for every obj in value call the function mark_safe with an argument result of the function force_text called with an argument obj,
  define the function removetags with 2 arguments value and arg.
  call the function remove_tags with 2 arguments value and tags, return the result.
  define the function striptags with an argument value.
  call the function strip_tags with an argument value, return the result.
  define the function dictsort with 2 arguments value and arg.
  define the function dictsortreversed with 2 arguments value and arg.
  define the function first with an argument value.
  return first element of value.
  define the function join with 3 arguments: value, arg and autoescape set to None.
  map elements of value through mapping function force_text, substitute the result for value.
  for every v in value call the function conditional_escape with an argument v, append the result in a list, substitute the resulting list for value.
  return value.
  define the function last with an argument value.
  return last element of value.
  define the function length with an argument value.
  return length of value,
  define the function length_is with 2 arguments value and arg.
  if lengths of value and arg are equal, return boolean True, otherwise return boolean False.
  define the function random with an argument value.
  call the function random_module.choice with an argument value, return the result.
  define the function slice_filter with 2 arguments value and arg.
  slice the list value with unpacked list bits as an argument, return the result.
  return value.
  define the function unordered_list with 2 arguments value and autoescape set to None.
  call the function convert_old_style_list with an argument value, substitute the result for value and converted, respectively.
  call the function _helper with an argument value, use it as an argument for the call to the function mark_safe, return the result.
  define the function add with 2 arguments value and arg.
  convert value and arg into a integers, return their sum.
  sum value and arg, return the result.
  define the function get_digit with 2 arguments value and arg.
  convert value to an integer.
  return value.
  return value.
  convert value into a string, take character at the negative arg index, convert it into an integer, return it.
  define the function date with 2 arguments value and arg set to None.
  if vale is None or an empty string,
  call the method formats.time_format with 2 arguments: value and arg, return the result.
  format value into printable data representation with formating rules arg, return the result.
  define the function time with 2 arguments value and arg set to None.
  if vale is None or an empty string,
  call the method formats.time_format with 2 arguments: value and arg, return the result.
  call the function time_format with 2 arguments: value and arg, return the result.
  define the function timesince_filter with 2 arguments value and arg set to None.
  if value is false,
  call the function timesince with 2 arguments: value and arg, return the result.
  call the function timesince with an argument value, return the result.
  define the function timeuntil_filter with 2 arguments value and arg set to None.
  if value is false,
  call the function timeuntil with 2 arguments value and arg, return the result.
  define the function default with 2 arguments value and arg.
  return value, if it is None return arg.
  define the function default_if_none with 2 arguments value and arg.
  if value is None,
  return value.
  define the function divisibleby with 2 arguments value and arg.
  convert value and arg to integers, if value is divisible by arg, return True, otherwise return boolean False.
  define the function yesno with 2 arguments value and arg set to None.
  return value.
  if value is None,
  if value is true,
  substitute the result for value.   call the function avoid_wrapping with an argument value, return the result.
  filesize_number_format is an lambda function with an argument value, return value is the result of the method formats.number_format,
  filesize_number_format with result of division of bytes by PB as an argument, substitute the result for value.   call the function avoid_wrapping with an argument value, return the result.
  define the function pluralize with 2 arguments value and arg set to character 's'.
  convert value to an floating point number if it is not equal to integer 1,
  if length of value is not equal to integer 1,
  define the function phone2numeric_filter with an argument value.
  call the function phone2numeric with an argument value, return the result.
  define the function pprint with an argument value.
  call the function pformat with an argument value, return the result.
  call the function next with an argument cycle_iter, call the method resolve on the result with an argument context, substitute the result for value.
  substitute value for value under the self.variable_name key of the context dictionary.
  call the function render_value_in_context with 2 arguments: value and context, return the result.
  if value is true,
  call the function render_value_in_context with 2 arguments: value and context, return the result.
  call the method self.val_expr.resolve with an argument context, substitute the result for value.
  convert value into an floating point number, substitute it for value.
  define the method __init__ with 3 arguments: self, value and text.
  substitute value for self.value.
  define the method create_var with 2 arguments: self and value.
  return an instance of TemplateLiteral with 2 arguments: result of the function self.template_parser.compile_filter,
  call the method match.groups, assign the result to name and value, respectively.
  if value is true,
  substitute value for value under the options key of options dictionary.
  define the method content with 2 arguments: self and value.
  call the method HttpResponse.content.fset with 2 arguments: self and value.
  value is None.
  define the method __init__ with 2 arguments: self and value.
  substitute value for self.value.
  return printable representation of self.value.
  return self.value.
  return string "(%s %r)", replace '%s' with self.if and '%r' with self.value.
  define the method create_var with 2 arguments: self and value.
  return an instance of Literal class, created with an argumen value.
  substitute fist and second element of exc_info for exctype and value, respectively.
  append value to the self.sign, return the result.
  return value.
  append value to the '-', substitute it for value.
  convert value to an integer, return it.
  if value is not None,
  call function force_bytes with value as argument, use the result to as the result for the call to the methgod ctx.update.
  define the function salted_hmac with 3 arguments: key_salt, value and secret set to None.
  return value.
  define the function format with 2 arguments: value and format_string.
  df is an instance of DateFormat class, created with an argument value.
  define the function time_format with 2 arguments: value and format_string.
  tf is an instance of TimeFormat class, created with an argument value.
  '(?::(?P<second>\d{1,2})(?:\.(?P<microsecond>\d{1,6})\d{0,6})?)?(?P<tzinfo>Z|[+-]\d{2}(?::?\d{2})?)?$', substitute it for datetime_re.   define the function parse_date with an argument value.
  define the function parse_time with an argument value.
  define the function parse_datetime with an argument value.
  call the method self.configurator.convert with an argument value, substitute the result for result.
  if value is not contained in result,
  call the method self.configurator.convert with an argument value, substitute the result for result.
  if value is not contained in result,
  call the method self.configurator.convert with an argument value.
  if value is not contained in result,
  call the method self.configurator.convert with an arugment value, substitute the result for result.
  if value is not contained in result,
  remove idx-th element from self list.
  call the method self.configurator.convert with an argument value, substitute the result for result.
  if value is not contained in result,
  call the method self.configurator.convert with an argument value, substitute the result for result.
  if value is not contained in result,
  define the method ext_convert with 2 arguments: self and value.
  call the method self.resolve with an argument value, return the result.
  define the method cfg_convert with 2 arguments: self and value.
  substitute value for rest.
  define the method convert with 2 arguments: self and value.
  if vale is not an instance of ConvertingDict and value is an instance of dict type,
  value is an instance of ConvertingDict class, created with an argument value.
  substitute self for value.configurator.
  otherwise if vale is not an instance of ConvertingList and value is an instance of list type,
  value is an instance of ConvertingList class, created with an argument value.
  substitute self for value.configurator.
  otherwise if vale is not an instance of ConvertingTuple and value is an instance of tuple type,
  value is an instance of ConvertingTuple class, created with an argument value.
  substitute self for value.configurator.
  match value string with regex self.CONVERT_PATTERN, substitute the result for m.
  call the function converter with an argument suffix, substitute the result for value.
  return value.
  for every name and value in items of props dictionary,
  set result attribute name to value value.
  define the method as_tuple with 2 arguments: self and value.
  if valu is an instance of list type,
  convery value into a tuple, substitute it for value.
  return value.
  define the function date_format with 3 arguments: value, format set to None and use_l10n set to None.
  format, if its true, otherwise string 'DATE_FORMAT' and use_l10n as use_l10n, return the result.   define the function time_format with 3 arguments: value, format set to None and use_l10n set to None.
  string 'DECIMAL_SEPARATOR', lang and use_l10n set to use_l10n, decimal_pos, result of the function get_format called with 3 arguments:   string 'NUMBER_GROUPING', lang and use_l10n as use_l10n, result of the function get_format called with an argument:   string 'THOUSAND_SEPARATOR', lang and use_l10n as use_l10n and force_grouping as force_grouping, return the result.   define the function localize with 2 arguments value and use_l10n set to None.
  if value is an instance of bool.
  call the function six.text_type with an argument value, use the result as an argument for the call to the function mark_safe,
  return value.
  define the function localize_input with 2 arguments value and default set to None.
  call the function number_format with an argument value, return the result.
  call the method datetime_safe.new_datetime with an argument value, substitute the result for value.
  get_format called with an argument string 'DATETIME_INPUT_FORMATS', substitute the result for format.   call the method value.strftime with an argument format, return the result.
  call the method datetime_safe.new_date with an argument value, substitute the result for value.
  get_format called with an argument string 'DATE_INPUT_FORMATS', substitute the result for format.   call the method value.strftime with an argument format, return the result.
  get_format called with an argument string 'TIME_INPUT_FORMATS', substitute the result for format.   call the method value.strftime with an argument format, return the result.
  return value.
  define the function sanitize_separators with an argument value.
  if decimal_separator is contained in value,
  split value into two parts by decimal_separator, assign the result to value and decimals.
  for every replacement in the resulting set,   replace every occurrence of replacement in value for an empty string, substitute the result for value.
  append value to parts.
  reverse order of parts, join them into a string, separated with '.', substitute the result for value.
  return value.
  define the method __setattr__ with 3 arguments: self, name and value.
  substitute value under the "_wrapped" key of the self.__dict__ dictionary.
  set name attribute of self._wrapped object to value.
  get name attribute from the instance object, call it with an argument value and return the result.
  for integer representation of z converted into a string.   define the function escapejs with an argument value.
  call the function force_text with an argument value, call the method translate on the result, with an argument _js_escapes,
  separated with result of the function conditional_escape with an argument sep, for every args in args_generator,   use the result as an argument for the call to the function mark_safe, return the result.   define the function linebreaks with 2 arguments: value and autoescape set to boolean False.
  call the function normalize_newlines with an argument value, substitute the result for value.
  call the method re.split with 2 arguments: string '\n{2,}' and value, substitute the result for paras.
  define the function _strip_once with an argument value.
  call the method s.feed with an argument value.
  return value.
  define the function strip_tags with an argument value.
  while '<' is contained in value and '>' is contained in value,
  call the function _strip_once with an argument value, substitute the result for new_value.
  if new_value equals value,
  substitute new_value for value.
  return value.
  define the function strip_spaces_between_tags with an argument value.
  call the method re.sub with 3 arguments: raw string '>\s+<', string '><' and result of the function force_text,
  define the function strip_entities with an argument value.
  call the method re.sub with 3 arguments: raw string '&(?:\w+|#\d+);', empty string and result of the function force_text,
  define the function avoid_wrapping with an argument value.
  replace every occurrence of ' ' in value for '\xa0', return the result.
  convert s to integer of base 36, substitute it for value.
  if six.PY2 is true and value is greater than sys.maxint,
  return value.
  get attr attribute from the _module object, substitute it for value.
  set attr attribute of the self object to value.
  return value.
  define the function reraise with 3 arguments: tp, value and tb set to None.
  if value.__traceback__ is not tb,
  call the function exec_ with an argument string """def reraise(tp, value, tb=None):    raise tp, value, tb""".
  define the function slugify with an argument value.
  call the method unicodedata.normalize with 2 arguments: string 'NFKD' and value, encode the result with 2 arguments: string 'ascii',
  and string 'ignore', call the method decode on the result with an argument string 'ascii', substitute the result for value.   call the method re.sub with 3 arguments: string '[^\w\s-]', empty string and value, strip the result of whitespaces from both ends,
  and convert it to lowercase, substitute the result for value.   call the function re.sub with 3 arguments: string '[-\s]+', string '-' and value, use the result as an argument for the call to the,
  define the function camel_case_to_spaces with an argument value.
  call the method re_camel_case.sub with 2 arguments: raw string ' \1' and value, strip the result of whitespaces from both ends,
  get 'value' attribute of the _active object, if it exists return it, if not, call the function get_default_timezone and return the result.
  substitute timezone for _active.value.
  if active has an attribute 'value',
  delete _active.value.
  get 'value' attribute of the _active object
  substitute self.old_timezone for _active.value.
  define the function template_localtime with 2 arguments: value and use_tz set to None.
  if value is an instance of datetime and settings.USE_TZ if use_tz is None else use_tz and call to the function is_naive,
  with an argument value evaluates to false, and if 'convert_to_local_time' attribute of value object doesnt exists,   or is it does is boolean True, should_convert is boolean True, otherwise is boolean False.   if should_convert is true, call the function localtime with an argument value and return the result, otherwise return value.
  define the function localtime with 2 arguments: value and timezone set to None.
  call the method value.astimezone with an argument timezone, substitute the result for value.
  call the method timezone.normalize with an argument value, substitute the result for value.
  return value.
  define the function is_aware with an argument value.
  if value.tzinfo is not None and call to the method value.tzinfo.utcoffset called with an argument value evaluates to not None,
  return boolean True, otherwise return boolean False.   define the function is_naive with an argument value.
  if value.tzinfo is None and call to the method value.tzinfo.utcoffset called with an argument value evaluates to None,
  return boolean True, otherwise return boolean False.   define the function make_aware with 2 arguments: value and timezone.
  call the method timezone.localize with 2 arguments: value and is_dst as None, return the result.
  call the function is_aware with an argument value, if it evaluates to true,
  call the method value.replace with an argument tzinfo as timezone, return the result.
  define the function make_naive with 2 arguments: value and timezone.
  call the method value.astimezone with an argument timezone, substitute the result for value.
  call the method timezone.normalize with an argument value, substitute the result for value.
  call the method value.replace with an arugment tzinfo set to None, return the result.
  of the _DJANGO_DEPRECATED_LOCALES dictionary, RemovedInDjango19Warning and stacklevel set to integer 2.   call the function translation with an argument language, substitute the result for _active.value.
  if _active has an attribute "value",
  delete _active.value.
  get 'value' attribute of the _active object, if it exists substitute it for t, if not t is None.
  get 'value' attribute of the _active object, if it exists substitute it for t, if not t is None.
  in the previous result for with string '\n', substitute the result for eol_message.   get 'value' attribute of the _active object, if it exists substitute it for t, if not t is None.
  get 'value' attribute of the _active object, if it exists substitute it for t, if not t is None.