Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Large update #909

Merged
merged 103 commits into from
Apr 3, 2022
Merged

Large update #909

merged 103 commits into from
Apr 3, 2022

Commits on Mar 28, 2022

  1. Configuration menu
    Copy the full SHA
    d7346d1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    63a6acd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5e94a8a View commit details
    Browse the repository at this point in the history
  4. Make types more specific.

    sterliakov committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    5521420 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9074622 View commit details
    Browse the repository at this point in the history
  6. Replace all OrderedDict occurrences with plain Dict (it is not us…

    …ed in Django 3.2 and later)
    sterliakov committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    566024f View commit details
    Browse the repository at this point in the history
  7. Add fake datastructures for convenience: _PropertyDescriptor and _Lis…

    …tOrTuple now can live here. Added _IndexableCollection (often useful as alias for 'sequence or queryset')
    sterliakov committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    9d36fce View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    51827b7 View commit details
    Browse the repository at this point in the history
  9. Rework MultiValueDict to reflect the fact that some methods can retur…

    …n empty list instead of value.
    sterliakov committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    fe24dde View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    65ca156 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    56feba5 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    db09d78 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    9d93055 View commit details
    Browse the repository at this point in the history
  14. Sync with real file.

    sterliakov committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    c8ff1ce View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    264306a View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    9d83709 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    48d396c View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    a49ee1a View commit details
    Browse the repository at this point in the history
  19. Rework pagination.

    sterliakov committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    b629be0 View commit details
    Browse the repository at this point in the history
  20. Sync validators with real code. Add _ValidatorCallable for any extern…

    …al use (field validation etc.)
    sterliakov committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    1ad4453 View commit details
    Browse the repository at this point in the history
  21. Add shared type definitions (for fields of both forms and models). Ac…

    …tualize model fields. Mark keyword-only args explicitly in stubs (where code uses **kwargs). Disallow bytes for verbose_name.
    sterliakov committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    7193e78 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    0773712 View commit details
    Browse the repository at this point in the history
  23. Add bidirectional references between backend.base and other files. Re…

    …place some Any's with specific types.
    sterliakov committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    c67eebd View commit details
    Browse the repository at this point in the history
  24. Actualize db.migrations: remove removed methods, replace "None" annot…

    …ations in wrong places, improve some wrong annotations.
    sterliakov committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    1986184 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    599b985 View commit details
    Browse the repository at this point in the history
  26. Replace FileResponse and TemplateResponse with HttpResponse(Base) whe…

    …re needed: at least HttpResponseNotModified/HttpResponseRedirect can be returned instead of it, so annotation was wrong.
    sterliakov committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    222d098 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    d0b1462 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    57f24b7 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    63c1ac6 View commit details
    Browse the repository at this point in the history
  30. Make types of file-related code consistent. Disallow using bytes as p…

    …ath, because many methods expect str-only paths. Make File inherit from IO[AnyStr] instead of IO[Any]: it makes impossible to instantiate file of union type, but allows precise types for some methods.
    sterliakov committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    da20385 View commit details
    Browse the repository at this point in the history
  31. Minor improvements: stop using None as annotation in wrong places, re…

    …place obvious Any's with precise types, actualize methods (missing/renamed/signature changed).
    sterliakov committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    25f1a79 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    0f19b7c View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    16baf27 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    37a2f0b View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    d3da253 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    535aaf8 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    37d6bb5 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    592222b View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    c2f4455 View commit details
    Browse the repository at this point in the history
  40. Actualize methods.

    sterliakov committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    5e42596 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    e11d8db View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    546b111 View commit details
    Browse the repository at this point in the history
  43. Actualize contrib.postgres

    sterliakov committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    afef9d6 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    f74c304 View commit details
    Browse the repository at this point in the history
  45. Actualize signers.

    sterliakov committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    bc0db91 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    45ecbf5 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    ed94d6b View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    96eea2b View commit details
    Browse the repository at this point in the history
  49. Actualize static handlers.

    sterliakov committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    56f7a97 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    aa81c80 View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    731dfcc View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    ffb48ef View commit details
    Browse the repository at this point in the history
  53. Add async variants of handlers and clients. Use fake class to disting…

    …uish between request types in RequestFactory and AsyncRequestFactory.
    sterliakov committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    7d9eea1 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    1b9d6ea View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    40f126e View commit details
    Browse the repository at this point in the history
  56. Fix signature.

    sterliakov committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    64b1176 View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    531cba1 View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    ac2f812 View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    9aec5d2 View commit details
    Browse the repository at this point in the history
  60. Drop removed SimpleCol.

    sterliakov committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    d7c0f4b View commit details
    Browse the repository at this point in the history
  61. Configuration menu
    Copy the full SHA
    329427d View commit details
    Browse the repository at this point in the history
  62. Introduce reusable types, add missing methods. Remove strange types (…

    …probably created by stubgen). Remove RawQuery from Compiler: it obviously doesn't work with RawQuery.
    sterliakov committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    8192a49 View commit details
    Browse the repository at this point in the history
  63. Use literal constants.

    sterliakov committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    8f9d807 View commit details
    Browse the repository at this point in the history
  64. Actualize base classes.

    sterliakov committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    0246fcc View commit details
    Browse the repository at this point in the history
  65. Configuration menu
    Copy the full SHA
    9175688 View commit details
    Browse the repository at this point in the history
  66. Add precise types.

    sterliakov committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    1044f2a View commit details
    Browse the repository at this point in the history
  67. Configuration menu
    Copy the full SHA
    a2c2873 View commit details
    Browse the repository at this point in the history
  68. Actualize indexes.

    sterliakov committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    e714320 View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    06d5712 View commit details
    Browse the repository at this point in the history
  70. Configuration menu
    Copy the full SHA
    9122eb3 View commit details
    Browse the repository at this point in the history
  71. Configuration menu
    Copy the full SHA
    959d27e View commit details
    Browse the repository at this point in the history
  72. Configuration menu
    Copy the full SHA
    6300a15 View commit details
    Browse the repository at this point in the history
  73. Add missing property decorators, methods and attributes. Use type ali…

    …ases. Remove absent YearComparisonLookup and any SafeText references (they aren't related to lookups at all).
    sterliakov committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    e662c88 View commit details
    Browse the repository at this point in the history
  74. Use bound TypeVar, mark all BuiltinLookup descendants as generic expl…

    …icitly. Remove strange Union from Lookup.__init__
    sterliakov committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    8223390 View commit details
    Browse the repository at this point in the history
  75. Configuration menu
    Copy the full SHA
    4afccd1 View commit details
    Browse the repository at this point in the history
  76. Configuration menu
    Copy the full SHA
    0cee260 View commit details
    Browse the repository at this point in the history
  77. Fix imports.

    sterliakov committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    a05ec68 View commit details
    Browse the repository at this point in the history
  78. Configuration menu
    Copy the full SHA
    3e30f70 View commit details
    Browse the repository at this point in the history
  79. Configuration menu
    Copy the full SHA
    fbf9d75 View commit details
    Browse the repository at this point in the history
  80. Configuration menu
    Copy the full SHA
    b0b2a1a View commit details
    Browse the repository at this point in the history
  81. Configuration menu
    Copy the full SHA
    9bc4005 View commit details
    Browse the repository at this point in the history
  82. Add missing attributes.

    sterliakov committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    380891d View commit details
    Browse the repository at this point in the history
  83. Configuration menu
    Copy the full SHA
    1f558a1 View commit details
    Browse the repository at this point in the history
  84. Define properties where possible, remove 'None' argument annotations,…

    … remove inadequate type in make_immutable_fields_list.
    sterliakov committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    e736ace View commit details
    Browse the repository at this point in the history
  85. Configuration menu
    Copy the full SHA
    5ce7106 View commit details
    Browse the repository at this point in the history
  86. Fix wrong types and actualize signatures. Deny ManagerDescriptor.__ge…

    …t__ on model instances.
    sterliakov committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    b8a84cf View commit details
    Browse the repository at this point in the history
  87. Use more specific types.

    sterliakov committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    183a260 View commit details
    Browse the repository at this point in the history
  88. Configuration menu
    Copy the full SHA
    f4cbb4c View commit details
    Browse the repository at this point in the history
  89. Reformat with black

    sterliakov committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    e3ffba6 View commit details
    Browse the repository at this point in the history
  90. Configuration menu
    Copy the full SHA
    1a89a41 View commit details
    Browse the repository at this point in the history
  91. Configuration menu
    Copy the full SHA
    eb3f228 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2022

  1. Configuration menu
    Copy the full SHA
    4717d38 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dc2bfe5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    44ab0a6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    61539fa View commit details
    Browse the repository at this point in the history
  5. Drop some unused imports.

    sterliakov committed Apr 2, 2022
    Configuration menu
    Copy the full SHA
    224a52b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    de0a07b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    01cbcb7 View commit details
    Browse the repository at this point in the history
  8. Fix typeddjango#834.

    sterliakov committed Apr 2, 2022
    Configuration menu
    Copy the full SHA
    4c92fff View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0aac534 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    e7a7946 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2022

  1. Fix CI

    sterliakov committed Apr 3, 2022
    Configuration menu
    Copy the full SHA
    6c0dece View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5005b7b View commit details
    Browse the repository at this point in the history