diff --git a/dashboard/fixtures/dashboard_example_data.json.gz b/dashboard/fixtures/dashboard_example_data.json.gz index d56f9aabc5..ac645e5c16 100644 Binary files a/dashboard/fixtures/dashboard_example_data.json.gz and b/dashboard/fixtures/dashboard_example_data.json.gz differ diff --git a/dashboard/fixtures/dashboard_production_metrics.json b/dashboard/fixtures/dashboard_production_metrics.json index 91ee8f1122..14dff7d40f 100644 --- a/dashboard/fixtures/dashboard_production_metrics.json +++ b/dashboard/fixtures/dashboard_production_metrics.json @@ -272,7 +272,7 @@ } }, { - "model": "dashboard.rssfeedmetric", + "model": "dashboard.githubsearchcountmetric", "pk": 1, "fields": { "name": "Commits today", @@ -284,12 +284,12 @@ "period": "daily", "unit": "commit", "unit_plural": "commits", - "feed_url": "https://code.djangoproject.com/timeline?changeset=on&max=0&daysback=0&format=rss", - "link_url": "https://code.djangoproject.com/timeline?changeset=on&max=0&daysback=0" + "api_url": "https://api.github.com/search/commits", + "link_url": "https://github.com/django/django/commits" } }, { - "model": "dashboard.rssfeedmetric", + "model": "dashboard.githubsearchcountmetric", "pk": 2, "fields": { "name": "Commits in the last week", @@ -301,8 +301,8 @@ "period": "weekly", "unit": "commit", "unit_plural": "commits", - "feed_url": "https://code.djangoproject.com/timeline?changeset=on&max=0&daysback=7&format=rss", - "link_url": "https://code.djangoproject.com/timeline?changeset=on&max=0&daysback=7" + "api_url": "https://api.github.com/search/commits", + "link_url": "https://github.com/django/django/commits" } }, { diff --git a/dashboard/fixtures/dashboard_test_data.json b/dashboard/fixtures/dashboard_test_data.json index ed38b93fd1..e398fd78dd 100644 --- a/dashboard/fixtures/dashboard_test_data.json +++ b/dashboard/fixtures/dashboard_test_data.json @@ -180,16 +180,16 @@ "category": 1, "show_on_dashboard": true, "name": "Commits today", - "feed_url": "https://code.djangoproject.com/timeline?changeset=on&max=0&daysback=0&format=rss", - "link_url": "https://code.djangoproject.com/timeline?changeset=on&max=0&daysback=0", + "api_url": "https://api.github.com/search/commits", + "link_url": "https://github.com/django/django/commits", "period": "daily", "show_sparkline": true, "unit_plural": "commits", - "position": 1, + "position": 2, "slug": "commits-today", "unit": "commit" }, - "model": "dashboard.rssfeedmetric", + "model": "dashboard.githubsearchcountmetric", "pk": 1 }, { @@ -197,16 +197,16 @@ "category": 1, "show_on_dashboard": true, "name": "Commits in the last week", - "feed_url": "https://code.djangoproject.com/timeline?changeset=on&max=0&daysback=7&format=rss", - "link_url": "https://code.djangoproject.com/timeline?changeset=on&max=0&daysback=7", + "api_url": "https://api.github.com/search/commits", + "link_url": "https://github.com/django/django/commits", "period": "weekly", "show_sparkline": true, "unit_plural": "commits", - "position": 1, + "position": 4, "slug": "commits-week", "unit": "commit" }, - "model": "dashboard.rssfeedmetric", + "model": "dashboard.githubsearchcountmetric", "pk": 2 }, { diff --git a/dashboard/fixtures/rss_feed_metric.xml b/dashboard/fixtures/rss_feed_metric.xml deleted file mode 100644 index 66137844b0..0000000000 --- a/dashboard/fixtures/rss_feed_metric.xml +++ /dev/null @@ -1,2626 +0,0 @@ - - - - Django - https://code.djangoproject.com/timeline - Trac Timeline - en-US - Trac 1.0.2 - - Django - https://www.djangoproject.com/s/img/site/hdr_logo.gif - https://code.djangoproject.com/timeline - - - Changeset [c3336e7e]: Removed dumpdata --natural option and serializers use_natural_keys ... - - Tim Graham <timograham@…> - - Sun, 18 Jan 2015 01:18:34 GMT - https://code.djangoproject.com/changeset/c3336e7e4f146fc62272d462288a00f8d78c1f83 - https://code.djangoproject.com/changeset/c3336e7e4f146fc62272d462288a00f8d78c1f83/1421543914000000 - <p> -Removed dumpdata --natural option and serializers use_natural_keys parameter. -</p> -<p> -Per deprecation timeline; refs <a class="closed ticket" href="https://code.djangoproject.com/ticket/13252" title="New feature: Use the natural key instead of the primary key when serializing (closed: fixed)">#13252</a>. -</p> - - changeset - - Changeset [1d975ff]: Removed usage of deprecated dumpdata options in docs. - - Tim Graham <timograham@…> - - Sun, 18 Jan 2015 01:14:45 GMT - https://code.djangoproject.com/changeset/1d975ff44bc23efaf0ebf3e96cc35539d80bd244 - https://code.djangoproject.com/changeset/1d975ff44bc23efaf0ebf3e96cc35539d80bd244/1421543685000000 - <p> -Removed usage of deprecated dumpdata options in docs. -</p> - - changeset - - Changeset [8d959f73]: Removed obsolete deprecation warning in runtests.py - - Tim Graham <timograham@…> - - Sun, 18 Jan 2015 00:41:46 GMT - https://code.djangoproject.com/changeset/8d959f73bed135c1253c0d957355b60fce4091e9 - https://code.djangoproject.com/changeset/8d959f73bed135c1253c0d957355b60fce4091e9/1421541706000000 - <p> -Removed obsolete deprecation warning in runtests.py -</p> - - changeset - - Changeset [40d6b37]: Removed BaseMemcachedCacheMethods._get_memcache_timeout backwards ... - - Tim Graham <timograham@…> - - Sun, 18 Jan 2015 00:32:54 GMT - https://code.djangoproject.com/changeset/40d6b376d4ac29c1f271bb827cd9ca24860ce4b5 - https://code.djangoproject.com/changeset/40d6b376d4ac29c1f271bb827cd9ca24860ce4b5/1421541174000000 - <p> -Removed BaseMemcachedCacheMethods._get_memcache_timeout backwards compatibility shim. -</p> -<p> -Per deprecation timeline; refs <a class="closed ticket" href="https://code.djangoproject.com/ticket/21147" title="Bug: cache.tests.FileBasedCacheTests.test_zero_timeout fails with sqlite on ... (closed: fixed)">#21147</a>. -</p> - - changeset - - Changeset [eea66a6e]: [1.7.x] Added removal of check management command to deprecation ... - - Tim Graham <timograham@…> - - Sun, 18 Jan 2015 00:16:41 GMT - https://code.djangoproject.com/changeset/eea66a6e97f9c3392cf24b971c15a6a7ea634202 - https://code.djangoproject.com/changeset/eea66a6e97f9c3392cf24b971c15a6a7ea634202/1421540201000000 - <p> -[1.7.x] Added removal of check management command to deprecation timeline. -</p> -<p> -Backport of <a class="changeset" href="https://code.djangoproject.com/changeset/20e4e8fc79af9a87fb48951d03d3747f1f550551/" title="Added removal of check management command to deprecation timeline.">20e4e8fc79af9a87fb48951d03d3747f1f550551</a> from master -</p> - - changeset - - Changeset [a41d410]: [1.8.x] Added removal of check management command to deprecation ... - - Tim Graham <timograham@…> - - Sun, 18 Jan 2015 00:15:59 GMT - https://code.djangoproject.com/changeset/a41d41046af60e585713b33ff2e6e039446ce389 - https://code.djangoproject.com/changeset/a41d41046af60e585713b33ff2e6e039446ce389/1421540159000000 - <p> -[1.8.x] Added removal of check management command to deprecation timeline. -</p> -<p> -Backport of <a class="changeset" href="https://code.djangoproject.com/changeset/20e4e8fc79af9a87fb48951d03d3747f1f550551/" title="Added removal of check management command to deprecation timeline.">20e4e8fc79af9a87fb48951d03d3747f1f550551</a> from master -</p> - - changeset - - Changeset [20e4e8f]: Added removal of check management command to deprecation timeline. - - Tim Graham <timograham@…> - - Sun, 18 Jan 2015 00:14:44 GMT - https://code.djangoproject.com/changeset/20e4e8fc79af9a87fb48951d03d3747f1f550551 - https://code.djangoproject.com/changeset/20e4e8fc79af9a87fb48951d03d3747f1f550551/1421540084000000 - <p> -Added removal of check management command to deprecation timeline. -</p> - - changeset - - Changeset [0622bca5]: Removed the validate management command per deprecation timeline. - - Tim Graham <timograham@…> - - Sun, 18 Jan 2015 00:12:03 GMT - https://code.djangoproject.com/changeset/0622bca5d1b25877167b7beda96edcd3ba58db8d - https://code.djangoproject.com/changeset/0622bca5d1b25877167b7beda96edcd3ba58db8d/1421539923000000 - <p> -Removed the validate management command per deprecation timeline. -</p> - - changeset - - Changeset [714277c]: Removed support for SplitDateTimeWidget with DateTimeField per ... - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 23:49:44 GMT - https://code.djangoproject.com/changeset/714277cb4cedd8290101f9c6b3e6382f192ae177 - https://code.djangoproject.com/changeset/714277cb4cedd8290101f9c6b3e6382f192ae177/1421538584000000 - <p> -Removed support for SplitDateTimeWidget with DateTimeField per deprecation timeline. -</p> -<p> -refs <a class="closed ticket" href="https://code.djangoproject.com/ticket/8898" title="Bug: `required` validation bypassed when using `DateTimeField` with ... (closed: fixed)">#8898</a> -</p> - - changeset - - Changeset [ecbe20f]: [1.7.x] Added versionadded to ModelAdmin.get_formsets_with_inlines(); ... - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 23:18:06 GMT - https://code.djangoproject.com/changeset/ecbe20fe20ddc54aa034530b38a73195ee3f598d - https://code.djangoproject.com/changeset/ecbe20fe20ddc54aa034530b38a73195ee3f598d/1421536686000000 - <p> -[1.7.x] Added versionadded to ModelAdmin.get_formsets_with_inlines(); refs <a class="closed ticket" href="https://code.djangoproject.com/ticket/20702" title="Bug: Using ModelAdmin.get_formsets() to filter inlines is broken. (closed: fixed)">#20702</a>. -</p> -<p> -Backport of <a class="changeset" href="https://code.djangoproject.com/changeset/7cfcdd98dcf0dbbde7cfd656e450c52342dbe6f3/" title="[1.8.x] Added versionadded to ModelAdmin.get_formsets_with_inlines(); ...">7cfcdd98dcf0dbbde7cfd656e450c52342dbe6f3</a> from stable/1.8.x -</p> - - changeset - - Changeset [7cfcdd9]: [1.8.x] Added versionadded to ModelAdmin.get_formsets_with_inlines(); ... - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 23:12:47 GMT - https://code.djangoproject.com/changeset/7cfcdd98dcf0dbbde7cfd656e450c52342dbe6f3 - https://code.djangoproject.com/changeset/7cfcdd98dcf0dbbde7cfd656e450c52342dbe6f3/1421536367000000 - <p> -[1.8.x] Added versionadded to ModelAdmin.get_formsets_with_inlines(); refs <a class="closed ticket" href="https://code.djangoproject.com/ticket/20702" title="Bug: Using ModelAdmin.get_formsets() to filter inlines is broken. (closed: fixed)">#20702</a>. -</p> - - changeset - - Changeset [2c9e9563]: Removed ModelAdmin.get_formsets() per deprecation timeline; refs #20702. - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 23:02:35 GMT - https://code.djangoproject.com/changeset/2c9e95639e5a353f9fe1b81ecd3fdc5e2212781e - https://code.djangoproject.com/changeset/2c9e95639e5a353f9fe1b81ecd3fdc5e2212781e/1421535755000000 - <p> -Removed ModelAdmin.get_formsets() per deprecation timeline; refs <a class="closed ticket" href="https://code.djangoproject.com/ticket/20702" title="Bug: Using ModelAdmin.get_formsets() to filter inlines is broken. (closed: fixed)">#20702</a>. -</p> - - changeset - - Changeset [3b570db]: Removed BaseDatabaseValidation.validate_field() per deprecation timeline. - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 19:58:09 GMT - https://code.djangoproject.com/changeset/3b570dbcdb605cc6ee7e8796e1533fdd40c92362 - https://code.djangoproject.com/changeset/3b570dbcdb605cc6ee7e8796e1533fdd40c92362/1421524689000000 - <p> -Removed BaseDatabaseValidation.validate_field() per deprecation timeline. -</p> - - changeset - - Changeset [e1b93db]: Removed deprecated aliases in django.db.models. - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 19:57:34 GMT - https://code.djangoproject.com/changeset/e1b93dbbef6afb86cf17be7f260f7b05ab7579e2 - https://code.djangoproject.com/changeset/e1b93dbbef6afb86cf17be7f260f7b05ab7579e2/1421524654000000 - <p> -Removed deprecated aliases in django.db.models. -</p> - - changeset - - Changeset [29737a2]: [1.7.x] Cleaned up migration writer tests Backport of ... - - Markus Holtermann <info@…> - - Sat, 17 Jan 2015 19:45:41 GMT - https://code.djangoproject.com/changeset/29737a2949e9b56df03dae3f84fccd8fe0443358 - https://code.djangoproject.com/changeset/29737a2949e9b56df03dae3f84fccd8fe0443358/1421523941000000 - <p> -[1.7.x] Cleaned up migration writer tests -</p> -<p> -Backport of <a class="changeset" href="https://code.djangoproject.com/changeset/65d55c409343aab7c2ae771c459720ef797b4cdb/" title="Cleaned up migration writer tests">65d55c409343aab7c2ae771c459720ef797b4cdb</a> from master -</p> - - changeset - - Changeset [5512338]: [1.8.x] Cleaned up migration writer tests Backport of ... - - Markus Holtermann <info@…> - - Sat, 17 Jan 2015 19:42:58 GMT - https://code.djangoproject.com/changeset/5512338d4f2d4193cf4d9fa3dd707b149b8b9450 - https://code.djangoproject.com/changeset/5512338d4f2d4193cf4d9fa3dd707b149b8b9450/1421523778000000 - <p> -[1.8.x] Cleaned up migration writer tests -</p> -<p> -Backport of <a class="changeset" href="https://code.djangoproject.com/changeset/65d55c409343aab7c2ae771c459720ef797b4cdb/" title="Cleaned up migration writer tests">65d55c409343aab7c2ae771c459720ef797b4cdb</a> from master -</p> - - changeset - - Changeset [2b4ca2e]: Removed unused imports. - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 19:42:51 GMT - https://code.djangoproject.com/changeset/2b4ca2ec295503472d488bb75548f0a576eb6aaf - https://code.djangoproject.com/changeset/2b4ca2ec295503472d488bb75548f0a576eb6aaf/1421523771000000 - <p> -Removed unused imports. -</p> - - changeset - - Changeset [c2d5f290]: Removed contrib.flatpages.FlatPageSitemap per deprecation timeline; ... - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 19:40:22 GMT - https://code.djangoproject.com/changeset/c2d5f2903cfaef4f8b17d86f4db706b61073a471 - https://code.djangoproject.com/changeset/c2d5f2903cfaef4f8b17d86f4db706b61073a471/1421523622000000 - <p> -Removed contrib.flatpages.FlatPageSitemap per deprecation timeline; refs <a class="closed ticket" href="https://code.djangoproject.com/ticket/23884" title="Cleanup/optimization: Consider moving FlatPageSitemap to contrib.flatpages (closed: fixed)">#23884</a>. -</p> - - changeset - - Changeset [65d55c40]: Cleaned up migration writer tests - - Markus Holtermann <info@…> - - Sat, 17 Jan 2015 19:29:50 GMT - https://code.djangoproject.com/changeset/65d55c409343aab7c2ae771c459720ef797b4cdb - https://code.djangoproject.com/changeset/65d55c409343aab7c2ae771c459720ef797b4cdb/1421522990000000 - <p> -Cleaned up migration writer tests -</p> - - changeset - - Changeset [2788c46]: Removed Multiple/ModelChoiceField cache_choices option; refs #22838. - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 18:48:46 GMT - https://code.djangoproject.com/changeset/2788c46d46bc4d7afb906765ce1f484faef180c5 - https://code.djangoproject.com/changeset/2788c46d46bc4d7afb906765ce1f484faef180c5/1421520526000000 - <p> -Removed Multiple/ModelChoiceField cache_choices option; refs <a class="closed ticket" href="https://code.djangoproject.com/ticket/22838" title="Cleanup/optimization: Deprecate ModelChoiceField.cache_choices (closed: fixed)">#22838</a>. -</p> - - changeset - - Changeset [4b8d3bb]: Standardized indentation in docs/howto/custom-management-commands.txt. - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 18:38:01 GMT - https://code.djangoproject.com/changeset/4b8d3bbab58ee99404fc84091fcca566552322ea - https://code.djangoproject.com/changeset/4b8d3bbab58ee99404fc84091fcca566552322ea/1421519881000000 - <p> -Standardized indentation in docs/howto/custom-management-commands.txt. -</p> - - changeset - - Changeset [bd93032]: Removed ssi/url tags from future per deprecation timeline; refs #21939. - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 18:29:52 GMT - https://code.djangoproject.com/changeset/bd93032191f96bc7086aa46b91b4177601c6fce9 - https://code.djangoproject.com/changeset/bd93032191f96bc7086aa46b91b4177601c6fce9/1421519392000000 - <p> -Removed ssi/url tags from future per deprecation timeline; refs <a class="closed ticket" href="https://code.djangoproject.com/ticket/21939" title="Cleanup/optimization: Deprecate loading ssi/url tags from future (closed: fixed)">#21939</a>. -</p> - - changeset - - Changeset [a58a120]: [1.8.x] Standardized indentation in ... - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 18:27:59 GMT - https://code.djangoproject.com/changeset/a58a120021e4d63fbb176ecd88a7fefae54ff19c - https://code.djangoproject.com/changeset/a58a120021e4d63fbb176ecd88a7fefae54ff19c/1421519279000000 - <p> -[1.8.x] Standardized indentation in docs/howto/custom-management-commands.txt. -</p> - - changeset - - Changeset [e278407]: Removed unused imports from previous commit. - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 18:22:52 GMT - https://code.djangoproject.com/changeset/e278407b20af0fd957fc3f39244a991c7520f2ba - https://code.djangoproject.com/changeset/e278407b20af0fd957fc3f39244a991c7520f2ba/1421518972000000 - <p> -Removed unused imports from previous commit. -</p> - - changeset - - Changeset [4a03d348]: Removed BaseCommand.requires_model_validation per deprecation timeline. - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 17:59:07 GMT - https://code.djangoproject.com/changeset/4a03d348c70caa3e21393e08e6e665ef752202ac - https://code.djangoproject.com/changeset/4a03d348c70caa3e21393e08e6e665ef752202ac/1421517547000000 - <p> -Removed BaseCommand.requires_model_validation per deprecation timeline. -</p> - - changeset - - Changeset [85c0eb1]: [1.7.x] Replaced deprecated requires_model_validation in docs. ... - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 17:52:34 GMT - https://code.djangoproject.com/changeset/85c0eb1e3baf09d79d463a20fedc3fbded3093f9 - https://code.djangoproject.com/changeset/85c0eb1e3baf09d79d463a20fedc3fbded3093f9/1421517154000000 - <p> -[1.7.x] Replaced deprecated requires_model_validation in docs. -</p> -<p> -Backport of <a class="changeset" href="https://code.djangoproject.com/changeset/18192b9fa4387d5e6c677a7929d91ce04f92cda7/" title="Replaced deprecated requires_model_validation in docs.">18192b9fa4387d5e6c677a7929d91ce04f92cda7</a> from master -</p> - - changeset - - Changeset [bfa34788]: [1.8.x] Replaced deprecated requires_model_validation in docs. ... - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 17:52:30 GMT - https://code.djangoproject.com/changeset/bfa34788507505584a9885c6856c6a6083670879 - https://code.djangoproject.com/changeset/bfa34788507505584a9885c6856c6a6083670879/1421517150000000 - <p> -[1.8.x] Replaced deprecated requires_model_validation in docs. -</p> -<p> -Backport of <a class="changeset" href="https://code.djangoproject.com/changeset/18192b9fa4387d5e6c677a7929d91ce04f92cda7/" title="Replaced deprecated requires_model_validation in docs.">18192b9fa4387d5e6c677a7929d91ce04f92cda7</a> from master -</p> - - changeset - - Changeset [18192b9f]: Replaced deprecated requires_model_validation in docs. - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 17:51:50 GMT - https://code.djangoproject.com/changeset/18192b9fa4387d5e6c677a7929d91ce04f92cda7 - https://code.djangoproject.com/changeset/18192b9fa4387d5e6c677a7929d91ce04f92cda7/1421517110000000 - <p> -Replaced deprecated requires_model_validation in docs. -</p> - - changeset - - Changeset [df3f3bb]: Removed utils.text.javascript_quote() per deprecation timeline; refs ... - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 17:41:49 GMT - https://code.djangoproject.com/changeset/df3f3bbe2927b9bad80088c6adbf5e8c5ba778c9 - https://code.djangoproject.com/changeset/df3f3bbe2927b9bad80088c6adbf5e8c5ba778c9/1421516509000000 - <p> -Removed utils.text.javascript_quote() per deprecation timeline; refs <a class="closed ticket" href="https://code.djangoproject.com/ticket/21725" title="Bug: Javascript translations fail with non-BMP characters (closed: fixed)">#21725</a>. -</p> - - changeset - - Changeset [00a1199]: Removed support for AppCommand.handle_app() per deprecation timeline. - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 17:34:34 GMT - https://code.djangoproject.com/changeset/00a11994a57312687b9e104d2de370b139a28358 - https://code.djangoproject.com/changeset/00a11994a57312687b9e104d2de370b139a28358/1421516074000000 - <p> -Removed support for AppCommand.handle_app() per deprecation timeline. -</p> - - changeset - - Changeset [f0a1df0b]: Removed deprecated Chinese language codes; refs #18149. - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 16:23:43 GMT - https://code.djangoproject.com/changeset/f0a1df0b0139a7f5a576dff966210b5d52247650 - https://code.djangoproject.com/changeset/f0a1df0b0139a7f5a576dff966210b5d52247650/1421511823000000 - <p> -Removed deprecated Chinese language codes; refs <a class="closed ticket" href="https://code.djangoproject.com/ticket/18149" title="Bug: Form.prefix example gives wrong separator between prefix and field name (closed: fixed)">#18149</a>. -</p> - - changeset - - Changeset [467fd7e]: [1.7.x] Updated tutorial 1 with actual migrate output. - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 15:54:34 GMT - https://code.djangoproject.com/changeset/467fd7ea1afe6d80735af73ece45eaa61d9ff3c5 - https://code.djangoproject.com/changeset/467fd7ea1afe6d80735af73ece45eaa61d9ff3c5/1421510074000000 - <p> -[1.7.x] Updated tutorial 1 with actual migrate output. -</p> - - changeset - - Changeset [9f86d86]: [1.8.x] Updated tutorial 1 with actual migrate output. - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 15:46:27 GMT - https://code.djangoproject.com/changeset/9f86d86c62e5e805ba0191ccd546e174301998ea - https://code.djangoproject.com/changeset/9f86d86c62e5e805ba0191ccd546e174301998ea/1421509587000000 - <p> -[1.8.x] Updated tutorial 1 with actual migrate output. -</p> - - changeset - - Changeset [b845951]: Required sqlparse for SQL splitting per deprecation timeline. - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 15:20:30 GMT - https://code.djangoproject.com/changeset/b845951fd41cf6a380b3e09eeb30f7d105c37061 - https://code.djangoproject.com/changeset/b845951fd41cf6a380b3e09eeb30f7d105c37061/1421508030000000 - <p> -Required sqlparse for SQL splitting per deprecation timeline. -</p> - - changeset - - Changeset [4aa089a9]: Removed support for custom SQL per deprecation timeline. - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 15:16:06 GMT - https://code.djangoproject.com/changeset/4aa089a9a9504c4a833eee8161be013206da5d15 - https://code.djangoproject.com/changeset/4aa089a9a9504c4a833eee8161be013206da5d15/1421507766000000 - <p> -Removed support for custom SQL per deprecation timeline. -</p> - - changeset - - Changeset [a420f83]: Fixed #24055 -- Keep reference to view class for resolve() - - Loic Bistuer <loic.bistuer@…> - - Sat, 17 Jan 2015 15:09:10 GMT - https://code.djangoproject.com/changeset/a420f83e7d2e446ca01ef7c13d30c2ef3e975e5c - https://code.djangoproject.com/changeset/a420f83e7d2e446ca01ef7c13d30c2ef3e975e5c/1421507350000000 - <p> -Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/24055" title="New feature: Keep reference to view class for resolve() (closed: fixed)">#24055</a> -- Keep reference to view class for resolve() -</p> - - changeset - - Changeset [67235fd]: Removed support for initial_data fixtures per deprecation timeline. - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 14:59:25 GMT - https://code.djangoproject.com/changeset/67235fd4ef1b006fc9cdb2fa20e7bb93b0edff4b - https://code.djangoproject.com/changeset/67235fd4ef1b006fc9cdb2fa20e7bb93b0edff4b/1421506765000000 - <p> -Removed support for initial_data fixtures per deprecation timeline. -</p> - - changeset - - Changeset [f635d759]: Removed support for old-style test database settings per deprecation ... - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 14:55:18 GMT - https://code.djangoproject.com/changeset/f635d759354842e46901ed1ae1be5f5a0b81e567 - https://code.djangoproject.com/changeset/f635d759354842e46901ed1ae1be5f5a0b81e567/1421506518000000 - <p> -Removed support for old-style test database settings per deprecation timeline. -</p> - - changeset - - Changeset [d038c54]: Removed django.core.cache.get_cache() per deprecation timeline; refs ... - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 14:55:18 GMT - https://code.djangoproject.com/changeset/d038c547b5ce585cbf9ef5bb7e5298f52e4a243b - https://code.djangoproject.com/changeset/d038c547b5ce585cbf9ef5bb7e5298f52e4a243b/1421506518000000 - <p> -Removed django.core.cache.get_cache() per deprecation timeline; refs <a class="closed ticket" href="https://code.djangoproject.com/ticket/21012" title="Cleanup/optimization: Provide shared &#34;caches&#34; dict to avoid creating multiple cache class ... (closed: fixed)">#21012</a>. -</p> - - changeset - - Changeset [6b1b726]: [1.8.x] Fixed PostGIS crosses lookup and added crosses test Backport ... - - Claude Paroz <claude@…> - - Sat, 17 Jan 2015 14:46:50 GMT - https://code.djangoproject.com/changeset/6b1b7263f4b0065a8a514abfd7e74e17e742dbf6 - https://code.djangoproject.com/changeset/6b1b7263f4b0065a8a514abfd7e74e17e742dbf6/1421506010000000 - <p> -[1.8.x] Fixed PostGIS crosses lookup and added crosses test -</p> -<p> -Backport of aff0e54d5 from master. -</p> - - changeset - - Changeset [aff0e54d]: Fixed PostGIS crosses lookup and added crosses test - - Claude Paroz <claude@…> - - Sat, 17 Jan 2015 14:44:49 GMT - https://code.djangoproject.com/changeset/aff0e54d511f55dbcdbae6a79c237fbb3edc9973 - https://code.djangoproject.com/changeset/aff0e54d511f55dbcdbae6a79c237fbb3edc9973/1421505889000000 - <p> -Fixed PostGIS crosses lookup and added crosses test -</p> - - changeset - - Changeset [1b0365ad]: Removed django.utils.tzinfo per deprecation timeline; refs #17262. - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 14:32:33 GMT - https://code.djangoproject.com/changeset/1b0365ad34151f266fe3faecb4edf31a51a8642c - https://code.djangoproject.com/changeset/1b0365ad34151f266fe3faecb4edf31a51a8642c/1421505153000000 - <p> -Removed django.utils.tzinfo per deprecation timeline; refs <a class="closed ticket" href="https://code.djangoproject.com/ticket/17262" title="Cleanup/optimization: Refactor the implementations of tzinfo classes (closed: fixed)">#17262</a>. -</p> - - changeset - - Changeset [5f600db3]: [1.7.x] Documented django.utils.timezone.FixedOffset; thanks Aymeric. ... - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 14:31:59 GMT - https://code.djangoproject.com/changeset/5f600db37a61be24cfe75bb2f327bb7bb57a468c - https://code.djangoproject.com/changeset/5f600db37a61be24cfe75bb2f327bb7bb57a468c/1421505119000000 - <p> -[1.7.x] Documented django.utils.timezone.FixedOffset; thanks Aymeric. -</p> -<p> -Backport of <a class="changeset" href="https://code.djangoproject.com/changeset/25264d4e2a4b3fd6a25e6b617388ea24f3d48d63/" title="Documented django.utils.timezone.FixedOffset; thanks Aymeric.">25264d4e2a4b3fd6a25e6b617388ea24f3d48d63</a> from master -</p> - - changeset - - Changeset [b714316]: [1.8.x] Documented django.utils.timezone.FixedOffset; thanks Aymeric. ... - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 14:31:56 GMT - https://code.djangoproject.com/changeset/b714316c0606110cd508863b6d12650004366aaf - https://code.djangoproject.com/changeset/b714316c0606110cd508863b6d12650004366aaf/1421505116000000 - <p> -[1.8.x] Documented django.utils.timezone.FixedOffset; thanks Aymeric. -</p> -<p> -Backport of <a class="changeset" href="https://code.djangoproject.com/changeset/25264d4e2a4b3fd6a25e6b617388ea24f3d48d63/" title="Documented django.utils.timezone.FixedOffset; thanks Aymeric.">25264d4e2a4b3fd6a25e6b617388ea24f3d48d63</a> from master -</p> - - changeset - - Changeset [25264d4e]: Documented django.utils.timezone.FixedOffset; thanks Aymeric. - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 14:30:52 GMT - https://code.djangoproject.com/changeset/25264d4e2a4b3fd6a25e6b617388ea24f3d48d63 - https://code.djangoproject.com/changeset/25264d4e2a4b3fd6a25e6b617388ea24f3d48d63/1421505052000000 - <p> -Documented django.utils.timezone.FixedOffset; thanks Aymeric. -</p> - - changeset - - Changeset [f6463bb3]: Removed the syncdb command per deprecation timeline. - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 14:20:12 GMT - https://code.djangoproject.com/changeset/f6463bb38047bac7a62826ca901e3c5add40cb10 - https://code.djangoproject.com/changeset/f6463bb38047bac7a62826ca901e3c5add40cb10/1421504412000000 - <p> -Removed the syncdb command per deprecation timeline. -</p> - - changeset - - Changeset [f4f24d3]: Removed pre_syncdb and post_syncdb signals per deprecation timeline. - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 14:07:00 GMT - https://code.djangoproject.com/changeset/f4f24d30e044b5bc2014b8356058099808c22c1a - https://code.djangoproject.com/changeset/f4f24d30e044b5bc2014b8356058099808c22c1a/1421503620000000 - <p> -Removed pre_syncdb and post_syncdb signals per deprecation timeline. -</p> - - changeset - - Changeset [fed25f11]: Removed compatibility with Python 3.2. - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 14:00:17 GMT - https://code.djangoproject.com/changeset/fed25f1105ff0d5fe46cd217b29371ee7f1907f2 - https://code.djangoproject.com/changeset/fed25f1105ff0d5fe46cd217b29371ee7f1907f2/1421503217000000 - <p> -Removed compatibility with Python 3.2. -</p> - - changeset - - Changeset [4e65f195]: Removed django.db.models.loading per deprecation timeline. - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 13:40:59 GMT - https://code.djangoproject.com/changeset/4e65f195e1b10d83bb7edc38c908747c4fd537b8 - https://code.djangoproject.com/changeset/4e65f195e1b10d83bb7edc38c908747c4fd537b8/1421502059000000 - <p> -Removed django.db.models.loading per deprecation timeline. -</p> - - changeset - - Changeset [d4ee6cd]: Removed ModelAdmin.declared_fieldsets per deprecation timeline; refs ... - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 13:40:33 GMT - https://code.djangoproject.com/changeset/d4ee6cda5802adc5a38d266ccebe78fb67066179 - https://code.djangoproject.com/changeset/d4ee6cda5802adc5a38d266ccebe78fb67066179/1421502033000000 - <p> -Removed ModelAdmin.declared_fieldsets per deprecation timeline; refs <a class="closed ticket" href="https://code.djangoproject.com/ticket/18681" title="Bug: get_fieldsets not hooked in properly (closed: fixed)">#18681</a>. -</p> - - changeset - - Changeset [c820892]: Removed django.utils.datastructures.SortedDict per deprecation timeline. - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 13:40:23 GMT - https://code.djangoproject.com/changeset/c820892eed9ea10879270e64e8109dc44829756a - https://code.djangoproject.com/changeset/c820892eed9ea10879270e64e8109dc44829756a/1421502023000000 - <p> -Removed django.utils.datastructures.<a class="wiki" href="https://code.djangoproject.com/wiki/SortedDict">SortedDict</a> per deprecation timeline. -</p> - - changeset - - Changeset [41f0d3d3]: Removed FastCGI support per deprecation timeline; refs #20766. - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 13:32:31 GMT - https://code.djangoproject.com/changeset/41f0d3d3bc8b0a6831530e1176c6415f9ba45b0b - https://code.djangoproject.com/changeset/41f0d3d3bc8b0a6831530e1176c6415f9ba45b0b/1421501551000000 - <p> -Removed FastCGI support per deprecation timeline; refs <a class="closed ticket" href="https://code.djangoproject.com/ticket/20766" title="Cleanup/optimization: Deprecate fastcgi support (closed: fixed)">#20766</a>. -</p> - - changeset - - Changeset [37b7776a]: Removed django.utils.datastructures.MergeDict per deprecation ... - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 13:13:36 GMT - https://code.djangoproject.com/changeset/37b7776a015102e97b9bdd64d88c732883ff9989 - https://code.djangoproject.com/changeset/37b7776a015102e97b9bdd64d88c732883ff9989/1421500416000000 - <p> -Removed django.utils.datastructures.MergeDict per deprecation timeline; refs <a class="closed ticket" href="https://code.djangoproject.com/ticket/18659" title="Cleanup/optimization: Remove `request.REQUEST` (closed: fixed)">#18659</a>. -</p> - - changeset - - Changeset [75f107b8]: Removed request.REQUEST per deprecation timeline; refs #18659. - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 13:05:18 GMT - https://code.djangoproject.com/changeset/75f107b8842dfc890ddd65262bd09ca87c3a15be - https://code.djangoproject.com/changeset/75f107b8842dfc890ddd65262bd09ca87c3a15be/1421499918000000 - <p> -Removed request.REQUEST per deprecation timeline; refs <a class="closed ticket" href="https://code.djangoproject.com/ticket/18659" title="Cleanup/optimization: Remove `request.REQUEST` (closed: fixed)">#18659</a>. -</p> - - changeset - - Changeset [61ad1ea]: Removed django.utils.functional.memoize per deprecation timeline. ... - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 12:55:32 GMT - https://code.djangoproject.com/changeset/61ad1ea92b1f4df992b0ef1dcc7c781da2413815 - https://code.djangoproject.com/changeset/61ad1ea92b1f4df992b0ef1dcc7c781da2413815/1421499332000000 - <p> -Removed django.utils.functional.memoize per deprecation timeline. -</p> -<p> -refs <a class="closed ticket" href="https://code.djangoproject.com/ticket/21351" title="Cleanup/optimization: memoize function needs tests and improvements (closed: fixed)">#21351</a>. -</p> - - changeset - - Changeset [9ce36512]: Removed backwards compatibility shims for "util" modules per ... - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 12:40:12 GMT - https://code.djangoproject.com/changeset/9ce36512fa925231b0496cc10f7d114c069c7c06 - https://code.djangoproject.com/changeset/9ce36512fa925231b0496cc10f7d114c069c7c06/1421498412000000 - <p> -Removed backwards compatibility shims for "util" modules per deprecation timeline. -</p> -<p> -refs <a class="closed ticket" href="https://code.djangoproject.com/ticket/17627" title="Cleanup/optimization: contrib.admin.util is misnamed (closed: fixed)">#17627</a>. -</p> - - changeset - - Changeset [d79a30b]: Removed fallback suport for allow_syncdb() in database routers per ... - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 12:39:46 GMT - https://code.djangoproject.com/changeset/d79a30ba3f991bc3150fa1260fab1c10f5d3450a - https://code.djangoproject.com/changeset/d79a30ba3f991bc3150fa1260fab1c10f5d3450a/1421498386000000 - <p> -Removed fallback suport for allow_syncdb() in database routers per deprecation timeline. -</p> - - changeset - - Changeset [b952c3fc]: Removed django.utils.unittest per deprecation timeline. - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 12:32:22 GMT - https://code.djangoproject.com/changeset/b952c3fc606ed01c6d0ff26451b6e2acf1b91ca5 - https://code.djangoproject.com/changeset/b952c3fc606ed01c6d0ff26451b6e2acf1b91ca5/1421497942000000 - <p> -Removed django.utils.unittest per deprecation timeline. -</p> - - changeset - - Changeset [ce78b954]: Removed django.utils.importlib per deprecation timeline. - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 12:14:21 GMT - https://code.djangoproject.com/changeset/ce78b954cf2747add06dadd6aef8bbd70d70c667 - https://code.djangoproject.com/changeset/ce78b954cf2747add06dadd6aef8bbd70d70c667/1421496861000000 - <p> -Removed django.utils.importlib per deprecation timeline. -</p> - - changeset - - Changeset [1c8b637e]: Removed django.utils.dictconfig per deprecation timeline. - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 12:13:51 GMT - https://code.djangoproject.com/changeset/1c8b637ed97927c90a0f0056aa7b30bfe361c16b - https://code.djangoproject.com/changeset/1c8b637ed97927c90a0f0056aa7b30bfe361c16b/1421496831000000 - <p> -Removed django.utils.dictconfig per deprecation timeline. -</p> - - changeset - - Changeset [428c8840]: Used features in GIS sitemap view conditionals - - Claude Paroz <claude@…> - - Sat, 17 Jan 2015 11:41:18 GMT - https://code.djangoproject.com/changeset/428c884083d8e60025ba1d2fa97de438c57c9d48 - https://code.djangoproject.com/changeset/428c884083d8e60025ba1d2fa97de438c57c9d48/1421494878000000 - <p> -Used features in GIS sitemap view conditionals -</p> - - changeset - - Changeset [53e1423]: Updated en translation catalogs Forward port of 666c12e52 from ... - - Claude Paroz <claude@…> - - Sat, 17 Jan 2015 10:19:37 GMT - https://code.djangoproject.com/changeset/53e1423eda369acb1882d6939a7f9e11617e5591 - https://code.djangoproject.com/changeset/53e1423eda369acb1882d6939a7f9e11617e5591/1421489977000000 - <p> -Updated en translation catalogs -</p> -<p> -Forward port of 666c12e52 from stable/1.8.x -</p> - - changeset - - Changeset [666c12e5]: [1.8.x] Updated en translation catalogs - - Claude Paroz <claude@…> - - Sat, 17 Jan 2015 10:18:45 GMT - https://code.djangoproject.com/changeset/666c12e5295d021c8d791d4410e5753d4a2cc98e - https://code.djangoproject.com/changeset/666c12e5295d021c8d791d4410e5753d4a2cc98e/1421489925000000 - <p> -[1.8.x] Updated en translation catalogs -</p> - - changeset - - Changeset [dec5157a]: [1.8.x] Complemented test about non-supported aggregation exception ... - - Claude Paroz <claude@…> - - Sat, 17 Jan 2015 09:04:38 GMT - https://code.djangoproject.com/changeset/dec5157a7256b91534eaa64afb91c6e569ce17e3 - https://code.djangoproject.com/changeset/dec5157a7256b91534eaa64afb91c6e569ce17e3/1421485478000000 - <p> -[1.8.x] Complemented test about non-supported aggregation exception -</p> -<p> -Backport of d69ecf922dd from master. -</p> - - changeset - - Changeset [d69ecf9]: Complemented test about non-supported aggregation exception - - Claude Paroz <claude@…> - - Sat, 17 Jan 2015 09:01:55 GMT - https://code.djangoproject.com/changeset/d69ecf922ddf6d4e3698e0dfd42d9ae387df182c - https://code.djangoproject.com/changeset/d69ecf922ddf6d4e3698e0dfd42d9ae387df182c/1421485315000000 - <p> -Complemented test about non-supported aggregation exception -</p> - - changeset - - Changeset [eb6a07e0]: [1.8.x] Fixed typo in 'Django Template Language' Backport of ... - - Markus Holtermann <info@…> - - Sat, 17 Jan 2015 02:06:26 GMT - https://code.djangoproject.com/changeset/eb6a07e0697cf4dbaf33915e60fce56d7705ec22 - https://code.djangoproject.com/changeset/eb6a07e0697cf4dbaf33915e60fce56d7705ec22/1421460386000000 - <p> -[1.8.x] Fixed typo in 'Django Template Language' -</p> -<p> -Backport of <a class="changeset" href="https://code.djangoproject.com/changeset/d60b96d98881b47c845125e82269ea6a9b268fbb/" title="Fixed typo in 'Django Template Language'">d60b96d98881b47c845125e82269ea6a9b268fbb</a> from master -</p> - - changeset - - Changeset [d60b96d]: Fixed typo in 'Django Template Language' - - Markus Holtermann <info@…> - - Sat, 17 Jan 2015 02:05:28 GMT - https://code.djangoproject.com/changeset/d60b96d98881b47c845125e82269ea6a9b268fbb - https://code.djangoproject.com/changeset/d60b96d98881b47c845125e82269ea6a9b268fbb/1421460328000000 - <p> -Fixed typo in 'Django Template Language' -</p> - - changeset - - Changeset [c5125888]: Increased the default PBKDF2 iterations. - - Tim Graham <timograham@…> - - Sat, 17 Jan 2015 00:27:10 GMT - https://code.djangoproject.com/changeset/c51258882bbf388f5c4cfc379340097ebe9beda9 - https://code.djangoproject.com/changeset/c51258882bbf388f5c4cfc379340097ebe9beda9/1421454430000000 - <p> -Increased the default PBKDF2 iterations. -</p> - - changeset - - Changeset [8be1b8b4]: [1.8.x] Bumped django_next_version in docs config. - - Tim Graham <timograham@…> - - Fri, 16 Jan 2015 23:30:49 GMT - https://code.djangoproject.com/changeset/8be1b8b488760959410be93e460944970b8199d6 - https://code.djangoproject.com/changeset/8be1b8b488760959410be93e460944970b8199d6/1421451049000000 - <p> -[1.8.x] Bumped django_next_version in docs config. -</p> - - changeset - - Changeset [d468903]: Bumped version to 1.9 in docs config. - - Tim Graham <timograham@…> - - Fri, 16 Jan 2015 23:30:28 GMT - https://code.djangoproject.com/changeset/d4689034becf3bc519dbddd22f702406c5cbe5b1 - https://code.djangoproject.com/changeset/d4689034becf3bc519dbddd22f702406c5cbe5b1/1421451028000000 - <p> -Bumped version to 1.9 in docs config. -</p> - - changeset - - Changeset [cba3d8a]: [1.6.x] Fixed a typo in the test responses docs. Backport of ... - - Tim Graham <timograham@…> - - Fri, 16 Jan 2015 23:24:51 GMT - https://code.djangoproject.com/changeset/cba3d8ab076f3a34c23ca51ea9c31e9e7688e833 - https://code.djangoproject.com/changeset/cba3d8ab076f3a34c23ca51ea9c31e9e7688e833/1421450691000000 - <p> -[1.6.x] Fixed a typo in the test responses docs. -</p> -<p> -Backport of <a class="changeset" href="https://code.djangoproject.com/changeset/996292d6498d25c6b3e84435e82edeff5aaa0257/" title="Fixed a typo in the test responses docs.">996292d6498d25c6b3e84435e82edeff5aaa0257</a> from master -</p> - - changeset - - Changeset [be0bc9a9]: [1.7.x] Fixed a typo in the test responses docs. Backport of ... - - Tim Graham <timograham@…> - - Fri, 16 Jan 2015 23:24:48 GMT - https://code.djangoproject.com/changeset/be0bc9a9e7ad4421cea4aeebf274278e256d1a62 - https://code.djangoproject.com/changeset/be0bc9a9e7ad4421cea4aeebf274278e256d1a62/1421450688000000 - <p> -[1.7.x] Fixed a typo in the test responses docs. -</p> -<p> -Backport of <a class="changeset" href="https://code.djangoproject.com/changeset/996292d6498d25c6b3e84435e82edeff5aaa0257/" title="Fixed a typo in the test responses docs.">996292d6498d25c6b3e84435e82edeff5aaa0257</a> from master -</p> - - changeset - - Changeset [801287b]: [1.8.x] Fixed a typo in the test responses docs. Backport of ... - - Tim Graham <timograham@…> - - Fri, 16 Jan 2015 23:24:44 GMT - https://code.djangoproject.com/changeset/801287bff262e3beb52d4b4fd21ec529416e079e - https://code.djangoproject.com/changeset/801287bff262e3beb52d4b4fd21ec529416e079e/1421450684000000 - <p> -[1.8.x] Fixed a typo in the test responses docs. -</p> -<p> -Backport of <a class="changeset" href="https://code.djangoproject.com/changeset/996292d6498d25c6b3e84435e82edeff5aaa0257/" title="Fixed a typo in the test responses docs.">996292d6498d25c6b3e84435e82edeff5aaa0257</a> from master -</p> - - changeset - - Changeset [d9edd2f]: Fixed #21108 -- Updated how to release docs: prereleases now go to PyPI. - - Tim Graham <timograham@…> - - Fri, 16 Jan 2015 23:24:10 GMT - https://code.djangoproject.com/changeset/d9edd2f68f6edaa5e634a7d93b29fe97cb7312fe - https://code.djangoproject.com/changeset/d9edd2f68f6edaa5e634a7d93b29fe97cb7312fe/1421450650000000 - <p> -Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/21108" title="New feature: pip install --pre Django==1.xb not found (closed: fixed)">#21108</a> -- Updated how to release docs: prereleases now go to PyPI. -</p> - - changeset - - Changeset [996292d6]: Fixed a typo in the test responses docs. - - Simon Charette <charette.s@…> - - Fri, 16 Jan 2015 23:17:00 GMT - https://code.djangoproject.com/changeset/996292d6498d25c6b3e84435e82edeff5aaa0257 - https://code.djangoproject.com/changeset/996292d6498d25c6b3e84435e82edeff5aaa0257/1421450220000000 - <p> -Fixed a typo in the test responses docs. -</p> - - changeset - - Changeset [3fe3bdd]: Added stub release notes for Django 1.9. - - Tim Graham <timograham@…> - - Fri, 16 Jan 2015 23:00:45 GMT - https://code.djangoproject.com/changeset/3fe3bddc2895e4bd1f968a962da36748160f4dae - https://code.djangoproject.com/changeset/3fe3bddc2895e4bd1f968a962da36748160f4dae/1421449245000000 - <p> -Added stub release notes for Django 1.9. -</p> - - changeset - - Changeset [c72448b5]: Bumped version to 1.8 alpha 1. - - Tim Graham <timograham@…> - - Fri, 16 Jan 2015 22:06:32 GMT - https://code.djangoproject.com/changeset/c72448b59725c619f4f9d6e38264484c12c4c3b9 - https://code.djangoproject.com/changeset/c72448b59725c619f4f9d6e38264484c12c4c3b9/1421445992000000 - <p> -Bumped version to 1.8 alpha 1. -</p> - - changeset - - Changeset [3f23f1c]: Bumped version; master is now 1.9 pre-alpha. - - Tim Graham <timograham@…> - - Fri, 16 Jan 2015 22:04:35 GMT - https://code.djangoproject.com/changeset/3f23f1cfb472e77bb1f9260a71b40f895438658d - https://code.djangoproject.com/changeset/3f23f1cfb472e77bb1f9260a71b40f895438658d/1421445875000000 - <p> -Bumped version; master is now 1.9 pre-alpha. -</p> - - changeset - - Changeset [39d95fb]: Fixed #24092 -- Widened base field support for ArrayField. Several ... - - Tim Graham <timograham@…> - - Fri, 16 Jan 2015 21:15:16 GMT - https://code.djangoproject.com/changeset/39d95fb6ada99c59d47fa0eae6d3128abafe2d58 - https://code.djangoproject.com/changeset/39d95fb6ada99c59d47fa0eae6d3128abafe2d58/1421442916000000 - <p> -Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/24092" title="Bug: New ArrayField from django.contrib.postgres.fields does not correctly ... (closed: fixed)">#24092</a> -- Widened base field support for ArrayField. -</p> -<p> -Several issues resolved here, following from a report that a base_field -of GenericIpAddressField was failing. -</p> -<p> -We were using get_prep_value instead of get_db_prep_value in ArrayField -which was bypassing any extra modifications to the value being made in -the base field's get_db_prep_value. Changing this broke datetime -support, so the postgres backend has gained the relevant operation -methods to send dates/times/datetimes directly to the db backend instead -of casting them to strings. Similarly, a new database feature has been -added allowing the uuid to be passed directly to the backend, as we do -with timedeltas. -</p> -<p> -On the other side, psycopg2 expects an Inet() instance for IP address -fields, so we add a value_to_db_ipaddress method to wrap the strings on -postgres. We also have to manually add a database adapter to psycopg2, -as we do not wish to use the built in adapter which would turn -everything into Inet() instances. -</p> -<p> -Thanks to smclenithan for the report. -</p> - - changeset - - Changeset [a17724b7]: Fixed the length of a headline in the 1.8 release notes. This broke ... - - Jannis Leidel <jannis@…> - - Fri, 16 Jan 2015 20:29:28 GMT - https://code.djangoproject.com/changeset/a17724b791275578334bcdc66b3a8113eb86605e - https://code.djangoproject.com/changeset/a17724b791275578334bcdc66b3a8113eb86605e/1421440168000000 - <p> -Fixed the length of a headline in the 1.8 release notes. -</p> -<p> -This broke the website design in the sidebar because the line could not be wrapped. -</p> - - changeset - - Changeset [e8171da]: Fixed #24146 -- Fixed a missing fields regression in admin checks. ... - - Tim Graham <timograham@…> - - Fri, 16 Jan 2015 19:47:09 GMT - https://code.djangoproject.com/changeset/e8171daf0cd7f0e070395cb4c850c17fea32f11d - https://code.djangoproject.com/changeset/e8171daf0cd7f0e070395cb4c850c17fea32f11d/1421437629000000 - <p> -Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/24146" title="Bug: (admin.E116) The value of 'list_filter[0]' refers to 'through__field', ... (closed: fixed)">#24146</a> -- Fixed a missing fields regression in admin checks. -</p> -<p> -This allows using get_field() early in the app loading process. -</p> -<p> -Thanks to PirosB3 and Tim Graham. -</p> - - changeset - - Changeset [8e8daf7c]: Removed empty sections in 1.8 minor features. - - Tim Graham <timograham@…> - - Fri, 16 Jan 2015 19:41:05 GMT - https://code.djangoproject.com/changeset/8e8daf7c9b0f951ed53c322eada0e61e55a57a9f - https://code.djangoproject.com/changeset/8e8daf7c9b0f951ed53c322eada0e61e55a57a9f/1421437265000000 - <p> -Removed empty sections in 1.8 minor features. -</p> - - changeset - - Changeset [b4ac232]: Fixed #24099 -- Removed contenttype.name deprecated field This ... - - Markus Holtermann <info@…> - - Fri, 16 Jan 2015 19:21:34 GMT - https://code.djangoproject.com/changeset/b4ac23290772e0c11379eb2dfb81c750b7052b66 - https://code.djangoproject.com/changeset/b4ac23290772e0c11379eb2dfb81c750b7052b66/1421436094000000 - <p> -Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/24099" title="Cleanup/optimization: Remove ContentType.name (closed: fixed)">#24099</a> -- Removed contenttype.name deprecated field -</p> -<p> -This finsishes the work started on <a class="closed ticket" href="https://code.djangoproject.com/ticket/16803" title="Bug: Unicode representation of ContentType instances is not translated (closed: fixed)">#16803</a>. -Thanks Simon Charette, Tim Graham and Collin Anderson for the -reviews. -</p> - - changeset - - Changeset [374c2419]: Tested that geo aggregates support slicing Refs #15101. Patch ... - - Claude Paroz <claude@…> - - Fri, 16 Jan 2015 19:10:25 GMT - https://code.djangoproject.com/changeset/374c2419e5adef53a643bf69c4753a6bf0c78a98 - https://code.djangoproject.com/changeset/374c2419e5adef53a643bf69c4753a6bf0c78a98/1421435425000000 - <p> -Tested that geo aggregates support slicing -</p> -<p> -Refs <a class="closed ticket" href="https://code.djangoproject.com/ticket/15101" title="Bug: GeoQuerySet extent() method fails to limit (closed: fixed)">#15101</a>. Patch slightly reworked by Claude Paroz. -</p> - - changeset - - Changeset [a79e6b67]: Fixed #24152 -- Deprecated GeoQuerySet aggregate methods Thanks Josh ... - - Claude Paroz <claude@…> - - Fri, 16 Jan 2015 18:53:02 GMT - https://code.djangoproject.com/changeset/a79e6b67175f532049967268c10609af6d31d140 - https://code.djangoproject.com/changeset/a79e6b67175f532049967268c10609af6d31d140/1421434382000000 - <p> -Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/24152" title="Cleanup/optimization: Deprecate GeoQuerySet aggregate methods (closed: fixed)">#24152</a> -- Deprecated GeoQuerySet aggregate methods -</p> -<p> -Thanks Josh Smeaton and Tim Graham for the reviews. -</p> - - changeset - - Changeset [cef3f805]: [1.7.x] Fixed #24160 -- Fixed model_regress test on Windows; refs ... - - Tim Graham <timograham@…> - - Fri, 16 Jan 2015 17:03:15 GMT - https://code.djangoproject.com/changeset/cef3f805c21c029d017e6704565f9f2f5746a1e5 - https://code.djangoproject.com/changeset/cef3f805c21c029d017e6704565f9f2f5746a1e5/1421427795000000 - <p> -[1.7.x] Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/24160" title="Bug: Fatal Python error: Failed to initialize Windows random API (CryptoGen) (closed: fixed)">#24160</a> -- Fixed model_regress test on Windows; refs <a class="closed ticket" href="https://code.djangoproject.com/ticket/24007" title="Bug: Unable to unpickle models from an external script (closed: fixed)">#24007</a>. -</p> -<p> -Backport of <a class="changeset" href="https://code.djangoproject.com/changeset/5338ff4808c822a8b00e90154b884b7be3011e60/" title="Fixed #24160 -- Fixed model_regress test on Windows; refs #24007.">5338ff4808c822a8b00e90154b884b7be3011e60</a> from master -</p> - - changeset - - Changeset [5338ff4]: Fixed #24160 -- Fixed model_regress test on Windows; refs #24007. - - Tim Graham <timograham@…> - - Fri, 16 Jan 2015 16:59:08 GMT - https://code.djangoproject.com/changeset/5338ff4808c822a8b00e90154b884b7be3011e60 - https://code.djangoproject.com/changeset/5338ff4808c822a8b00e90154b884b7be3011e60/1421427548000000 - <p> -Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/24160" title="Bug: Fatal Python error: Failed to initialize Windows random API (CryptoGen) (closed: fixed)">#24160</a> -- Fixed model_regress test on Windows; refs <a class="closed ticket" href="https://code.djangoproject.com/ticket/24007" title="Bug: Unable to unpickle models from an external script (closed: fixed)">#24007</a>. -</p> - - changeset - - Changeset [fb614ff4]: [1.6.x] Fixed #23312 -- Marked an i18n test as expectedFailure on ... - - Tim Graham <timograham@…> - - Fri, 16 Jan 2015 15:34:46 GMT - https://code.djangoproject.com/changeset/fb614ff4a712cf7d221ed9ddeb7e4164e882ba81 - https://code.djangoproject.com/changeset/fb614ff4a712cf7d221ed9ddeb7e4164e882ba81/1421422486000000 - <p> -[1.6.x] Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/23312" title="Bug: Windows/Python 3 test failure: test_unicode_decode_error (closed: fixed)">#23312</a> -- Marked an i18n test as expectedFailure on Windows/Python 3. -</p> -<p> -Backport of <a class="changeset" href="https://code.djangoproject.com/changeset/433e7dd5076e492290a90130c9b3e2b1319b2f95/" title="[1.7.x] Fixed #23312 -- Marked an i18n test as expectedFailure on ...">433e7dd5076e492290a90130c9b3e2b1319b2f95</a> from stable/1.7.x -</p> - - changeset - - Changeset [433e7dd]: [1.7.x] Fixed #23312 -- Marked an i18n test as expectedFailure on ... - - Tim Graham <timograham@…> - - Fri, 16 Jan 2015 15:31:49 GMT - https://code.djangoproject.com/changeset/433e7dd5076e492290a90130c9b3e2b1319b2f95 - https://code.djangoproject.com/changeset/433e7dd5076e492290a90130c9b3e2b1319b2f95/1421422309000000 - <p> -[1.7.x] Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/23312" title="Bug: Windows/Python 3 test failure: test_unicode_decode_error (closed: fixed)">#23312</a> -- Marked an i18n test as expectedFailure on Windows/Python 3. -</p> - - changeset - - Changeset [bd08cfca]: [1.7.x] Fixed #24143 -- Encouraged use of Http404 messages for ... - - Tim Graham <timograham@…> - - Fri, 16 Jan 2015 14:42:03 GMT - https://code.djangoproject.com/changeset/bd08cfca6ff04e7cec940f5b59e97cdcceddcc69 - https://code.djangoproject.com/changeset/bd08cfca6ff04e7cec940f5b59e97cdcceddcc69/1421419323000000 - <p> -[1.7.x] Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/24143" title="Cleanup/optimization: Documentation uses uninstantiated Http404s (closed: fixed)">#24143</a> -- Encouraged use of Http404 messages for debugging. -</p> -<p> -Backport of <a class="changeset" href="https://code.djangoproject.com/changeset/726a9550db5129badc1c44809b0bed728fa1ad90/" title="Fixed #24143 -- Encouraged use of Http404 messages for debugging.">726a9550db5129badc1c44809b0bed728fa1ad90</a> from master -</p> - - changeset - - Changeset [726a9550]: Fixed #24143 -- Encouraged use of Http404 messages for debugging. - - Tim Graham <timograham@…> - - Fri, 16 Jan 2015 14:41:01 GMT - https://code.djangoproject.com/changeset/726a9550db5129badc1c44809b0bed728fa1ad90 - https://code.djangoproject.com/changeset/726a9550db5129badc1c44809b0bed728fa1ad90/1421419261000000 - <p> -Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/24143" title="Cleanup/optimization: Documentation uses uninstantiated Http404s (closed: fixed)">#24143</a> -- Encouraged use of Http404 messages for debugging. -</p> - - changeset - - Changeset [a34fba5]: Simplified a bit GeoAggregate classes Thanks Josh Smeaton for the ... - - Claude Paroz <claude@…> - - Fri, 16 Jan 2015 09:40:45 GMT - https://code.djangoproject.com/changeset/a34fba5e596a3ec95bf284fd77b1609e71a65019 - https://code.djangoproject.com/changeset/a34fba5e596a3ec95bf284fd77b1609e71a65019/1421401245000000 - <p> -Simplified a bit GeoAggregate classes -</p> -<p> -Thanks Josh Smeaton for the review. Refs <a class="closed ticket" href="https://code.djangoproject.com/ticket/24152" title="Cleanup/optimization: Deprecate GeoQuerySet aggregate methods (closed: fixed)">#24152</a>. -</p> - - changeset - - Changeset [065b2a82]: [1.7.x] Fixed #24135 -- Made RenameModel rename many-to-many tables. ... - - Tim Graham <timograham@…> - - Fri, 16 Jan 2015 01:43:49 GMT - https://code.djangoproject.com/changeset/065b2a82f6d7539032e15308351fa5eee95c0cb9 - https://code.djangoproject.com/changeset/065b2a82f6d7539032e15308351fa5eee95c0cb9/1421372629000000 - <p> -[1.7.x] Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/24135" title="Bug: migrations.RenameModel does not rename m2m tables (closed: fixed)">#24135</a> -- Made RenameModel rename many-to-many tables. -</p> -<p> -Thanks Simon and Markus for reviews. -</p> -<p> -Backport of <a class="changeset" href="https://code.djangoproject.com/changeset/28db4af80a319485c0da724d692e2f8396aa57e3/" title="Fixed #24135 -- Made RenameModel rename many-to-many tables. -Thanks ...">28db4af80a319485c0da724d692e2f8396aa57e3</a> from master -</p> - - changeset - - Changeset [28db4af]: Fixed #24135 -- Made RenameModel rename many-to-many tables. Thanks ... - - Tim Graham <timograham@…> - - Fri, 16 Jan 2015 01:34:33 GMT - https://code.djangoproject.com/changeset/28db4af80a319485c0da724d692e2f8396aa57e3 - https://code.djangoproject.com/changeset/28db4af80a319485c0da724d692e2f8396aa57e3/1421372073000000 - <p> -Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/24135" title="Bug: migrations.RenameModel does not rename m2m tables (closed: fixed)">#24135</a> -- Made RenameModel rename many-to-many tables. -</p> -<p> -Thanks Simon and Markus for reviews. -</p> - - changeset - - Changeset [3f9ec12d]: Fixed #23712 -- Fixed KeyError with BaseForm._html_output() - - Tim Graham <timograham@…> - - Fri, 16 Jan 2015 01:19:53 GMT - https://code.djangoproject.com/changeset/3f9ec12d9c9eff9a3b1a205d87c7e66587cf9967 - https://code.djangoproject.com/changeset/3f9ec12d9c9eff9a3b1a205d87c7e66587cf9967/1421371193000000 - <p> -Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/23712" title="Bug: BaseForm._html_output() uses inconsistent formatting for normal row (closed: fixed)">#23712</a> -- Fixed KeyError with BaseForm._html_output() -</p> - - changeset - - Changeset [faf0d66a]: Fixed #23850 -- Fixed a migrations test failure on Mac OS X & Python 3 - - Tim Graham <timograham@…> - - Fri, 16 Jan 2015 00:45:43 GMT - https://code.djangoproject.com/changeset/faf0d66a80e09be3656a337c33a8e70c7fbab7e3 - https://code.djangoproject.com/changeset/faf0d66a80e09be3656a337c33a8e70c7fbab7e3/1421369143000000 - <p> -Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/23850" title="Bug: Test failure in migrations tests on OS X (closed: fixed)">#23850</a> -- Fixed a migrations test failure on Mac OS X &amp; Python 3 -</p> - - changeset - - Changeset [39b58ad]: Fixed #24148 -- Documented a bug with case expressions in SQLite < 3.7.0 - - Tim Graham <timograham@…> - - Fri, 16 Jan 2015 00:42:05 GMT - https://code.djangoproject.com/changeset/39b58ad95ade8109de0f0ae3930e333b7f689c0f - https://code.djangoproject.com/changeset/39b58ad95ade8109de0f0ae3930e333b7f689c0f/1421368925000000 - <p> -Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/24148" title="Bug: test_combined_expression test failure on Windows/Python 2 (closed: fixed)">#24148</a> -- Documented a bug with case expressions in SQLite &lt; 3.7.0 -</p> - - changeset - - Changeset [b419bd3]: [1.7.x] Refs #24075 -- Silenced needless call_command output while ... - - Markus Holtermann <info@…> - - Thu, 15 Jan 2015 20:13:27 GMT - https://code.djangoproject.com/changeset/b419bd38431b83eec93376cd911e2b17eb8e7342 - https://code.djangoproject.com/changeset/b419bd38431b83eec93376cd911e2b17eb8e7342/1421352807000000 - <p> -[1.7.x] Refs <a class="closed ticket" href="https://code.djangoproject.com/ticket/24075" title="Bug: Can't migrate contenttypes and auth to zero (closed: fixed)">#24075</a> -- Silenced needless call_command output while running tests -</p> -<p> -Thanks Tim Graham for the report -</p> -<p> -Backport of <a class="changeset" href="https://code.djangoproject.com/changeset/51dc617b21e67636d96cf645905797a4d6ff4bf0/" title="Refs #24075 -- Silenced needless call_command output while running ...">51dc617b21e67636d96cf645905797a4d6ff4bf0</a> from master -</p> - - changeset - - Changeset [51dc617b]: Refs #24075 -- Silenced needless call_command output while running ... - - Markus Holtermann <info@…> - - Thu, 15 Jan 2015 20:07:39 GMT - https://code.djangoproject.com/changeset/51dc617b21e67636d96cf645905797a4d6ff4bf0 - https://code.djangoproject.com/changeset/51dc617b21e67636d96cf645905797a4d6ff4bf0/1421352459000000 - <p> -Refs <a class="closed ticket" href="https://code.djangoproject.com/ticket/24075" title="Bug: Can't migrate contenttypes and auth to zero (closed: fixed)">#24075</a> -- Silenced needless call_command output while running tests -</p> -<p> -Thanks Tim Graham for the report -</p> - - changeset - - Changeset [67dbc56]: Made an expressions_case test work without Pillow. - - Tim Graham <timograham@…> - - Thu, 15 Jan 2015 19:02:58 GMT - https://code.djangoproject.com/changeset/67dbc56ec8657e02247c97ec06f7cde8d4808f0d - https://code.djangoproject.com/changeset/67dbc56ec8657e02247c97ec06f7cde8d4808f0d/1421348578000000 - <p> -Made an expressions_case test work without Pillow. -</p> - - changeset - - Changeset [47bdad4e]: Replaced inner functions by class methods. refs #24031 Thanks to Tim ... - - Simon Charette <charette.s@…> - - Thu, 15 Jan 2015 18:03:34 GMT - https://code.djangoproject.com/changeset/47bdad4e6b3bf70aec0d19d65eeb6a7319ad045a - https://code.djangoproject.com/changeset/47bdad4e6b3bf70aec0d19d65eeb6a7319ad045a/1421345014000000 - <p> -Replaced inner functions by class methods. -</p> -<p> -refs <a class="closed ticket" href="https://code.djangoproject.com/ticket/24031" title="New feature: Implement a Case/When expression (closed: fixed)">#24031</a> -</p> -<p> -Thanks to Tim Graham and Michał Modzelewski for the review. -</p> - - changeset - - Changeset [57671dd0]: [1.5.x] Direct readers to format_html() in mark_safe() docs. Backport ... - - Luke Plant <L.Plant.98@…> - - Thu, 15 Jan 2015 08:32:32 GMT - https://code.djangoproject.com/changeset/57671dd0b91ed4def9c7a49c486944f4e98fed9d - https://code.djangoproject.com/changeset/57671dd0b91ed4def9c7a49c486944f4e98fed9d/1421310752000000 - <p> -[1.5.x] Direct readers to format_html() in mark_safe() docs. -</p> -<p> -Backport of <a class="changeset" href="https://code.djangoproject.com/changeset/4832c004e88a68b98b976b4f68a1c9fdb4ea3530/" title="Direct readers to format_html() in mark_safe() docs.">4832c004e88a68b98b976b4f68a1c9fdb4ea3530</a> from master -</p> - - changeset - - Changeset [b9101fa7]: [1.6.x] Direct readers to format_html() in mark_safe() docs. Backport ... - - Luke Plant <L.Plant.98@…> - - Thu, 15 Jan 2015 08:30:38 GMT - https://code.djangoproject.com/changeset/b9101fa7a2180f121fc828174149b61e9151e69d - https://code.djangoproject.com/changeset/b9101fa7a2180f121fc828174149b61e9151e69d/1421310638000000 - <p> -[1.6.x] Direct readers to format_html() in mark_safe() docs. -</p> -<p> -Backport of <a class="changeset" href="https://code.djangoproject.com/changeset/4832c004e88a68b98b976b4f68a1c9fdb4ea3530/" title="Direct readers to format_html() in mark_safe() docs.">4832c004e88a68b98b976b4f68a1c9fdb4ea3530</a> from master -</p> - - changeset - - Changeset [327703c]: [1.7.x] Direct readers to format_html() in mark_safe() docs. Backport ... - - Luke Plant <L.Plant.98@…> - - Thu, 15 Jan 2015 08:29:00 GMT - https://code.djangoproject.com/changeset/327703c0672b705f264d2611aacbe2ce9795749b - https://code.djangoproject.com/changeset/327703c0672b705f264d2611aacbe2ce9795749b/1421310540000000 - <p> -[1.7.x] Direct readers to format_html() in mark_safe() docs. -</p> -<p> -Backport of <a class="changeset" href="https://code.djangoproject.com/changeset/4832c004e88a68b98b976b4f68a1c9fdb4ea3530/" title="Direct readers to format_html() in mark_safe() docs.">4832c004e88a68b98b976b4f68a1c9fdb4ea3530</a> from master -</p> - - changeset - - Changeset [4832c004]: Direct readers to format_html() in mark_safe() docs. - - Luke Plant <L.Plant.98@…> - - Thu, 15 Jan 2015 08:24:54 GMT - https://code.djangoproject.com/changeset/4832c004e88a68b98b976b4f68a1c9fdb4ea3530 - https://code.djangoproject.com/changeset/4832c004e88a68b98b976b4f68a1c9fdb4ea3530/1421310294000000 - <p> -Direct readers to format_html() in mark_safe() docs. -</p> - - changeset - - Changeset [67bcae1]: Moved check_aggregate_support to BaseSpatialOperations - - Claude Paroz <claude@…> - - Wed, 14 Jan 2015 21:03:41 GMT - https://code.djangoproject.com/changeset/67bcae1e5890c77d789d10cfe8644b5ab00ffb81 - https://code.djangoproject.com/changeset/67bcae1e5890c77d789d10cfe8644b5ab00ffb81/1421269421000000 - <p> -Moved check_aggregate_support to BaseSpatialOperations -</p> - - changeset - - Changeset [9801d41]: Skipped a problematic file_storage test on Windows. - - Tim Graham <timograham@…> - - Wed, 14 Jan 2015 20:00:27 GMT - https://code.djangoproject.com/changeset/9801d419b9e3d3c716cb857e4337f403d1c50706 - https://code.djangoproject.com/changeset/9801d419b9e3d3c716cb857e4337f403d1c50706/1421265627000000 - <p> -Skipped a problematic file_storage test on Windows. -</p> - - changeset - - Changeset [2d5da57f]: Fixed incorrect error message in Options.get_fields() - - Tim Graham <timograham@…> - - Wed, 14 Jan 2015 19:51:05 GMT - https://code.djangoproject.com/changeset/2d5da57f4856656677d82d4a56f5914f3cc431d8 - https://code.djangoproject.com/changeset/2d5da57f4856656677d82d4a56f5914f3cc431d8/1421265065000000 - <p> -Fixed incorrect error message in Options.get_fields() -</p> - - changeset - - Changeset [478546f]: [1.7.x] Fixed #24075 -- Prevented running post_migrate signals when ... - - Markus Holtermann <info@…> - - Wed, 14 Jan 2015 19:37:56 GMT - https://code.djangoproject.com/changeset/478546fcef38d95866a92bc44d10e15b26c7254c - https://code.djangoproject.com/changeset/478546fcef38d95866a92bc44d10e15b26c7254c/1421264276000000 - <p> -[1.7.x] Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/24075" title="Bug: Can't migrate contenttypes and auth to zero (closed: fixed)">#24075</a> -- Prevented running post_migrate signals when unapplying initial migrations of contenttypes and auth -</p> -<p> -Thanks Florian Apolloner for the report and Claude Paroz and Tim Graham for the review and help on the patch. -</p> -<p> -Backport of <a class="changeset" href="https://code.djangoproject.com/changeset/737d24923ac69bb8b89af1bb2f3f4c4c744349e8/" title="Fixed #24075 -- Prevented running post_migrate signals when unapplying ...">737d24923ac69bb8b89af1bb2f3f4c4c744349e8</a> from master. -</p> - - changeset - - Changeset [28308078]: Fixed #22603 -- Reorganized classes in django.db.backends. - - Tim Graham <timograham@…> - - Wed, 14 Jan 2015 19:16:20 GMT - https://code.djangoproject.com/changeset/28308078f397d1de36fd0da417ac7da2544ba12d - https://code.djangoproject.com/changeset/28308078f397d1de36fd0da417ac7da2544ba12d/1421262980000000 - <p> -Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/22603" title="Cleanup/optimization: Reorganize code in django.db.backends (closed: fixed)">#22603</a> -- Reorganized classes in django.db.backends. -</p> - - changeset - - Changeset [737d249]: Fixed #24075 -- Prevented running post_migrate signals when unapplying ... - - Markus Holtermann <info@…> - - Wed, 14 Jan 2015 18:59:39 GMT - https://code.djangoproject.com/changeset/737d24923ac69bb8b89af1bb2f3f4c4c744349e8 - https://code.djangoproject.com/changeset/737d24923ac69bb8b89af1bb2f3f4c4c744349e8/1421261979000000 - <p> -Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/24075" title="Bug: Can't migrate contenttypes and auth to zero (closed: fixed)">#24075</a> -- Prevented running post_migrate signals when unapplying initial migrations of contenttypes and auth -</p> -<p> -Thanks Florian Apolloner for the report and Claude Paroz and Tim Graham for the review and help on the patch. -</p> - - changeset - - Changeset [99e6ac7]: [1.4.x] Fixed a static view test on Windows. Backport of ... - - Tim Graham <timograham@…> - - Wed, 14 Jan 2015 18:57:59 GMT - https://code.djangoproject.com/changeset/99e6ac77f2b5c701896dd83ce99ff12278cdbeef - https://code.djangoproject.com/changeset/99e6ac77f2b5c701896dd83ce99ff12278cdbeef/1421261879000000 - <p> -[1.4.x] Fixed a static view test on Windows. -</p> -<p> -Backport of <a class="changeset" href="https://code.djangoproject.com/changeset/a6f144fd4fee0090de3a99b1f50a4142722e7946/" title="Fixed a static view test on Windows.">a6f144fd4fee0090de3a99b1f50a4142722e7946</a> from master -</p> - - changeset - - Changeset [79df62f]: [1.6.x] Fixed a static view test on Windows. Backport of ... - - Tim Graham <timograham@…> - - Wed, 14 Jan 2015 18:57:14 GMT - https://code.djangoproject.com/changeset/79df62f4d2254a1158f5fda4bfddbfcea570c735 - https://code.djangoproject.com/changeset/79df62f4d2254a1158f5fda4bfddbfcea570c735/1421261834000000 - <p> -[1.6.x] Fixed a static view test on Windows. -</p> -<p> -Backport of <a class="changeset" href="https://code.djangoproject.com/changeset/a6f144fd4fee0090de3a99b1f50a4142722e7946/" title="Fixed a static view test on Windows.">a6f144fd4fee0090de3a99b1f50a4142722e7946</a> from master -</p> - - changeset - - Changeset [02c059f]: [1.7.x] Fixed a static view test on Windows. Backport of ... - - Tim Graham <timograham@…> - - Wed, 14 Jan 2015 18:57:10 GMT - https://code.djangoproject.com/changeset/02c059ff7f282e541629a67e25a70a292cc01d87 - https://code.djangoproject.com/changeset/02c059ff7f282e541629a67e25a70a292cc01d87/1421261830000000 - <p> -[1.7.x] Fixed a static view test on Windows. -</p> -<p> -Backport of <a class="changeset" href="https://code.djangoproject.com/changeset/a6f144fd4fee0090de3a99b1f50a4142722e7946/" title="Fixed a static view test on Windows.">a6f144fd4fee0090de3a99b1f50a4142722e7946</a> from master -</p> - - changeset - - Changeset [a6f144f]: Fixed a static view test on Windows. - - Tim Graham <timograham@…> - - Wed, 14 Jan 2015 18:56:49 GMT - https://code.djangoproject.com/changeset/a6f144fd4fee0090de3a99b1f50a4142722e7946 - https://code.djangoproject.com/changeset/a6f144fd4fee0090de3a99b1f50a4142722e7946/1421261809000000 - <p> -Fixed a static view test on Windows. -</p> - - changeset - - Changeset [88786af]: Fixed #24147 -- Prevented managers leaking model during migrations ... - - Markus Holtermann <info@…> - - Wed, 14 Jan 2015 15:09:33 GMT - https://code.djangoproject.com/changeset/88786afbffc5c095f6491e080afea394f63bb44a - https://code.djangoproject.com/changeset/88786afbffc5c095f6491e080afea394f63bb44a/1421248173000000 - <p> -Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/24147" title="Bug: Model managers in migration leak referenced model across project states (closed: fixed)">#24147</a> -- Prevented managers leaking model during migrations -</p> -<p> -Thanks Tim Graham for the review. -</p> - - changeset - - Changeset [2e261799]: [1.7.x] Added stub release notes for 1.7.4. Backport of ... - - Tim Graham <timograham@…> - - Wed, 14 Jan 2015 14:48:06 GMT - https://code.djangoproject.com/changeset/2e2617991a6f446defc755c6b73e6e9db865f197 - https://code.djangoproject.com/changeset/2e2617991a6f446defc755c6b73e6e9db865f197/1421246886000000 - <p> -[1.7.x] Added stub release notes for 1.7.4. -</p> -<p> -Backport of <a class="changeset" href="https://code.djangoproject.com/changeset/ec7ef5afbbd12abe74314d557aabb3d85d667749/" title="Added stub release notes for 1.7.4.">ec7ef5afbbd12abe74314d557aabb3d85d667749</a> from master -</p> - - changeset - - Changeset [ec7ef5af]: Added stub release notes for 1.7.4. - - Tim Graham <timograham@…> - - Wed, 14 Jan 2015 14:47:29 GMT - https://code.djangoproject.com/changeset/ec7ef5afbbd12abe74314d557aabb3d85d667749 - https://code.djangoproject.com/changeset/ec7ef5afbbd12abe74314d557aabb3d85d667749/1421246849000000 - <p> -Added stub release notes for 1.7.4. -</p> - - changeset - - Changeset [dc90bf2]: Removed unused import - - Claude Paroz <claude@…> - - Wed, 14 Jan 2015 08:31:24 GMT - https://code.djangoproject.com/changeset/dc90bf2ac823ed9841cc8ca4035fe0b62a18c958 - https://code.djangoproject.com/changeset/dc90bf2ac823ed9841cc8ca4035fe0b62a18c958/1421224284000000 - <p> -Removed unused import -</p> - - changeset - - Changeset [1913c1a]: Added today's security issues to the archive. - - Tim Graham <timograham@…> - - Tue, 13 Jan 2015 19:44:08 GMT - https://code.djangoproject.com/changeset/1913c1ac2190cdc31de9dcd81687f5dad057e2f0 - https://code.djangoproject.com/changeset/1913c1ac2190cdc31de9dcd81687f5dad057e2f0/1421178248000000 - <p> -Added today's security issues to the archive. -</p> - - changeset - - Changeset [7ecd6544]: Removed blank lines from docs/releases/security.txt - - Tim Graham <timograham@…> - - Tue, 13 Jan 2015 19:37:30 GMT - https://code.djangoproject.com/changeset/7ecd654497e778550735b77794eae62a9d014272 - https://code.djangoproject.com/changeset/7ecd654497e778550735b77794eae62a9d014272/1421177850000000 - <p> -Removed blank lines from docs/releases/security.txt -</p> - - changeset - - Changeset [4296a1da]: [1.4.x] Post-release version bump. - - Tim Graham <timograham@…> - - Tue, 13 Jan 2015 19:16:07 GMT - https://code.djangoproject.com/changeset/4296a1da8b2acf118814669fa045a3c353c8892e - https://code.djangoproject.com/changeset/4296a1da8b2acf118814669fa045a3c353c8892e/1421176567000000 - <p> -[1.4.x] Post-release version bump. -</p> - - changeset - - Changeset [4c6bd574]: [1.6.x] Post-release version bump. - - Tim Graham <timograham@…> - - Tue, 13 Jan 2015 19:15:55 GMT - https://code.djangoproject.com/changeset/4c6bd574ad5fd8c6e9988b571ad41123ed348992 - https://code.djangoproject.com/changeset/4c6bd574ad5fd8c6e9988b571ad41123ed348992/1421176555000000 - <p> -[1.6.x] Post-release version bump. -</p> - - changeset - - Changeset [f7ce66b]: [1.7.x] Post-release version bump. - - Tim Graham <timograham@…> - - Tue, 13 Jan 2015 19:14:05 GMT - https://code.djangoproject.com/changeset/f7ce66bc466e04249fbdc66048c3de6f605fddb1 - https://code.djangoproject.com/changeset/f7ce66bc466e04249fbdc66048c3de6f605fddb1/1421176445000000 - <p> -[1.7.x] Post-release version bump. -</p> - - changeset - - Changeset [bd9dcd2]: [1.4.x] Bumped version for 1.4.18 release. - - Tim Graham <timograham@…> - - Tue, 13 Jan 2015 18:14:08 GMT - https://code.djangoproject.com/changeset/bd9dcd226b5b11fa40668553d26ce06000b3be75 - https://code.djangoproject.com/changeset/bd9dcd226b5b11fa40668553d26ce06000b3be75/1421172848000000 - <p> -[1.4.x] Bumped version for 1.4.18 release. -</p> - - changeset - - Changeset [e2fea7c7]: [1.6.x] Bumped version for 1.6.10 release. - - Tim Graham <timograham@…> - - Tue, 13 Jan 2015 18:12:22 GMT - https://code.djangoproject.com/changeset/e2fea7c7145e6d26a17126c60bf090bab2932e7e - https://code.djangoproject.com/changeset/e2fea7c7145e6d26a17126c60bf090bab2932e7e/1421172742000000 - <p> -[1.6.x] Bumped version for 1.6.10 release. -</p> - - changeset - - Changeset [6bf1930f]: [1.7.x] Bumped version for 1.7.3 release. - - Tim Graham <timograham@…> - - Tue, 13 Jan 2015 18:11:37 GMT - https://code.djangoproject.com/changeset/6bf1930fb5c7c6a47992ff368e21c58f4f14b402 - https://code.djangoproject.com/changeset/6bf1930fb5c7c6a47992ff368e21c58f4f14b402/1421172697000000 - <p> -[1.7.x] Bumped version for 1.7.3 release. -</p> - - changeset - - Changeset [88b7957]: [1.4.x] Added dates to release notes. - - Tim Graham <timograham@…> - - Tue, 13 Jan 2015 18:10:54 GMT - https://code.djangoproject.com/changeset/88b7957b34b2305ece54a3aab57a87701279a1d8 - https://code.djangoproject.com/changeset/88b7957b34b2305ece54a3aab57a87701279a1d8/1421172654000000 - <p> -[1.4.x] Added dates to release notes. -</p> - - changeset - - Changeset [f9de1998]: [1.6.x] Added dates to release notes. - - Tim Graham <timograham@…> - - Tue, 13 Jan 2015 18:10:25 GMT - https://code.djangoproject.com/changeset/f9de1998f9aac2387b6896653b3aa51ad372da81 - https://code.djangoproject.com/changeset/f9de1998f9aac2387b6896653b3aa51ad372da81/1421172625000000 - <p> -[1.6.x] Added dates to release notes. -</p> - - changeset - - Changeset [d7a06ee7]: [1.6.x] Fixed DoS possibility in ModelMultipleChoiceField. This is a ... - - Tim Graham <timograham@…> - - Tue, 13 Jan 2015 18:10:11 GMT - https://code.djangoproject.com/changeset/d7a06ee7e571b6dad07c0f5b519b1db02e2a476c - https://code.djangoproject.com/changeset/d7a06ee7e571b6dad07c0f5b519b1db02e2a476c/1421172611000000 - <p> -[1.6.x] Fixed DoS possibility in ModelMultipleChoiceField. -</p> -<p> -This is a security fix. Disclosure following shortly. -</p> -<p> -Thanks Keryn Knight for the report and initial patch. -</p> - - changeset - - Changeset [553779c]: [1.6.x] Prevented views.static.serve() from using large memory on ... - - Tim Graham <timograham@…> - - Tue, 13 Jan 2015 18:10:11 GMT - https://code.djangoproject.com/changeset/553779c4055e8742cc832ed525b9ee34b174934f - https://code.djangoproject.com/changeset/553779c4055e8742cc832ed525b9ee34b174934f/1421172611000000 - <p> -[1.6.x] Prevented views.static.serve() from using large memory on large files. -</p> -<p> -This is a security fix. Disclosure following shortly. -</p> - - changeset - - Changeset [72e0b03]: [1.6.x] Fixed is_safe_url() to handle leading whitespace. This is a ... - - Tim Graham <timograham@…> - - Tue, 13 Jan 2015 18:10:11 GMT - https://code.djangoproject.com/changeset/72e0b033662faa11bb7f516f18a132728aa0ae28 - https://code.djangoproject.com/changeset/72e0b033662faa11bb7f516f18a132728aa0ae28/1421172611000000 - <p> -[1.6.x] Fixed is_safe_url() to handle leading whitespace. -</p> -<p> -This is a security fix. Disclosure following shortly. -</p> - - changeset - - Changeset [d7597b31]: [1.6.x] Stripped headers containing underscores to prevent spoofing in ... - - Tim Graham <timograham@…> - - Tue, 13 Jan 2015 18:10:11 GMT - https://code.djangoproject.com/changeset/d7597b31d5c03106eeba4be14a33b32a5e25f4ee - https://code.djangoproject.com/changeset/d7597b31d5c03106eeba4be14a33b32a5e25f4ee/1421172611000000 - <p> -[1.6.x] Stripped headers containing underscores to prevent spoofing in WSGI environ. -</p> -<p> -This is a security fix. Disclosure following shortly. -</p> -<p> -Thanks to Jedediah Smith for the report. -</p> - - changeset - - Changeset [f143e25]: [1.6.x] Added stub release notes for security releases. - - Tim Graham <timograham@…> - - Tue, 13 Jan 2015 18:10:11 GMT - https://code.djangoproject.com/changeset/f143e25883bb420fd8ec140a09dc88a899e9607e - https://code.djangoproject.com/changeset/f143e25883bb420fd8ec140a09dc88a899e9607e/1421172611000000 - <p> -[1.6.x] Added stub release notes for security releases. -</p> - - changeset - - Changeset [9b403a1]: [1.7.x] Added dates to release notes. - - Tim Graham <timograham@…> - - Tue, 13 Jan 2015 18:09:34 GMT - https://code.djangoproject.com/changeset/9b403a108cfd1e63b5a99174c65c65fc41116d6e - https://code.djangoproject.com/changeset/9b403a108cfd1e63b5a99174c65c65fc41116d6e/1421172574000000 - <p> -[1.7.x] Added dates to release notes. -</p> - - changeset - - Changeset [cbbe6a6a]: Added dates to release notes. - - Tim Graham <timograham@…> - - Tue, 13 Jan 2015 18:08:57 GMT - https://code.djangoproject.com/changeset/cbbe6a6abba6510716e25b7ee9364274334ffcfe - https://code.djangoproject.com/changeset/cbbe6a6abba6510716e25b7ee9364274334ffcfe/1421172537000000 - <p> -Added dates to release notes. -</p> - - changeset - - Changeset [baf2542]: Fixed DoS possibility in ModelMultipleChoiceField. This is a security ... - - Tim Graham <timograham@…> - - Tue, 13 Jan 2015 18:03:06 GMT - https://code.djangoproject.com/changeset/baf2542c4f502d8f5adc3704eb22ca237d50aee1 - https://code.djangoproject.com/changeset/baf2542c4f502d8f5adc3704eb22ca237d50aee1/1421172186000000 - <p> -Fixed DoS possibility in ModelMultipleChoiceField. -</p> -<p> -This is a security fix. Disclosure following shortly. -</p> -<p> -Thanks Keryn Knight for the report and initial patch. -</p> - - changeset - - Changeset [a3bebfd]: Ensured views.static.serve() doesn't use large memory on large files. ... - - Tim Graham <timograham@…> - - Tue, 13 Jan 2015 18:03:06 GMT - https://code.djangoproject.com/changeset/a3bebfdc34686622b91e7f3154390ca2058957f9 - https://code.djangoproject.com/changeset/a3bebfdc34686622b91e7f3154390ca2058957f9/1421172186000000 - <p> -Ensured views.static.serve() doesn't use large memory on large files. -</p> -<p> -This issue was fixed in master by refs <a class="closed ticket" href="https://code.djangoproject.com/ticket/24072" title="New feature: Add wsgi.file_wrapper support to responses (closed: fixed)">#24072</a>. -</p> - - changeset - - Changeset [69b5e667]: Fixed is_safe_url() to handle leading whitespace. This is a security ... - - Tim Graham <timograham@…> - - Tue, 13 Jan 2015 18:03:06 GMT - https://code.djangoproject.com/changeset/69b5e667385db9ed5e61917a58a75f97b6a97e68 - https://code.djangoproject.com/changeset/69b5e667385db9ed5e61917a58a75f97b6a97e68/1421172186000000 - <p> -Fixed is_safe_url() to handle leading whitespace. -</p> -<p> -This is a security fix. Disclosure following shortly. -</p> - - changeset - - Changeset [316b8d4]: Stripped headers containing underscores to prevent spoofing in WSGI ... - - Tim Graham <timograham@…> - - Tue, 13 Jan 2015 18:03:05 GMT - https://code.djangoproject.com/changeset/316b8d49746933d1845d600314b002d9b64d3e3d - https://code.djangoproject.com/changeset/316b8d49746933d1845d600314b002d9b64d3e3d/1421172185000000 - <p> -Stripped headers containing underscores to prevent spoofing in WSGI environ. -</p> -<p> -This is a security fix. Disclosure following shortly. -</p> -<p> -Thanks to Jedediah Smith for the report. -</p> - - changeset - - Changeset [958aeda]: Added stub release notes for security releases. - - Tim Graham <timograham@…> - - Tue, 13 Jan 2015 18:03:05 GMT - https://code.djangoproject.com/changeset/958aeda4b5efcde30438979d93fc585a2f12ce02 - https://code.djangoproject.com/changeset/958aeda4b5efcde30438979d93fc585a2f12ce02/1421172185000000 - <p> -Added stub release notes for security releases. -</p> - - changeset - - Changeset [bcfb477]: [1.7.x] Fixed DoS possibility in ModelMultipleChoiceField. This is a ... - - Tim Graham <timograham@…> - - Tue, 13 Jan 2015 18:02:56 GMT - https://code.djangoproject.com/changeset/bcfb47780ce7caecb409a9e9c1c314266e41d392 - https://code.djangoproject.com/changeset/bcfb47780ce7caecb409a9e9c1c314266e41d392/1421172176000000 - <p> -[1.7.x] Fixed DoS possibility in ModelMultipleChoiceField. -</p> -<p> -This is a security fix. Disclosure following shortly. -</p> -<p> -Thanks Keryn Knight for the report and initial patch. -</p> - - changeset - - Changeset [818e59a3]: [1.7.x] Prevented views.static.serve() from using large memory on ... - - Tim Graham <timograham@…> - - Tue, 13 Jan 2015 18:02:56 GMT - https://code.djangoproject.com/changeset/818e59a3f0fbadf6c447754d202d88df025f8f2a - https://code.djangoproject.com/changeset/818e59a3f0fbadf6c447754d202d88df025f8f2a/1421172176000000 - <p> -[1.7.x] Prevented views.static.serve() from using large memory on large files. -</p> -<p> -This is a security fix. Disclosure following shortly. -</p> - - changeset - - Changeset [de67dedc]: [1.7.x] Fixed is_safe_url() to handle leading whitespace. This is a ... - - Tim Graham <timograham@…> - - Tue, 13 Jan 2015 18:02:56 GMT - https://code.djangoproject.com/changeset/de67dedc771ad2edec15c1d00c083a1a084e1e89 - https://code.djangoproject.com/changeset/de67dedc771ad2edec15c1d00c083a1a084e1e89/1421172176000000 - <p> -[1.7.x] Fixed is_safe_url() to handle leading whitespace. -</p> -<p> -This is a security fix. Disclosure following shortly. -</p> - - changeset - - Changeset [41b4bc7]: [1.7.x] Stripped headers containing underscores to prevent spoofing in ... - - Tim Graham <timograham@…> - - Tue, 13 Jan 2015 18:02:56 GMT - https://code.djangoproject.com/changeset/41b4bc73ee0da7b2e09f4af47fc1fd21144c710f - https://code.djangoproject.com/changeset/41b4bc73ee0da7b2e09f4af47fc1fd21144c710f/1421172176000000 - <p> -[1.7.x] Stripped headers containing underscores to prevent spoofing in WSGI environ. -</p> -<p> -This is a security fix. Disclosure following shortly. -</p> -<p> -Thanks to Jedediah Smith for the report. -</p> - - changeset - - Changeset [33f1ccf5]: [1.7.x] Added stub release notes for security releases. - - Tim Graham <timograham@…> - - Tue, 13 Jan 2015 18:02:55 GMT - https://code.djangoproject.com/changeset/33f1ccf5b1a928b8680e25b3e419834d139e04e8 - https://code.djangoproject.com/changeset/33f1ccf5b1a928b8680e25b3e419834d139e04e8/1421172175000000 - <p> -[1.7.x] Added stub release notes for security releases. -</p> - - changeset - - Changeset [a1a23038]: [1.6.x] Fixed bad model example in admin docs. Backport of ... - - Tim Graham <timograham@…> - - Tue, 13 Jan 2015 16:54:05 GMT - https://code.djangoproject.com/changeset/a1a230382d6e510199fb625d2d185a579713b712 - https://code.djangoproject.com/changeset/a1a230382d6e510199fb625d2d185a579713b712/1421168045000000 - <p> -[1.6.x] Fixed bad model example in admin docs. -</p> -<p> -Backport of <a class="changeset" href="https://code.djangoproject.com/changeset/e7771ec380a116dbef481001fb1ce664f5c7311e/" title="Fixed bad model example in admin docs.">e7771ec380a116dbef481001fb1ce664f5c7311e</a> from master -</p> - - changeset - - Changeset [6a08020f]: [1.7.x] Fixed bad model example in admin docs. Backport of ... - - Tim Graham <timograham@…> - - Tue, 13 Jan 2015 16:53:59 GMT - https://code.djangoproject.com/changeset/6a08020fcff3681202047ba002c700fedebc6e74 - https://code.djangoproject.com/changeset/6a08020fcff3681202047ba002c700fedebc6e74/1421168039000000 - <p> -[1.7.x] Fixed bad model example in admin docs. -</p> -<p> -Backport of <a class="changeset" href="https://code.djangoproject.com/changeset/e7771ec380a116dbef481001fb1ce664f5c7311e/" title="Fixed bad model example in admin docs.">e7771ec380a116dbef481001fb1ce664f5c7311e</a> from master -</p> - - changeset - - Changeset [e7771ec]: Fixed bad model example in admin docs. - - Tim Graham <timograham@…> - - Tue, 13 Jan 2015 16:53:03 GMT - https://code.djangoproject.com/changeset/e7771ec380a116dbef481001fb1ce664f5c7311e - https://code.djangoproject.com/changeset/e7771ec380a116dbef481001fb1ce664f5c7311e/1421167983000000 - <p> -Fixed bad model example in admin docs. -</p> - - changeset - - Changeset [e084ff0]: Fixed #24136 -- Prevented crash when convert_extent input is None ... - - Claude Paroz <claude@…> - - Tue, 13 Jan 2015 16:27:11 GMT - https://code.djangoproject.com/changeset/e084ff01f27a28717eef471ff8e86b074d452f44 - https://code.djangoproject.com/changeset/e084ff01f27a28717eef471ff8e86b074d452f44/1421166431000000 - <p> -Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/24136" title="Bug: GeoQueryset.extent() -&gt; TypeError (closed: fixed)">#24136</a> -- Prevented crash when convert_extent input is None -</p> -<p> -Thanks Max Demars for the report. -</p> - - changeset - - Changeset [65246de7]: Fixed #24031 -- Added CASE expressions to the ORM. - - Tim Graham <timograham@…> - - Mon, 12 Jan 2015 23:15:34 GMT - https://code.djangoproject.com/changeset/65246de7b1d70d25831ab394c4f4a75813f629fe - https://code.djangoproject.com/changeset/65246de7b1d70d25831ab394c4f4a75813f629fe/1421104534000000 - <p> -Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/24031" title="New feature: Implement a Case/When expression (closed: fixed)">#24031</a> -- Added CASE expressions to the ORM. -</p> - - changeset - - Changeset [aa8ee6a]: Fixed test failures in Oracle introspection Refs #17785 - - Shai Berger <shai@…> - - Mon, 12 Jan 2015 23:00:09 GMT - https://code.djangoproject.com/changeset/aa8ee6a5731b37b73635e7605521fb1a54a5c10d - https://code.djangoproject.com/changeset/aa8ee6a5731b37b73635e7605521fb1a54a5c10d/1421103609000000 - <p> -Fixed test failures in Oracle introspection -</p> -<p> -Refs <a class="closed ticket" href="https://code.djangoproject.com/ticket/17785" title="Bug: PostgreSQL Introspection: get_relations() broken after drop column (closed: fixed)">#17785</a> -</p> - - changeset - - Changeset [5d7217dc]: Fixed typo in docs/release/1.8.txt & added word for spelling check. - - Tim Graham <timograham@…> - - Mon, 12 Jan 2015 22:53:32 GMT - https://code.djangoproject.com/changeset/5d7217dce307ad55ca9f20da6737f6ab605ab96f - https://code.djangoproject.com/changeset/5d7217dce307ad55ca9f20da6737f6ab605ab96f/1421103212000000 - <p> -Fixed typo in docs/release/1.8.txt &amp; added word for spelling check. -</p> - - changeset - - Changeset [3844ccc9]: Fixed #24138 -- Added modelform_factory to __all__. - - Tim Graham <timograham@…> - - Mon, 12 Jan 2015 22:44:06 GMT - https://code.djangoproject.com/changeset/3844ccc958f59aef731dbb054a51fa37aa1d16ec - https://code.djangoproject.com/changeset/3844ccc958f59aef731dbb054a51fa37aa1d16ec/1421102646000000 - <p> -Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/24138" title="Bug: Expose modelform_factory in __all__ (closed: fixed)">#24138</a> -- Added modelform_factory to <span class="underline">all</span>. -</p> - - changeset - - Changeset [21b858c]: Fixed #24060 -- Added OrderBy Expressions - - Josh Smeaton <josh.smeaton@…> - - Mon, 12 Jan 2015 22:39:55 GMT - https://code.djangoproject.com/changeset/21b858cb6735cdfdc695ff7b076e4cbc1981bc88 - https://code.djangoproject.com/changeset/21b858cb6735cdfdc695ff7b076e4cbc1981bc88/1421102395000000 - <p> -Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/24060" title="New feature: Allow expressions to be used in order_by queryset method (closed: fixed)">#24060</a> -- Added OrderBy Expressions -</p> - - changeset - - Changeset [f48e2258]: Fixed #24133 -- Replaced formatting syntax in success_url placeholders ... - - Claude Paroz <claude@…> - - Mon, 12 Jan 2015 21:51:22 GMT - https://code.djangoproject.com/changeset/f48e2258a96a08dcec843921206bcf7656e3ae45 - https://code.djangoproject.com/changeset/f48e2258a96a08dcec843921206bcf7656e3ae45/1421099482000000 - <p> -Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/24133" title="Bug: DeleteView success_url bug for non ascii urls (closed: fixed)">#24133</a> -- Replaced formatting syntax in success_url placeholders -</p> -<p> -Thanks Laurent Payot for the report, and Markus Holtermann, Tim Graham -for the reviews. -</p> - - changeset - - Changeset [5f7230e]: Fixed #24124 (again) -- Updated tests with new default ... - - Aymeric Augustin <aymeric.augustin@…> - - Mon, 12 Jan 2015 21:31:44 GMT - https://code.djangoproject.com/changeset/5f7230e12f0d237cdc19d8930006b0fc7d9dbaa6 - https://code.djangoproject.com/changeset/5f7230e12f0d237cdc19d8930006b0fc7d9dbaa6/1421098304000000 - <p> -Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/24124" title="Cleanup/optimization: Review the list of default context processors (closed: fixed)">#24124</a> (again) -- Updated tests with new default context_processors. -</p> -<p> -Thanks Collin for the review. -</p> - - changeset - - Changeset [511a53b]: Avoided exceptions in admindocs' template detail view. This is ... - - Aymeric Augustin <aymeric.augustin@…> - - Mon, 12 Jan 2015 20:01:34 GMT - https://code.djangoproject.com/changeset/511a53b3142551a1bc3093ed1b6655f57634f510 - https://code.djangoproject.com/changeset/511a53b3142551a1bc3093ed1b6655f57634f510/1421092894000000 - <p> -Avoided exceptions in admindocs' template detail view. -</p> -<p> -This is marginally better than crashing when several Django template -engines are configured in a project. -</p> -<p> -Refs <a class="new ticket" href="https://code.djangoproject.com/ticket/24125" title="Bug: TemplateDetailView in admindocs requires a single Django templates engine (new)">#24125</a>. -</p> - - changeset - - Changeset [3bba4b42]: Avoided exceptions in a non-critical check in the admin. This change ... - - Aymeric Augustin <aymeric.augustin@…> - - Mon, 12 Jan 2015 20:01:34 GMT - https://code.djangoproject.com/changeset/3bba4b420ed5e89608d9d71ad328fbaed026b232 - https://code.djangoproject.com/changeset/3bba4b420ed5e89608d9d71ad328fbaed026b232/1421092894000000 - <p> -Avoided exceptions in a non-critical check in the admin. -</p> -<p> -This change makes it possible to configure several Django template -engines in a project and still use the admin. On the flip side the -check is silently skipped when no Django template engine is configured. -</p> - - changeset - - Changeset [6b5113ec]: Made debug views not crash when there isn't a default template engine. - - Aymeric Augustin <aymeric.augustin@…> - - Mon, 12 Jan 2015 20:01:34 GMT - https://code.djangoproject.com/changeset/6b5113ec94e6b9c81e3e4d9a68b0703ccb14c22d - https://code.djangoproject.com/changeset/6b5113ec94e6b9c81e3e4d9a68b0703ccb14c22d/1421092894000000 - <p> -Made debug views not crash when there isn't a default template engine. -</p> - - changeset - - Changeset [79deb6a0]: Accounted for multiple template engines in template responses. - - Aymeric Augustin <aymeric.augustin@…> - - Mon, 12 Jan 2015 20:01:34 GMT - https://code.djangoproject.com/changeset/79deb6a0716e554cac5308e86f5754f19ad436dc - https://code.djangoproject.com/changeset/79deb6a0716e554cac5308e86f5754f19ad436dc/1421092894000000 - <p> -Accounted for multiple template engines in template responses. -</p> - - changeset - - Changeset [a3e783fe]: Deprecated passing a Context to a generic Template.render. A ... - - Aymeric Augustin <aymeric.augustin@…> - - Mon, 12 Jan 2015 20:01:34 GMT - https://code.djangoproject.com/changeset/a3e783fe11dd25bbf84bfb6201186566ed473506 - https://code.djangoproject.com/changeset/a3e783fe11dd25bbf84bfb6201186566ed473506/1421092894000000 - <p> -Deprecated passing a Context to a generic Template.render. -</p> -<p> -A deprecation path is required because the return type of -django.template.loader.get_template changed during the -multiple template engines refactor. -</p> -<p> -test_csrf_token_in_404 was incorrect: it tested the case when the -hardcoded template was rendered, and that template doesn't depend on the -CSRF token. This commit makes it test the case when a custom template is -rendered. -</p> - - changeset - - Changeset [71b7668]: Rewrapped TemplateSyntaxError in Jinja2 backend. Changed import style ... - - Aymeric Augustin <aymeric.augustin@…> - - Mon, 12 Jan 2015 20:01:34 GMT - https://code.djangoproject.com/changeset/71b7668b75d10589bbbdc7c5ca9ee7a125f91c90 - https://code.djangoproject.com/changeset/71b7668b75d10589bbbdc7c5ca9ee7a125f91c90/1421092894000000 - <p> -Rewrapped TemplateSyntaxError in Jinja2 backend. -</p> -<p> -Changed import style to avoid confusion between Django's and Jinja2's -APIs. -</p> - - changeset - - Changeset [4c413e23]: Fixed #17785 -- Preferred column names in get_relations introspection ... - - Claude Paroz <claude@…> - - Mon, 12 Jan 2015 18:58:47 GMT - https://code.djangoproject.com/changeset/4c413e231cfe788de6e371567f395c8ccbd26103 - https://code.djangoproject.com/changeset/4c413e231cfe788de6e371567f395c8ccbd26103/1421089127000000 - <p> -Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/17785" title="Bug: PostgreSQL Introspection: get_relations() broken after drop column (closed: fixed)">#17785</a> -- Preferred column names in get_relations introspection -</p> -<p> -Thanks Thomas Güttler for the report and the initial patch, and -Tim Graham for the review. -</p> - - changeset - - Changeset [b75c707]: Fixed #24089 -- Added check for when ModelAdmin.fieldsets[1]['fields'] ... - - Tim Graham <timograham@…> - - Mon, 12 Jan 2015 18:47:58 GMT - https://code.djangoproject.com/changeset/b75c707943e159b80c179c538721406bbfb8b120 - https://code.djangoproject.com/changeset/b75c707943e159b80c179c538721406bbfb8b120/1421088478000000 - <p> -Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/24089" title="Cleanup/optimization: Misleading error raised during system check related to ModelAdmin (closed: fixed)">#24089</a> -- Added check for when ModelAdmin.fieldsets<a class="changeset" href="https://code.djangoproject.com/changeset/1/">[1]</a><a class="missing wiki">fields?</a> isn't a list/tuple. -</p> - - changeset - - Changeset [eeb88123]: Fixed #24129 -- Added indicator that migrations are rendering the ... - - Markus Holtermann <info@…> - - Mon, 12 Jan 2015 18:23:46 GMT - https://code.djangoproject.com/changeset/eeb88123e725946802732162a22e5ad856e0c50c - https://code.djangoproject.com/changeset/eeb88123e725946802732162a22e5ad856e0c50c/1421087026000000 - <p> -Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/24129" title="New feature: Add indicator that migrations are rendering model states before ... (closed: fixed)">#24129</a> -- Added indicator that migrations are rendering the initial state -</p> -<p> -Thanks Tim Graham for the review. -</p> - - changeset - - Changeset [9f51d0c]: Fixed test from refs #23913 when running tests in reverse. - - Tim Graham <timograham@…> - - Mon, 12 Jan 2015 18:20:44 GMT - https://code.djangoproject.com/changeset/9f51d0c86d9348349d921c393d6ffcbbfd521192 - https://code.djangoproject.com/changeset/9f51d0c86d9348349d921c393d6ffcbbfd521192/1421086844000000 - <p> -Fixed test from refs <a class="closed ticket" href="https://code.djangoproject.com/ticket/23913" title="Cleanup/optimization: = comparison does work in templates although it shouldn't (closed: fixed)">#23913</a> when running tests in reverse. -</p> - - changeset - - Changeset [26a92619]: Fixed #24124 -- Changed context_processors in the default settings.py - - Collin Anderson <cmawebsite@…> - - Mon, 12 Jan 2015 18:17:44 GMT - https://code.djangoproject.com/changeset/26a92619f62aeb6f60e15c62e8322c96744eff26 - https://code.djangoproject.com/changeset/26a92619f62aeb6f60e15c62e8322c96744eff26/1421086664000000 - <p> -Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/24124" title="Cleanup/optimization: Review the list of default context processors (closed: fixed)">#24124</a> -- Changed context_processors in the default settings.py -</p> - - changeset - - Changeset [bbbed99]: Fixed #24123 -- Used all available migrations to generate the initial ... - - Markus Holtermann <info@…> - - Mon, 12 Jan 2015 17:39:18 GMT - https://code.djangoproject.com/changeset/bbbed99f6260a8b3e65cb990e49721b1ce4a441b - https://code.djangoproject.com/changeset/bbbed99f6260a8b3e65cb990e49721b1ce4a441b/1421084358000000 - <p> -Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/24123" title="Bug: LookupError when rolling back migrations (closed: fixed)">#24123</a> -- Used all available migrations to generate the initial migration state -</p> -<p> -Thanks Collin Anderson for the input when creating the patch and Tim Graham for the review. -</p> - - changeset - - Changeset [8f5d6c77]: Fixed #23878 -- Moved Query and Prefetch documentation - - Tim Graham <timograham@…> - - Mon, 12 Jan 2015 16:35:20 GMT - https://code.djangoproject.com/changeset/8f5d6c77b6bbe0390b683cea649de6ad24d80fef - https://code.djangoproject.com/changeset/8f5d6c77b6bbe0390b683cea649de6ad24d80fef/1421080520000000 - <p> -Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/23878" title="Cleanup/optimization: Query object/expression documentation needs to tidied (closed: fixed)">#23878</a> -- Moved Query and Prefetch documentation -</p> - - changeset - - Changeset [58833f51]: Made Django's templates get their own LANGUAGE_* variables. Refs #24117 - - Tim Graham <timograham@…> - - Mon, 12 Jan 2015 15:54:59 GMT - https://code.djangoproject.com/changeset/58833f519797e15ae3cb39b1613e5f7e09c96952 - https://code.djangoproject.com/changeset/58833f519797e15ae3cb39b1613e5f7e09c96952/1421078099000000 - <p> -Made Django's templates get their own LANGUAGE_* variables. -</p> -<p> -Refs <a class="new ticket" href="https://code.djangoproject.com/ticket/24117" title="Cleanup/optimization: make admin not require context_processors (new)">#24117</a> -</p> - - changeset - - Changeset [a7c256c]: Fixed #9893 -- Allowed using a field's max_length in the Storage. - - Tim Graham <timograham@…> - - Mon, 12 Jan 2015 14:09:18 GMT - https://code.djangoproject.com/changeset/a7c256cb5491bf2a77abdff01638239db5bfd9d5 - https://code.djangoproject.com/changeset/a7c256cb5491bf2a77abdff01638239db5bfd9d5/1421071758000000 - <p> -Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/9893" title="Bug: Filename + path length greater than 100 truncated on database ... (closed: fixed)">#9893</a> -- Allowed using a field's max_length in the Storage. -</p> - - changeset - - Changeset [b5c1a85]: Fixed #24118 -- Added --debug-sql option for tests. Added a ... - - Marc Tamlyn <marc.tamlyn@…> - - Mon, 12 Jan 2015 08:16:08 GMT - https://code.djangoproject.com/changeset/b5c1a85b50c709770b8e98aeecfeb8e81ca29dcf - https://code.djangoproject.com/changeset/b5c1a85b50c709770b8e98aeecfeb8e81ca29dcf/1421050568000000 - <p> -Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/24118" title="New feature: Add --debug-sql option to tests to print SQL queries on failure (closed: fixed)">#24118</a> -- Added --debug-sql option for tests. -</p> -<p> -Added a --debug-sql option for tests and runtests.py which outputs the -SQL logger for failing tests. When combined with --verbosity=2, it also -outputs the SQL for passing tests. -</p> -<p> -Thanks to Berker, Tim, Markus, Shai, Josh and Anssi for review and -discussion. -</p> - - changeset - - Changeset [68a439a]: Removed supports_binary_field flag as all backends support them It ... - - Claude Paroz <claude@…> - - Sun, 11 Jan 2015 22:34:47 GMT - https://code.djangoproject.com/changeset/68a439a18da17a65555832eff0a7c2090655b583 - https://code.djangoproject.com/changeset/68a439a18da17a65555832eff0a7c2090655b583/1421015687000000 - <p> -Removed supports_binary_field flag as all backends support them -</p> -<p> -It was mainly for MySQL on Python 3, but now the current -recommended MySQL driver for Python 3 (mysqlclient) does support -binary fields, it is unneeded. Refs <a class="closed ticket" href="https://code.djangoproject.com/ticket/20377" title="Cleanup/optimization: BinaryField doesn't work on MySQL and Python 3 (closed: fixed)">#20377</a>. -</p> - - changeset - - Changeset [d563e3b]: Fixed #23913 -- Deprecated the `=` comparison in `if` template tag. - - Tim Graham <timograham@…> - - Sun, 11 Jan 2015 20:21:01 GMT - https://code.djangoproject.com/changeset/d563e3be68369694a3bac1efd7779d8e03bb6a51 - https://code.djangoproject.com/changeset/d563e3be68369694a3bac1efd7779d8e03bb6a51/1421007661000000 - <p> -Fixed <a class="closed ticket" href="https://code.djangoproject.com/ticket/23913" title="Cleanup/optimization: = comparison does work in templates although it shouldn't (closed: fixed)">#23913</a> -- Deprecated the <tt>=</tt> comparison in <tt>if</tt> template tag. -</p> - - changeset - - Changeset [412066e7]: Revert "Marked a test as an expected failure on MySQL and Python 3.2." ... - - Claude Paroz <claude@…> - - Sun, 11 Jan 2015 19:59:07 GMT - https://code.djangoproject.com/changeset/412066e71e81e899bca63523f239e56138ec9e9d - https://code.djangoproject.com/changeset/412066e71e81e899bca63523f239e56138ec9e9d/1421006347000000 - <p> -Revert "Marked a test as an expected failure on MySQL and Python 3.2." -</p> -<p> -This reverts commit <a class="changeset" href="https://code.djangoproject.com/changeset/832b4a5722ba6b55e7b17c3bac6614ecca9aa88d/" title="Marked a test as an expected failure on MySQL and Python 3.2. -This ...">832b4a5722ba6b55e7b17c3bac6614ecca9aa88d</a>. -We officially don't support MySQL on Python 3.2. Refs <a class="closed ticket" href="https://code.djangoproject.com/ticket/20380" title="Cleanup/optimization: MySQL doesn't support dates below 1000 on Python 3.2 (closed: fixed)">#20380</a>. -</p> - - changeset - - Changeset [28de5cd]: Fixed spelling errors in docs. - - Tim Graham <timograham@…> - - Sun, 11 Jan 2015 18:24:13 GMT - https://code.djangoproject.com/changeset/28de5cd4de3ddacf67af40c6b31d4fefd85f31f8 - https://code.djangoproject.com/changeset/28de5cd4de3ddacf67af40c6b31d4fefd85f31f8/1421000653000000 - <p> -Fixed spelling errors in docs. -</p> - - changeset - - - diff --git a/dashboard/models.py b/dashboard/models.py index eb0f255501..fef015485e 100644 --- a/dashboard/models.py +++ b/dashboard/models.py @@ -3,7 +3,6 @@ import datetime import xmlrpc.client -import feedparser import requests from django.conf import settings from django.contrib.contenttypes.fields import ( @@ -127,17 +126,6 @@ def link(self): return "%squery?%s&desc=1&order=changetime" % (settings.TRAC_URL, self.query) -class RSSFeedMetric(Metric): - feed_url = models.URLField(max_length=1000) - link_url = models.URLField(max_length=1000) - - def fetch(self): - return len(feedparser.parse(requests.get(self.feed_url).text).entries) - - def link(self): - return self.link_url - - class GithubItemCountMetric(Metric): """Example: https://api.github.com/repos/django/django/pulls?state=open""" api_url = models.URLField(max_length=1000) @@ -165,6 +153,24 @@ def link(self): return self.link_url +class GitHubSearchCountMetric(Metric): + api_url = models.URLField(max_length=1000) + link_url = models.URLField(max_length=1000) + + def fetch(self): + """Request the specified GitHub API and return a total count.""" + today = datetime.date.today() + if self.period == METRIC_PERIOD_WEEKLY: + committer_date = '>%s' % (today - datetime.timedelta(weeks=1)).isoformat() + else: + committer_date = today.isoformat() + r = requests.get( + self.api_url + '?per_page=1&q=repo:django/django+committer-date:%s' % committer_date + ) + data = r.json() + return data['total_count'] + + class JenkinsFailuresMetric(Metric): """ Track failures of a job/build. Uses the Python flavor of the Jenkins REST diff --git a/dashboard/tests.py b/dashboard/tests.py index ed65d4d545..6b75fb3bdb 100644 --- a/dashboard/tests.py +++ b/dashboard/tests.py @@ -1,6 +1,5 @@ -import codecs +import datetime import json -import os from unittest import mock import requests_mock @@ -10,7 +9,8 @@ from django_hosts.resolvers import reverse from .models import ( - GithubItemCountMetric, Metric, RSSFeedMetric, TracTicketMetric, + METRIC_PERIOD_DAILY, METRIC_PERIOD_WEEKLY, GithubItemCountMetric, + GitHubSearchCountMetric, Metric, TracTicketMetric, ) from .views import index, metric_detail, metric_json @@ -77,23 +77,6 @@ def test_fetch(self, mock_server_proxy): self.assertTrue(mock_server_proxy.client.query.assert_called_with) -class RSSFeedMetricTestCase(TestCase, MetricMixin): - fixtures = ['dashboard_test_data'] - feed_url = 'https://code.djangoproject.com/timeline?changeset=on&max=0&daysback=7&format=rss' - fixtures_path = os.path.join(os.path.dirname(__file__), 'fixtures', 'rss_feed_metric.xml') - - def setUp(self): - super().setUp() - self.instance = RSSFeedMetric.objects.last() - - @requests_mock.mock() - def test_fetch(self, mocker): - with codecs.open(self.fixtures_path, 'r', 'utf-8') as fixtures: - feed_items = fixtures.read() - mocker.get(self.feed_url, text=feed_items) - self.assertEqual(self.instance.fetch(), 177) - - class GithubItemCountMetricTestCase(TestCase, MetricMixin): fixtures = ['dashboard_test_data'] api_url1 = 'https://api.github.com/repos/django/django/pulls?state=closed&per_page=100&page=1' @@ -112,6 +95,37 @@ def test_fetch(self, mocker): self.assertEqual(self.instance.fetch(), 142) +class GitHubSearchCountMetricTestCase(TestCase, MetricMixin): + fixtures = ['dashboard_test_data'] + api_url = ( + 'https://api.github.com/search/commits?' + 'per_page=1&q=repo:django/django+committer-date:%s' + ) + + def setUp(self): + super().setUp() + self.instance = GitHubSearchCountMetric.objects.last() + + @requests_mock.mock() + def test_fetch(self, mocker): + today = datetime.date.today() + week_start = today - datetime.timedelta(weeks=1) + # Faking a daily JSON output with 4 items. + mocker.get( + self.api_url % today.isoformat(), + text=json.dumps({'total_count': 4, 'items': []}), + ) + metric = GitHubSearchCountMetric.objects.filter(period=METRIC_PERIOD_DAILY).last() + self.assertEqual(metric.fetch(), 4) + # Faking a weekly JSON output with 23 items. + mocker.get( + self.api_url % '>' + week_start.isoformat(), + text=json.dumps({'total_count': 23, 'items': []}), + ) + metric = GitHubSearchCountMetric.objects.filter(period=METRIC_PERIOD_WEEKLY).last() + self.assertEqual(metric.fetch(), 23) + + class UpdateMetricCommandTestCase(TestCase): github_url = 'https://api.github.com/repos/django/django/pulls?state=closed&per_page=100&page=1'