Commit Graph

  • 7c995572c6 Model.objects should be a ClassVar patch-1 Dave Halter 2020-06-09 22:48:19 +02:00
  • 1d78b8ffac Add SQLite backend is_in_memory_db() functions (#1218) Adam Johnson 2022-11-03 13:18:05 +00:00
  • e865c5b40f Update README.md Nikita Sobolev 2022-11-03 16:10:49 +03:00
  • 5edf2e8217 Cancel old pipelines (#1226) Nikita Sobolev 2022-11-03 16:05:54 +03:00
  • 7f0dd143f7 Delete pre-commit-autoupdate.yml Nikita Sobolev 2022-11-03 15:54:12 +03:00
  • 3fbfa1e13c Enable pre-commit.ci (#1222) Nikita Sobolev 2022-11-03 15:53:53 +03:00
  • a82c83f897 Fix types for sessions (#1173) Sigurd Ljødal 2022-11-03 12:37:51 +01:00
  • d4899596de Release django-stubs and django-stubs-ext sobolevn 2022-11-03 13:24:13 +03:00
  • 0381fdb022 Add some types to views (#1221) Adam Johnson 2022-10-31 17:43:49 +00:00
  • f566734799 Re-allow expressions in UniqueConstraint (#1220) Adam Johnson 2022-10-31 12:11:07 +00:00
  • 2a17d3f08f Remove bad redirect_chain attributes (#1148) Adam Johnson 2022-10-31 11:35:45 +00:00
  • 8f475fa0a6 Fill remaining missing hints with Any & disallow partial hints (#1206) Marti Raudsepp 2022-10-31 13:33:59 +02:00
  • e3c131bc61 Add type hints to all test code (#1217) Marti Raudsepp 2022-10-31 11:20:10 +02:00
  • 9b4162beb1 Auto-update pre-commit hooks (#1216) github-actions[bot] 2022-10-30 08:06:09 +00:00
  • 7bce5c2081 BaseDeleteView now extends FormMixin (#1215) Adam Johnson 2022-10-28 21:36:38 +01:00
  • 875acf76d7 Fixed F's asc and desc args (#1213) Guillaume Andreu Sabater 2022-10-28 14:59:18 +02:00
  • 36044c98b8 Add lots of missing argument & return type hints (#1204) Marti Raudsepp 2022-10-28 13:08:00 +03:00
  • e20d5307d1 Add BaseDatabaseSchemaEditor.table_sql() (#1212) Adam Johnson 2022-10-27 19:32:50 +01:00
  • ae5af12c9b Add BaseDetailView.object (#1211) Adam Johnson 2022-10-27 19:32:08 +01:00
  • 85ae4bb704 Add django.db.models.base.model_unpickle (#1209) Adam Johnson 2022-10-27 19:30:44 +01:00
  • efebe22397 Add auto_now attrs to date and time model fields (#1210) Adam Johnson 2022-10-27 18:52:48 +01:00
  • f9fbeb0f9b Bump pytest from 7.1.3 to 7.2.0 (#1203) dependabot[bot] 2022-10-27 11:37:05 +03:00
  • 73312caa24 Bump pytest-mypy-plugins from 1.10.0 to 1.10.1 (#1205) dependabot[bot] 2022-10-27 09:00:41 +03:00
  • 6aecafc64f Improve type of TestCase.captureOnCommitCallbacks (#1202) Petter Friberg 2022-10-25 10:47:09 +02:00
  • adb26248db Allow assertQuerySetEqual to compare with a collection of values (#1201) Petter Friberg 2022-10-24 23:50:08 +02:00
  • 71b06f5bb3 Generic sitemap (#1198) Thibaut Decombe 2022-10-22 19:58:59 +02:00
  • fb9ad1c7fe Add hints for instance variables in console.EmailBackend (#1200) James Owen 2022-10-21 16:42:21 +01:00
  • 36002a2087 Standardize all context manager __exit__ methods (#1194) Adam Johnson 2022-10-19 10:31:38 +01:00
  • 54e75fbe74 Update cache timeout parameters to floats (#1193) Adam Johnson 2022-10-19 10:31:29 +01:00
  • 14ff5ad7a8 Fix RelatedManager not callable (#1191) Thibaut Decombe 2022-10-19 10:14:51 +02:00
  • a78c59226a Bump gitpython from 3.1.28 to 3.1.29 (#1187) dependabot[bot] 2022-10-11 09:56:16 +03:00
  • 1c914abfa8 Auto-update pre-commit hooks (#1188) github-actions[bot] 2022-10-11 09:56:01 +03:00
  • 994312672e Bump black from 22.8.0 to 22.10.0 (#1184) dependabot[bot] 2022-10-07 09:37:11 +03:00
  • 4235bf7585 Bump gitpython from 3.1.27 to 3.1.28 (#1185) dependabot[bot] 2022-10-07 09:37:03 +03:00
  • 1cc6ec39a6 Auto-update pre-commit hooks (#1186) github-actions[bot] 2022-10-07 09:36:53 +03:00
  • 41deee4ec6 Update utils.log.log_response type for Django 4.1 (#1183) Anders Kaseorg 2022-10-06 01:22:20 -07:00
  • 05dc579748 Add missing re-export for JSONObject. (#1182) PIG208 2022-10-06 03:43:05 -04:00
  • 3a2f806282 Auto-update pre-commit hooks (#1181) github-actions[bot] 2022-10-05 12:55:39 +03:00
  • 4bdf385602 Bump mypy from 0.981 to 0.982 (#1180) dependabot[bot] 2022-10-04 11:13:05 +03:00
  • dde0f2f876 Reparametrize managers without explicit type parameters (#1169) Sigurd Ljødal 2022-10-03 19:36:45 +02:00
  • 946274bed8 Add UUIDField lookup types (#1178) Marti Raudsepp 2022-10-02 13:48:37 +03:00
  • db14454199 Fix type of <fieldname>_id when using ForeignKey(to_field=) (#1176) Marti Raudsepp 2022-09-30 10:05:57 +03:00
  • 5c616863dc Add SETTINGS_MODULE to Settings and LazySettings (#1175) Sigurd Ljødal 2022-09-30 09:03:54 +02:00
  • 54d5835f66 Implement support for <QuerySet>.as_manager() (#1025) Petter Friberg 2022-09-29 14:05:25 +02:00
  • 1f2e406972 Don't allow promise to be passed to ArrayField.name (#1171) Sigurd Ljødal 2022-09-28 15:34:43 +02:00
  • 56f74f1940 Disallow passing bytes for field verbose_name (#1170) Marti Raudsepp 2022-09-27 19:56:25 +03:00
  • 199a7f2707 Allow Promise to be passed to ArrayField.verbose_name (#1168) Sigurd Ljødal 2022-09-27 16:53:28 +02:00
  • 93fa1d2e19 Update mypy to 0.981 (#1167) Nikita Sobolev 2022-09-27 11:55:36 +03:00
  • bba51ce67d Auto-update pre-commit hooks (#1165) github-actions[bot] 2022-09-26 09:17:41 +03:00
  • f6a8c8dc8d Auto-update pre-commit hooks (#1164) github-actions[bot] 2022-09-25 08:51:38 +03:00
  • 9bd8aed1e1 Disable fallback to runtime types for Django settings (#1163) Anders Kaseorg 2022-09-24 00:57:45 -07:00
  • 02999f3e86 Fix unresolved placeholder error during serialization (#1161) Sigurd Ljødal 2022-09-23 20:35:23 +02:00
  • 3bc8278424 Fix paramters for ParallelTestSuite and RemoteTestRunner. (#1072) PIG208 2022-09-20 01:52:16 -04:00
  • 6f9afd3cc9 Relax fields= arg for refresh_from_db to accept Sequence (#1156) Petter Friberg 2022-09-20 00:14:08 +02:00
  • d7326315b1 Improve stubs for runserver management command. (#1037) PIG208 2022-09-19 15:30:04 -04:00
  • 9a41aa63ba Broaden type annotation for verbose_name(_plural) to accept lazystr. (#1139) PIG208 2022-09-19 10:01:44 -04:00
  • a2a3543198 Adjust choices= type variance for model fields (#1154) Petter Friberg 2022-09-19 12:17:17 +02:00
  • 88793ee3f7 Auto-update pre-commit hooks (#1153) github-actions[bot] 2022-09-16 08:32:46 +01:00
  • b34ebe7553 Serialize RelatedManager attributes in cache (#1152) Petter Friberg 2022-09-15 22:54:10 +02:00
  • 29e2b65c8b Improve Flake8 config (#1149) Adam Johnson 2022-09-09 15:16:22 +01:00
  • abd0609f80 Add type and parameter fields to MediaType (#1103) Yannik Rödel 2022-09-09 15:48:24 +02:00
  • 3c942483d4 Correct EmailMultiAlternatives.body (#1146) Adam Johnson 2022-09-08 12:13:54 +01:00
  • 354a892ecc Bump pytest from 7.1.2 to 7.1.3 (#1144) dependabot[bot] 2022-09-05 16:26:19 +03:00
  • 678a5a0302 Add django.db.models.functions.Collate (#1143) Søren Howe Gersager 2022-09-05 15:03:02 +02:00
  • c0414c7b02 Reflect the deprecation of get_response being None. (#1086) PIG208 2022-09-03 16:53:14 -04:00
  • 12e8009600 fix type hint for GenericSitemap(info_dict) (#1111) Daniel Brown 2022-09-02 11:48:19 +02:00
  • 2df1b6fecd Auto-update pre-commit hooks (#1142) github-actions[bot] 2022-09-01 11:52:06 +03:00
  • f477317059 Bump black from 22.6.0 to 22.8.0 (#1141) dependabot[bot] 2022-09-01 11:43:22 +03:00
  • a1d3aec3a2 Fix return type for django.shortcuts.render (#1140) Sebastiaan Zeeff 2022-08-30 14:05:39 +02:00
  • 74e31c7562 Add QuerySet.__aiter__() (#1136) Adam Johnson 2022-08-28 13:15:28 +01:00
  • 0635afa57c Fix Manager.contains and bulk_create (#1135) Adam Johnson 2022-08-28 10:01:40 +01:00
  • 3622a61442 Improve types for QuerySet.contains and bulk_create (#1134) Adam Johnson 2022-08-28 09:37:37 +01:00
  • bfad3b05c1 Improve database backend types (#1132) Adam Johnson 2022-08-28 09:15:22 +01:00
  • 11c587867d Add Q.__xor__ (#1133) Adam Johnson 2022-08-28 09:14:03 +01:00
  • d0a9793917 Add async queryset for Django 4.1 (#1131) Joon Hwan 김준환 2022-08-28 17:13:56 +09:00
  • 18a055124a Return Promise for lazy functions. (#689) PIG208 2022-08-27 14:08:31 -04:00
  • 11ded9deaf Enhance stubs for csrf decorators. (#1130) PIG208 2022-08-27 13:29:30 -04:00
  • 8bd00ba25a Type samesite values as literals 'Lax', 'Strict' or 'None' (#1110) Petter Friberg 2022-08-27 01:02:47 +02:00
  • 6b39050d52 Updating deconstructible (#1116) László Károlyi 2022-08-26 22:43:32 +00:00
  • a01ab43cc6 Add HttpRequest current_app and LANGUAGE_CODE attrs (#1127) Adam Johnson 2022-08-26 15:23:50 +01:00
  • 82695e8e1c Add db Field.flatchoices (#1128) Adam Johnson 2022-08-26 15:23:26 +01:00
  • 0120fc531a Rewrite SessionBase properties to use @property (#1129) Adam Johnson 2022-08-26 15:22:03 +01:00
  • de3e13ad92 Add database Field.non_db_attrs (#1125) Adam Johnson 2022-08-26 12:56:56 +01:00
  • 06359013c9 Run stubs self-check on all python versions (#1126) Nikita Sobolev 2022-08-26 14:36:23 +03:00
  • 63bee32d0d Add different signatures for form assertions from Django 4.1 (#1105) Adam Johnson 2022-08-26 11:31:45 +01:00
  • 1a310ef7f9 Add test client response.redirect_chain (#1124) Adam Johnson 2022-08-26 11:31:17 +01:00
  • 8b5509b2ab Improve type hints for test client response.context (#1100) Adam Johnson 2022-08-26 11:30:18 +01:00
  • 0bb1182c42 Fix CI (#1108) Nikita Sobolev 2022-08-26 13:22:55 +03:00
  • d2bfd3710b Improve return type for BaseCommand.execute() (#1104) Adam Johnson 2022-08-26 11:10:24 +01:00
  • cf16720f28 Improve types for DiscoverRunner (#1106) Adam Johnson 2022-08-26 11:09:41 +01:00
  • 063a35f4d0 Expose HttpResponseBase in django.http (#1121) Adam Johnson 2022-08-26 10:45:22 +01:00
  • 9ba4a55c93 Improve types for CheckMessage subclasses (#1107) Adam Johnson 2022-08-26 10:44:18 +01:00
  • 561140a584 Allow None to be passed to Paginator.get_page (#1101) Adam Johnson 2022-08-26 10:40:53 +01:00
  • 5b705d25da Add SimpleTestCase.assertURLEqual() (#1102) Adam Johnson 2022-08-26 10:40:34 +01:00
  • f626448105 Add BaseDatabaseWrapper.operations (#1119) Adam Johnson 2022-08-26 10:40:17 +01:00
  • 63ea17744f Add HttpResponseBase.__contains__ (#1099) Adam Johnson 2022-08-26 10:37:23 +01:00
  • f8fca3f94f Improve hints for BaseCache (#1117) Adam Johnson 2022-08-26 10:36:58 +01:00
  • 041b66a6aa Prevent building an editable wheel with setuptools<64 (#1123) Anders Kaseorg 2022-08-26 01:55:41 -07:00
  • 3ac34f1108 Fix base_field type for SimpleArrayField (#1097) Alex Nathanail 2022-08-10 14:16:54 +01:00
  • a1445291fd Improve type annotation for RunSQL (#1090) PIG208 2022-08-09 03:36:36 -04:00