python-django (3:4.2.16-1) unstable; urgency=high * New upstream security release: - CVE-2024-45230: Potential denial-of-service vulnerability in django.utils.html.urlize(). urlize and urlizetrunc were subject to a potential denial-of-service attack via very large inputs with a specific sequence of characters. - CVE-2024-45231: Potential user email enumeration via response status on password reset. Due to unhandled email sending failures, the django.contrib.auth.forms.PasswordResetForm class allowed remote attackers to enumerate user emails by issuing password reset requests and observing the outcomes. To mitigate this risk, exceptions occurring during password reset email sending are now handled and logged using the django.contrib.auth logger. * Bump Standards-Version to 4.7.0. -- Chris Lamb Tue, 03 Sep 2024 17:31:33 +0100 python-django (3:4.2.15-1) unstable; urgency=high * New upstream security release. (Closes: #1078074) - CVE-2024-41989: Memory exhaustion in django.utils.numberformat. The floatformat template filter is subject to significant memory consumption when given a string representation of a number in scientific notation with a large exponent. - CVE-2024-41990: Potential denial-of-service in django.utils.html.urlize. The urlize() and urlizetrunc() template filters are subject to a potential denial-of-service attack via very large inputs with a specific sequence of characters. - CVE-2024-41991: Potential denial-of-service vulnerability in django.utils.html.urlize() and AdminURLFieldWidget The urlize and urlizetrunc template filters, and the AdminURLFieldWidget widget, are subject to a potential denial-of-service attack via certain inputs with a very large number of Unicode characters. - CVE-2024-42005: Potential SQL injection in QuerySet.values() and values_list() QuerySet.values() and values_list() methods on models with a JSONField are subject to SQL injection in column aliases via a crafted JSON object key as a passed *arg. -- Chris Lamb Tue, 06 Aug 2024 16:59:24 +0100 python-django (3:4.2.14-1) unstable; urgency=medium * New upstream security release. (Closes: #1076069) - CVE-2024-38875: Prevent a potential denial-of-service in django.utils.html.urlize. This method (and urlizetrunc) were subject to a potential DoS attack via specially-crafted inputs with a very large number of brackets. - CVE-2024-39329: Avoid a username enumeration vulnerability through timing difference for users with unusable password. The authenticate method of django.contrib.auth.backends.ModelBackend method allowed remote attackers to enumerate users via a timing attack involving login requests for users with unusable passwords. - CVE-2024-39330: Address a potential directory-traversal in django.core.files.storage.Storage.save. Derived classes of this method's base class which override generate_filename without replicating the file path validations existing in the parent class allowed for potential directory-traversal via certain inputs when calling save(). Built-in Storage sub-classes were not affected by this vulnerability. - CVE-2024-39614: Fix a potential denial-of-service in django.utils.translation.get_supported_language_variant. This method was subject to a potential DoS attack when used with very long strings containing specific characters. To mitigate this vulnerability, the language code provided to get_supported_language_variant is now parsed up to a maximum length of 500 characters. -- Chris Lamb Wed, 10 Jul 2024 09:50:49 +0100 python-django (3:4.2.13-1) unstable; urgency=medium * New upstream bugfix releases. -- Chris Lamb Wed, 08 May 2024 11:28:44 +0100 python-django (3:4.2.11-1) unstable; urgency=high * New upstream security release: - CVE-2024-27351: Fix a potential regular expression denial-of-service (ReDoS) attack in django.utils.text.Truncator.words. This method (with html=True) and the truncatewords_html template filter were subject to a potential regular expression denial-of-service attack via a suitably crafted string. This is, in part, a follow up to CVE-2019-14232 and CVE-2023-43665. -- Chris Lamb Tue, 05 Mar 2024 13:03:35 +0000 python-django (3:4.2.10-1) unstable; urgency=high * New upstream security release: - CVE-2024-24680: Potential denial-of-service in intcomma template filter. The intcomma template filter was subject to a potential denial-of-service attack when used with very long strings. -- Chris Lamb Tue, 06 Feb 2024 08:15:25 -0800 python-django (3:4.2.9-1) unstable; urgency=medium * New upstream bugfix release. -- Chris Lamb Wed, 03 Jan 2024 11:15:04 +0000 python-django (3:4.2.8-1) unstable; urgency=medium * New upstream bugfix release. -- Chris Lamb Thu, 07 Dec 2023 13:05:03 +0000 python-django (3:4.2.6-1) unstable; urgency=high * New upstream security release. - CVE-2023-43665: Address a denial-of-service possibility in django.utils.text.Truncator. Following the fix for CVE-2019-14232, the regular expressions used in the implementation of django.utils.text.Truncator’s chars() and words() methods (with html=True) were revised and improved. However, these regular expressions still exhibited linear backtracking complexity, so when given a very long, potentially malformed HTML input, the evaluation would still be slow, leading to a potential denial of service vulnerability. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template filters, which were thus also vulnerable. The input processed by Truncator, when operating in HTML mode, has been limited to the first five million characters in order to avoid potential performance and memory issues. -- Chris Lamb Thu, 05 Oct 2023 09:17:06 +0200 python-django (3:4.2.5-2) unstable; urgency=medium * Upload 4.2.x branch to unstable with a -2 suffix to prevent collision with previous upload of 3:4.2.5-1 to experimental. -- Chris Lamb Sun, 24 Sep 2023 13:52:16 -0700 python-django (3:3.2.21-1) unstable; urgency=high * New upstream security release: - CVE-2023-41164: Potential denial of service vulnerability in django.utils.encoding.uri_to_iri(). This method was subject to potential denial of service attack via certain inputs with a very large number of Unicode characters. (Closes: #1051226) * Refresh patches. -- Chris Lamb Mon, 04 Sep 2023 11:02:53 -0700 python-django (3:3.2.20-1.1) unstable; urgency=high [ Gianfranco Costamagna ] * Non-maintainer upload. [ Graham Inggs ] * Cherry-pick upstream commit to fix URLValidator crash in some edge cases (LP: #2025155, Closes: #1037920) -- Gianfranco Costamagna Tue, 04 Jul 2023 09:31:10 +0200 python-django (3:3.2.20-1) unstable; urgency=high * New upstream security release: - CVE-2023-36053: Potential regular expression denial of service vulnerability in EmailValidator/URLValidator. EmailValidator and URLValidator were subject to potential regular expression denial of service attack via a very large number of domain name labels of emails and URLs. (Closes: #1040225) -- Chris Lamb Mon, 03 Jul 2023 20:34:24 +0100 python-django (3:3.2.19-1) unstable; urgency=medium * New upstream security release. * CVE-2023-31047: Prevent a potential bypass of validation when uploading multiple files using one form field. Uploading multiple files using one form field has never been supported by forms.FileField or forms.ImageField as only the last uploaded file was validated. Unfortunately, Uploading multiple files topic suggested otherwise. In order to avoid the vulnerability, the ClearableFileInput and FileInput form widgets now raise ValueError when the multiple HTML attribute is set on them. To prevent the exception and keep the old behavior, set the allow_multiple_selected attribute to True. For more details on using the new attribute and handling of multiple files through a single field, see: (Closes: #1035467) * Bump Standards-Version to 4.6.2. -- Chris Lamb Wed, 03 May 2023 09:32:59 -0700 python-django (3:3.2.18-1) unstable; urgency=high * New upstream security release: - CVE-2023-24580: Potential denial-of-service vulnerability in file uploads Passing certain inputs to multipart forms could result in too many open files or memory exhaustion, and provided a potential vector for a denial-of-service attack. The number of files parts parsed is now limited via the new DATA_UPLOAD_MAX_NUMBER_FILES setting. Thanks to Jakob Ackermann for the report. (Closes: #1031290) -- Chris Lamb Tue, 14 Feb 2023 09:12:57 -0800 python-django (3:3.2.17-1) unstable; urgency=medium * New security upstream release. - CVE-2023-23969: Potential denial-of-service via Accept-Language headers The parsed values of Accept-Language headers are cached in order to avoid repetitive parsing. This leads to a potential denial-of-service vector via excessive memory usage if large header values are sent. In order to avoid this vulnerability, the Accept-Language header is now parsed up to a maximum length. (Closes: #1030251) * Drop 0010-Fixed-inspectdb.tests.InspectDBTestCase.test_custom_.patch; applied upstream. * Refresh all patches. -- Chris Lamb Wed, 01 Feb 2023 08:01:01 -0800 python-django (3:3.2.16-2) unstable; urgency=medium * Team upload. [ Chris Lamb ] * Drop README.source. [ Lena Voytek ] * Make unit tests compatible with Python 3.11 to fix build errors (Closes: #1026476) (LP: #2002012) -- Jochen Sprickerhof Thu, 19 Jan 2023 16:53:53 +0100 python-django (3:3.2.16-1) unstable; urgency=high * New upstream security release. - CVE-2022-41323: Prevent a potential denial-of-service vulnerability in internationalized URLs. Internationalised URLs were subject to potential denial of service attack via the locale parameter. This is now escaped to avoid this possibility. -- Chris Lamb Tue, 04 Oct 2022 07:51:21 -0700 python-django (3:3.2.15-1) unstable; urgency=high * New upstream security release. - CVE-2022-36359: Potential reflected file download vulnerability in FileResponse. An application may have been vulnerable to a reflected file download (RFD) attack that sets the Content-Disposition header of a FileResponse when the filename was derived from user-supplied input. The filename is now escaped to avoid this possibility. -- Chris Lamb Wed, 03 Aug 2022 07:11:45 -0700 python-django (3:3.2.14-1) unstable; urgency=medium * Revert Debian unstable to 3.2.x LTS release stream, bumping epoch. (Closes: #1016090) * Refresh patches. * Bump Standards-Version to 4.6.1. -- Chris Lamb Tue, 02 Aug 2022 09:02:41 -0700 python-django (2:4.0.6-1) unstable; urgency=high * New upstream security release: - CVE-2022-34265: Potential SQL injection via Trunc(kind) and Extract(lookup_name) arguments. "Trunc() and Extract() database functions were subject to SQL injection if untrusted data was used as a kind/lookup_name value. Applications that constrain the lookup name and kind choice to a known safe list are unaffected." "This security release mitigates the issue, but we have identified improvements to the Database API methods related to date extract and truncate that would be beneficial to add to Django 4.1 before it's final release. This will impact 3rd party database backends using Django 4.1 release candidate 1 or newer, until they are able to update to the API changes. We apologize for the inconvenience." * Refresh patches. -- Chris Lamb Tue, 05 Jul 2022 12:38:15 +0100 python-django (2:4.0.5-2) unstable; urgency=medium [ Lena Voytek ] * Add updated version of SQLite 3.37+ / test_custom_fields patch. (Closes: #1012784) [ Chris Lamb ] * Add debian/gitlab-ci.yml. - Allow some elements of the pipeline to fail. -- Chris Lamb Thu, 16 Jun 2022 08:00:35 +0100 python-django (2:4.0.5-1) unstable; urgency=medium * Upload 4.x stable release stream to unstable using the 4.0.5 bugfix release. (The 4.x stream has been in experimental since September 2021.) * Update debian/gbp.conf and debian/watch to match new version series. * Update patches. * No need to delete django-admin.py script anymore; does not exist in 4.x. -- Chris Lamb Mon, 06 Jun 2022 12:31:50 +0100 python-django (2:3.2.13-1) unstable; urgency=high * New upstream security release: - CVE-2022-28346: Potential SQL injection in QuerySet.annotate(), aggregate(), and extra(). QuerySet.annotate(), aggregate(), and extra() methods were subject to SQL injection in column aliases, using a suitably crafted dictionary, with dictionary expansion, as the **kwargs passed to these methods. - CVE-2022-28347: Potential SQL injection via QuerySet.explain(**options) on PostgreSQL. QuerySet.explain() method was subject to SQL injection in option names, using a suitably crafted dictionary, with dictionary expansion, as the **options argument. See for more info. -- Chris Lamb Tue, 12 Apr 2022 18:22:30 +0200 python-django (2:3.2.12-2) unstable; urgency=medium * Fix a traceback around the handling of RequestSite/get_current_site() due to a circular import by backporting commit 78163d1a from upstream. Thanks to Raphaël Hertzog for the report. (Closes: #1003478) -- Chris Lamb Tue, 22 Feb 2022 09:43:02 +0000 python-django (2:3.2.12-1) unstable; urgency=high * New upstream security release: - CVE-2022-22818: Possible XSS via {% debug %} template tag. The {% debug %} template tag didn't properly encode the current context, posing an XSS attack vector. In order to avoid this vulnerability, {% debug %} no longer outputs information when the DEBUG setting is False, and it ensures all context variables are correctly escaped when the DEBUG setting is True. - CVE-2022-23833: Denial-of-service possibility in file uploads. Passing certain inputs to multipart forms could result in an infinite loop when parsing files. See for more information. (Closes: #1004752) -- Chris Lamb Tue, 01 Feb 2022 09:28:58 -0800 python-django (2:3.2.11-2) unstable; urgency=medium [ Chris Lamb ] * Fix compatibility with SQLite 3.37+. (Closes: #1004464) [ Salman Mohammadi] * Drop references to the deprecated python3-memcache package. [ Mattia Rizzolo ] * Add a Breaks against python3-django-countries (<< 7,1~). * Add a Breaks against python3-django-tables2 (<< 2.3.4) (see #985774). -- Chris Lamb Fri, 28 Jan 2022 08:52:06 -0800 python-django (2:3.2.11-1) unstable; urgency=high * New upstream security release: - CVE-2021-45115: Denial-of-service possibility in UserAttributeSimilarityValidator UserAttributeSimilarityValidator incurred significant overhead evaluating submitted password that were artificially large in relative to the comparison values. On the assumption that access to user registration was unrestricted this provided a potential vector for a denial-of-service attack. In order to mitigate this issue, relatively long values are now ignored by UserAttributeSimilarityValidator. - CVE-2021-45116: Potential information disclosure in dictsort template filter Due to leveraging the Django Template Language's variable resolution logic, the dictsort template filter was potentially vulnerable to information disclosure or unintended method calls, if passed a suitably crafted key. In order to avoid this possibility, dictsort now works with a restricted resolution logic, that will not call methods, nor allow indexing on dictionaries. - CVE-2021-45452: Potential directory-traversal via Storage.save() Storage.save() allowed directory-traversal if directly passed suitably crafted file names. See for more information. (Closes: #1003113) -- Chris Lamb Tue, 04 Jan 2022 12:35:16 +0000 python-django (2:3.2.10-2) unstable; urgency=medium * autopkgtest: give the tests names. This allows to easily run any of them individually, and also is better than having them called "command1" and "command2" in the autopkgtest logs. * Backport fixes for more Django ORM regressions. Upstream issue: https://code.djangoproject.com/ticket/33282). That regression affects src:lava in Debian. The patches are: - 0007-Refs-32786-Made-Query.clear_ordering-not-to-cause-si.patch - 0008-Refs-32690-Altered-lookups-Query-rhs-alterations-dur.patch - 0009-Fixed-33282-Fixed-a-crash-when-OR-ing-subquery-and-a.patch -- Antonio Terceiro Wed, 08 Dec 2021 15:11:52 -0300 python-django (2:3.2.10-1) unstable; urgency=medium * New upstream release: - CVE-2021-44420: Potential bypass of an upstream access control based on URL paths: Full details are available here: * Refresh patches. -- Chris Lamb Tue, 07 Dec 2021 07:46:51 -0800 python-django (2:3.2.9-2) unstable; urgency=medium * Team upload. * Fix __in lookup crash when combining with filtered aggregates. Fix for: https://code.djangoproject.com/ticket/32690 This issue affects src:lava, where work is being done towards Django 3.2 compatibility. Upstream patch from: https://github.com/django/django/commit/136ff592ad8aa8b7fa1e61435e5501cc98ce8573 * Add Breaks: on lava-server << 2021.11 (Closes: #996931) * Add Breaks: on python-django-pyscss << 2.0.2-10 (Closes: #983618) -- Antonio Terceiro Wed, 10 Nov 2021 11:22:48 -0300 python-django (2:3.2.9-1) unstable; urgency=medium * New upstream release. -- Chris Lamb Mon, 01 Nov 2021 16:13:55 +0000 python-django (2:3.2.8-1) unstable; urgency=medium * New upstream bugfix release. * Drop a patch applied upstream. * Bump Standards-Version to 4.6.0. -- Chris Lamb Tue, 05 Oct 2021 09:34:57 +0100 python-django (2:3.2.7-4) unstable; urgency=medium * Skip a test that is fixed upstream (with a number of overlapping patches). -- Chris Lamb Mon, 13 Sep 2021 09:03:27 +0100 python-django (2:3.2.7-3) unstable; urgency=medium * Actually upload 3.2 branch to unstable... -- Chris Lamb Thu, 09 Sep 2021 17:49:23 +0100 python-django (2:3.2.7-2) experimental; urgency=medium * Upload 3.2 branch to unstable. -- Chris Lamb Thu, 09 Sep 2021 15:51:11 +0100 python-django (2:3.2.7-1) experimental; urgency=medium * New upstream bugfix release. -- Chris Lamb Wed, 01 Sep 2021 10:46:07 +0100 python-django (2:3.2.6-1) experimental; urgency=medium * New upstream bugfix release. * Bump Standards-Version to 4.5.1. -- Chris Lamb Mon, 02 Aug 2021 09:16:21 +0100 python-django (2:3.2.5-2) experimental; urgency=medium * Don't symlink /usr/bin/django-admin to "django-admin.py"; ship the script generated by the entry_points system instead, otherwise we introduce a confusing "django-admin.py" deprecation message when using "django-admin". (Closes: #991098) -- Chris Lamb Thu, 15 Jul 2021 13:54:57 +0100 python-django (2:3.2.5-1) experimental; urgency=medium * New upstream security release: - CVE-2021-35042: Potential SQL injection via unsanitized QuerySet.order_by() input. Unsanitized user input passed to QuerySet.order_by() could bypass intended column reference validation in path marked for deprecation resulting in a potential SQL injection even if a deprecation warning is emitted. As a mitigation, the strict column reference validation was restored for the duration of the deprecation period. This regression appeared in Django version 3.1 as a side effect of fixing another bug (#31426). For more information, please see: -- Chris Lamb Thu, 01 Jul 2021 10:56:07 +0100 python-django (2:3.2.4-1) experimental; urgency=medium * New upstream security release. (Closes: #989394) - CVE-2021-33203: Potential directory traversal via admindocs Staff members could use the admindocs TemplateDetailView view to check the existence of arbitrary files. Additionally, if (and only if) the default admindocs templates have been customized by the developers to also expose the file contents, then not only the existence but also the file contents would have been exposed. As a mitigation, path sanitation is now applied and only files within the template root directories can be loaded. This issue has low severity, according to the Django security policy. Thanks to Rasmus Lerchedahl Petersen and Rasmus Wriedt Larsen from the CodeQL Python team for the report. - CVE-2021-33571: Possible indeterminate SSRF, RFI, and LFI attacks since validators accepted leading zeros in IPv4 addresses URLValidator, validate_ipv4_address(), and validate_ipv46_address() didn't prohibit leading zeros in octal literals. If you used such values you could suffer from indeterminate SSRF, RFI, and LFI attacks. validate_ipv4_address() and validate_ipv46_address() validators were not affected on Python 3.9.5+. This issue has medium severity, according to the Django security policy. * Bump Standards-Version to 4.5.1. -- Chris Lamb Wed, 02 Jun 2021 16:08:13 +0100 python-django (2:3.2.3-1) experimental; urgency=medium * New upstream release. -- Chris Lamb Thu, 13 May 2021 10:25:49 +0100 python-django (2:3.2.2-1) experimental; urgency=medium * New upstream security release: - CVE-2021-32052: Header injection possibility since URLValidator accepted newlines in input on Python 3.9.5+. (Closes: #988136) - Full release notes: -- Chris Lamb Thu, 06 May 2021 13:04:03 +0100 python-django (2:3.2.1-1) experimental; urgency=medium * New upstream security release: - CVE-2021-31542: Potential directory-traversal via uploaded files. (Closes: #988053) - Full release notes: * Refresh patches. -- Chris Lamb Tue, 04 May 2021 12:59:07 +0100 python-django (2:3.2-1) experimental; urgency=medium * New upstream major release: - Full release notes: - CVE-2021-28658: The MultiPartParser class allowed directory-traversal via uploaded files via maliciously crafted filenames. (Closes: #986447) -- Chris Lamb Tue, 06 Apr 2021 11:38:48 +0100 python-django (2:3.2~rc1-1) experimental; urgency=medium * New upstream release candidate. * Refresh patches. -- Chris Lamb Fri, 19 Mar 2021 09:56:40 +0000 python-django (2:3.2~beta1-1) experimental; urgency=medium * New upstream beta release. * Apply wrap-and-sort -sa. -- Chris Lamb Fri, 19 Feb 2021 16:13:21 +0000 python-django (2:3.2~alpha1-2) experimental; urgency=medium * Apply security fix from upstream: - CVE-2021-23336: Prevent a web cache poisoning attack via "parameter cloaking". Django contains a copy of urllib.parse.parse_qsl() which was added to backport some security fixes. A further security fix has been issued recently such that parse_qsl() no longer allows using ";" as a query parameter separator by default. (Closes: #983090) -- Chris Lamb Fri, 19 Feb 2021 09:28:42 +0000 python-django (2:3.2~alpha1-1) experimental; urgency=medium * New upstream alpha release. * Refresh patches. * Drop no-upstream-changelog overrides; removed from Lintian. -- Chris Lamb Wed, 20 Jan 2021 09:27:49 +0000 python-django (2:3.1.5-1) experimental; urgency=medium * New upstream bugfix release. -- Chris Lamb Mon, 04 Jan 2021 12:45:20 +0000 python-django (2:3.1.4-1) experimental; urgency=medium * New upstream bugfix release. * Bump Standards-Version to 4.5.1. -- Chris Lamb Tue, 01 Dec 2020 11:25:32 +0000 python-django (2:3.1.3-1) experimental; urgency=medium * New upstream bugfix release. -- Chris Lamb Tue, 03 Nov 2020 11:59:29 +0000 python-django (2:3.1.2-1) experimental; urgency=medium * New upstream bugfix release. * Update Maintainer field with new Debian Python Team contact address. * Update Vcs-* fields with new Debian Python Team Salsa layout. -- Chris Lamb Thu, 01 Oct 2020 10:06:16 +0100 python-django (2:3.1.1-1) experimental; urgency=medium * New upstream security release to address CVE-2020-24583, CVE-2020-24584. (Closes: #969367) -- Chris Lamb Tue, 01 Sep 2020 12:32:23 +0100 python-django (2:3.1-2) experimental; urgency=medium * Set the PYTHONPATH in the autopkgtests in the same way that we do in debian/rules. (Closes: #968577) -- Chris Lamb Mon, 17 Aug 2020 23:11:30 +0100 python-django (2:3.1-1) experimental; urgency=medium * New upstream release. -- Chris Lamb Tue, 04 Aug 2020 10:11:43 +0100 python-django (2:3.1~rc1-1) experimental; urgency=medium * New upstream release candidate release. -- Chris Lamb Mon, 20 Jul 2020 11:43:40 +0100 python-django (2:3.1~beta1-1) experimental; urgency=medium * New upstream beta release. * Refresh patches. -- Chris Lamb Mon, 15 Jun 2020 11:30:39 +0100 python-django (2:3.0.7-2) experimental; urgency=medium * Fix a regression in the handling of CVE-2020-13596. * Refresh patches. -- Chris Lamb Sat, 13 Jun 2020 15:15:34 +0100 python-django (2:3.0.7-1) experimental; urgency=medium * New upstream security release. -- Chris Lamb Wed, 03 Jun 2020 21:16:00 +0100 python-django (2:3.0.6-1) experimental; urgency=medium * New upstream bugfix release. -- Chris Lamb Mon, 04 May 2020 19:33:25 +0100 python-django (2:3.0.5-1) experimental; urgency=medium * New upstream release. * Refresh all patches. -- Chris Lamb Wed, 01 Apr 2020 10:35:42 +0100 python-django (2:3.0.4-1) experimental; urgency=medium * New upstream security release. (Closes: #953102) * Bump Standards-Version to 4.5.0. * Refresh debian/patches/0004-Use-locally-installed-documentation-sources.patch. -- Chris Lamb Wed, 04 Mar 2020 08:22:30 -0800 python-django (2:3.0.2-1) experimental; urgency=medium * New upstream bugfix release. * Add python3-selenium to test-dependencies and to a runtime "Suggests". (Closes: #947549) -- Chris Lamb Thu, 02 Jan 2020 10:52:39 +0000 python-django (2:3.0.1-1) experimental; urgency=medium * New upstream security release. (Closes: #946937) -- Chris Lamb Mon, 30 Dec 2019 10:44:01 +0000 python-django (2:3.0-1) experimental; urgency=medium * New upstream release. -- Chris Lamb Mon, 02 Dec 2019 12:24:50 +0000 python-django (2:3.0~rc1-1) experimental; urgency=medium * New upstream release candidate release. -- Chris Lamb Mon, 18 Nov 2019 11:25:38 -0500 python-django (2:3.0~beta1-1) experimental; urgency=medium * New upstream beta release. * Bump Standards-Version to 4.4.1. * wrap-and-sort -sa. -- Chris Lamb Mon, 14 Oct 2019 11:11:10 -0700 python-django (2:3.0~alpha1-1) experimental; urgency=medium * New upstream alpha release. * Refresh all patches. * Add asgiref to build and runtime dependencies. * Update debian/copyright. -- Chris Lamb Tue, 10 Sep 2019 11:22:45 +0100 python-django (2:2.2.24-1) unstable; urgency=medium * New upstream security release. (Closes: #989394) - CVE-2021-33203: Potential directory traversal via admindocs Staff members could use the admindocs TemplateDetailView view to check the existence of arbitrary files. Additionally, if (and only if) the default admindocs templates have been customized by the developers to also expose the file contents, then not only the existence but also the file contents would have been exposed. As a mitigation, path sanitation is now applied and only files within the template root directories can be loaded. This issue has low severity, according to the Django security policy. Thanks to Rasmus Lerchedahl Petersen and Rasmus Wriedt Larsen from the CodeQL Python team for the report. - CVE-2021-33571: Possible indeterminate SSRF, RFI, and LFI attacks since validators accepted leading zeros in IPv4 addresses URLValidator, validate_ipv4_address(), and validate_ipv46_address() didn't prohibit leading zeros in octal literals. If you used such values you could suffer from indeterminate SSRF, RFI, and LFI attacks. validate_ipv4_address() and validate_ipv46_address() validators were not affected on Python 3.9.5+. This issue has medium severity, according to the Django security policy. -- Chris Lamb Wed, 02 Jun 2021 16:15:13 +0100 python-django (2:2.2.23-1) unstable; urgency=medium * New upstream release. -- Chris Lamb Thu, 13 May 2021 10:41:04 +0100 python-django (2:2.2.22-1) unstable; urgency=medium * New upstream security release: - CVE-2021-32052: Header injection possibility since URLValidator accepted newlines in input on Python 3.9.5+. (Closes: #988136) - Full release notes: -- Chris Lamb Thu, 06 May 2021 15:52:24 +0100 python-django (2:2.2.21-1) unstable; urgency=medium * New upstream security release: - CVE-2021-31542: Potential directory-traversal via uploaded files. (Closes: #988053) - Full release notes: -- Chris Lamb Tue, 04 May 2021 13:07:54 +0100 python-django (2:2.2.20-1) unstable; urgency=medium * New upstream security release: - CVE-2021-28658: The MultiPartParser class allowed directory-traversal via uploaded files via maliciously crafted filenames. (Closes: #986447) -- Chris Lamb Tue, 06 Apr 2021 11:44:51 +0100 python-django (2:2.2.19-1) unstable; urgency=medium * New upstream security release: - CVE-2021-23336: Prevent a web cache poisoning attack via "parameter cloaking". Django contains a copy of urllib.parse.parse_qsl() which was added to backport some security fixes. A further security fix has been issued recently such that parse_qsl() no longer allows using ";" as a query parameter separator by default. (Closes: #983090) * Refresh patches. -- Chris Lamb Fri, 19 Feb 2021 09:22:37 +0000 python-django (2:2.2.18-1) unstable; urgency=medium * New upstream security release: - CVE-2021-3281: Potential directory-traversal via archive.extract(). The django.utils.archive.extract() function, used by startapp --template and startproject --template, allowed directory-traversal via an archive with absolute paths or relative paths with dot segments. (Closes: #981562) * Drop 0006-Fixed-31850-Fixed-BasicExtractorTests.test_extractio.patch; applied upstream. -- Chris Lamb Mon, 01 Feb 2021 11:59:58 +0000 python-django (2:2.2.17-2) unstable; urgency=medium * Fix compatibility with xgettext 0.21. (Closes: #978263) * Move to debian/watch file version 4. * Bump Standards-Version to 4.5.1. -- Chris Lamb Sun, 27 Dec 2020 16:42:36 +0000 python-django (2:2.2.17-1) unstable; urgency=medium [ Chris Lamb ] * New upstream bugfix release. [ Ondřej Nový ] * d/control: Update Maintainer field with new Debian Python Team contact address. * d/control: Update Vcs-* fields with new Debian Python Team Salsa layout. -- Chris Lamb Tue, 03 Nov 2020 10:46:54 +0000 python-django (2:2.2.16-1) unstable; urgency=medium * New upstream security release to address CVE-2020-24583, CVE-2020-24584. (Closes: #969367) -- Chris Lamb Tue, 01 Sep 2020 12:21:39 +0100 python-django (2:2.2.15-2) unstable; urgency=medium * Set the PYTHONPATH in the autopkgtests in the same way that we do in debian/rules. (Closes: #968577) -- Chris Lamb Mon, 17 Aug 2020 23:02:17 +0100 python-django (2:2.2.15-1) unstable; urgency=medium * New upstream bugfix release. * Move to compat level 13. -- Chris Lamb Mon, 03 Aug 2020 10:30:30 +0100 python-django (2:2.2.14-1) unstable; urgency=medium * New upstream bugfix release. * Refresh patches. -- Chris Lamb Wed, 01 Jul 2020 15:23:50 +0100 python-django (2:2.2.13-2) unstable; urgency=medium * Backport a regression in the handling of CVE-2020-13254. -- Chris Lamb Fri, 12 Jun 2020 11:08:07 +0100 python-django (2:2.2.13-1) unstable; urgency=medium * New upstream security release. * Drop from debian/source/include-binaries the file debian/patches/0006-Fixed-a-missing-pyc-test-file-in-source-distribution.patch. -- Chris Lamb Wed, 03 Jun 2020 20:41:57 +0100 python-django (2:2.2.12-1) unstable; urgency=medium * New upstream release. -- Chris Lamb Wed, 01 Apr 2020 10:43:19 +0100 python-django (2:2.2.11-1) unstable; urgency=medium [ Chris Lamb ] * New upstream security release. (Closes: #953102) [ Mattia Rizzolo ] * Add a Breaks against python3-django-filters (<< 2.1.0). * Mark python-django-doc as Multi-Arch:foreign (via the Multi-Arch hinter). -- Chris Lamb Wed, 04 Mar 2020 08:01:27 -0800 python-django (2:2.2.10-1) unstable; urgency=medium * New upstream security release. (Closes: #950581) * Bump Standards-Version to 4.5.0. -- Chris Lamb Tue, 04 Feb 2020 17:19:01 +0100 python-django (2:2.2.9-2) unstable; urgency=medium * Add python3-selenium to test-dependencies and to a runtime "Suggests". (Closes: #947549) -- Chris Lamb Sat, 28 Dec 2019 11:11:37 +0000 python-django (2:2.2.9-1) unstable; urgency=medium * New upstream security release. (Closes: #946937) -- Chris Lamb Sat, 28 Dec 2019 11:11:32 +0000 python-django (2:2.2.8-1) unstable; urgency=medium * New upstream security release. -- Chris Lamb Mon, 02 Dec 2019 12:36:34 +0000 python-django (2:2.2.7-1) unstable; urgency=medium [ Chris Lamb ] * New upstream bugfix release. [ Ondřej Nový ] * Bump Standards-Version to 4.4.1. -- Chris Lamb Mon, 04 Nov 2019 10:59:01 -0800 python-django (2:2.2.6-1) unstable; urgency=medium * New upstream bugfix release. -- Chris Lamb Tue, 01 Oct 2019 10:44:50 +0100 python-django (2:2.2.5-1) unstable; urgency=medium * New upstream bugfix release. -- Chris Lamb Mon, 02 Sep 2019 14:07:48 +0100 python-django (2:2.2.4-1) unstable; urgency=medium * New upstream security release. (Closes: #934026) -- Chris Lamb Mon, 02 Sep 2019 14:02:43 +0100 python-django (2:2.2.3-5) unstable; urgency=medium [ Chris Lamb ] * Drop Pre-Depends on version of dpkg that is now satisfied in oldoldstable. [ Ondřej Nový ] * Bump Standards-Version to 4.4.0 -- Chris Lamb Wed, 24 Jul 2019 11:36:15 -0300 python-django (2:2.2.3-4) unstable; urgency=medium * Fixup debian/python-django-doc.doc-base to refer to the new location(s) of the documentation. (Closes: #931652) -- Chris Lamb Mon, 08 Jul 2019 21:49:47 -0300 python-django (2:2.2.3-3) unstable; urgency=medium * python3-mysqlclient 1.3.13 or newer is now required so add a "Breaks" on versions older than this. Thanks to Zhang Jingqiang for the report. (Closes: #931592) * Drop "Python 3 version" from package description; we only have this version now. * Run `wrap-and-sort -sa`. -- Chris Lamb Mon, 08 Jul 2019 09:57:25 -0300 python-django (2:2.2.3-2) unstable; urgency=medium * Upload (Python 3.x-only) branch to unstable after the release of Debian "buster". * Update debian/gbp.conf to refer to debian/sid after merge. -- Chris Lamb Sun, 07 Jul 2019 11:59:04 -0300 python-django (2:2.2.3-1) experimental; urgency=medium * New upstream security release. (Closes: #931316) -- Chris Lamb Mon, 01 Jul 2019 16:56:16 -0300 python-django (2:2.2.1-1) experimental; urgency=medium * New upstream bugfix release. -- Chris Lamb Wed, 01 May 2019 10:53:33 +0100 python-django (2:2.2-1) experimental; urgency=medium * New upstream realease. -- Chris Lamb Mon, 01 Apr 2019 21:45:56 +0200 python-django (2:2.2~rc1-1) experimental; urgency=medium * New upstream release candidate release. * Drop a test that fails with "OverflowError: timestamp out of range for platform time_t" on 32-bit platforms. (Closes: #924784) -- Chris Lamb Mon, 18 Mar 2019 10:30:05 -0400 python-django (2:2.2~beta1-1) experimental; urgency=medium * New upstream beta release. -- Chris Lamb Mon, 11 Feb 2019 14:47:30 +0100 python-django (2:2.2~alpha1-1) experimental; urgency=medium * New upstream alpha release. -- Chris Lamb Thu, 17 Jan 2019 18:19:06 +0000 python-django (2:2.1.5-1) experimental; urgency=medium * New upstream security release: - CVE-2019-3498: Content spoofing possibility in the default 404 page. (Closes: #918230) * Drop 0007-Fixed-29182-Adjusted-SQLite-schema-table-alteration-.patch; applied upstream. (re. #915626) * Move to debhelper-compat virtual package. * debian/control: - Bump debhelper compatibility level to 12. - Bump Standards-Version to 4.3.0. -- Chris Lamb Fri, 04 Jan 2019 18:49:35 +0100 python-django (2:2.1.4-2) experimental; urgency=medium * Apply patch from upstream to fix compatibility with SQLite 3.26. (Closes: #915626) -- Chris Lamb Fri, 07 Dec 2018 13:53:33 +0100 python-django (2:2.1.4-1) experimental; urgency=medium * New upstream bugfix release: * Refresh patches. -- Chris Lamb Mon, 03 Dec 2018 22:57:24 +0100 python-django (2:2.1.3-1) experimental; urgency=medium * New upstream bugfix release. -- Chris Lamb Thu, 01 Nov 2018 15:39:14 +0000 python-django (2:2.1.2-2) experimental; urgency=medium * Default to supporting Spatialite >= 4.2. (Closes: #910240) * debian/control: Update libgdal's SONAME in Suggests. * Add libsqlite3-mod-spatialite to Suggests. -- Chris Lamb Thu, 04 Oct 2018 10:22:37 +0100 python-django (2:2.1.2-1) experimental; urgency=medium * New upstream security release. CVE-2018-16984: Password hash disclosure to "view only" admin users. If an admin user has the change permission to the user model, only part of the password hash is displayed in the change form. Admin users with the view (but not change) permission to the user model were displayed the entire hash. While it's typically infeasible to reverse a strong password hash, if a site uses weaker password hashing algorithms such as MD5 or SHA1, it could be a problem. (Closes: #910016) * Move all documentation to /usr/share/doc. * Really remove all license files (eg. LICENSE-SELECT2.md). * debian/tests/control: Drop deprecated needs-recommends test restriction. -- Chris Lamb Mon, 01 Oct 2018 14:23:27 +0100 python-django (2:2.1.1-1) experimental; urgency=medium * New upstream bugfix release. * Bump Standards-Version to 4.2.1. -- Chris Lamb Sat, 01 Sep 2018 09:28:27 +0100 python-django (2:2.1-1) experimental; urgency=medium * New upstream release. - CVE-2018-14574: Open redirect possibility in CommonMiddleware. (Closes: #905216) -- Chris Lamb Wed, 01 Aug 2018 22:59:20 +0800 python-django (2:2.1~rc1-1) experimental; urgency=medium * New upstream RC release. * Bump Standards-Version to 4.1.5. -- Chris Lamb Thu, 19 Jul 2018 12:11:45 +0800 python-django (2:2.1~beta1-1) experimental; urgency=medium * New upstream beta release. (Closes: #901526) . * Patches: - Drop 0006-Fixed-a-missing-pyc-test-file-in-source-distribution.patch; applied upstream. - Refresh all patches. - Set gbp-pq's --abbrev's default to 12 in gbp.conf. * Drop "old" X-Python-Version header in debian/control. * debian/rules: - Also remove LICENSE.md files. - Delete all extra license files, not just the ones in the main package. - Move dropping of extra license files to dh_installdocs. -- Chris Lamb Tue, 19 Jun 2018 09:10:39 +0200 python-django (2:2.1~alpha1-1) experimental; urgency=medium * New upstream alpha release. . - Refresh 0002-use_debian_geoip_database_as_default.diff. -- Chris Lamb Fri, 18 May 2018 10:52:01 +0200 python-django (2:2.0.5-1) experimental; urgency=medium * New upstream bugfix release . - Rebase and refresh patches. * Bump Standards-Version to 4.1.4. -- Chris Lamb Wed, 02 May 2018 09:30:23 -0700 python-django (2:2.0.4-1) experimental; urgency=medium * New upstream bugfix release . * Update Vcs-Git and Vcs-Browser to salsa. * Bump debhelper compatibility level to 11. * Drop debian/python-django-doc.examples. -- Chris Lamb Tue, 03 Apr 2018 09:29:46 +0100 python-django (2:2.0.3-1) experimental; urgency=medium * New upstream security release: - CVE-2018-7536: Denial-of-service possibility in urlize and urlizetrunc template filters. - CVE-2018-7537: Denial-of-service possibility in truncatechars_html and truncatewords_html template filters -- Chris Lamb Tue, 06 Mar 2018 22:19:24 -0800 python-django (2:2.0.2-1) experimental; urgency=medium * New upstream security release: - CVE-2018-6188: A regression in Django 1.11.8 made django.contrib.auth.forms.AuthenticationForm run its confirm_login_allowed() method even if an incorrect password is entered. This can leak information about a user, depending on what messages confirm_login_allowed() raises. If confirm_login_allowed() isn't overridden, an attacker enter an arbitrary username and see if that user has been set to is_active=False. If confirm_login_allowed() is overridden, more sensitive details could be leaked. * Use HTTPS Format: URI in debian/copyright. -- Chris Lamb Thu, 01 Feb 2018 17:57:13 +0000 python-django (2:2.0.1-1) experimental; urgency=medium * New upstream bugfix release. * Bump Standards-Version to 4.1.3. -- Chris Lamb Tue, 02 Jan 2018 10:53:43 +0000 python-django (2:2.0-1) experimental; urgency=medium * New upstream stable release. https://docs.djangoproject.com/en/2.0/releases/2.0/ -- Chris Lamb Sat, 02 Dec 2017 18:36:33 +0000 python-django (1:2.0~rc1-1) experimental; urgency=medium * New upstream release candidate. * Drop trailing whitespace in debian/changelog. -- Chris Lamb Thu, 16 Nov 2017 09:55:14 +0900 python-django (1:2.0~beta1-1) experimental; urgency=medium * New upstream beta release of Django 2.0. * debian/watch: - Use HTTPS URI to avoid debian-watch-uses-insecure-uri warning. - uversionmangle alpha releases prefixed with "a" (eg. 2.0a1 → 2.0~alpha1) * Bump Standards-Version to 4.1.1. -- Chris Lamb Mon, 16 Oct 2017 23:26:52 -0400 python-django (1:2.0~alpha1-2) experimental; urgency=medium New upstream alpha release of Django 2.0. * Drop Python 2.x support: - Remove python-django and python-django-common binary packages and splitting logic. - Drop our local debian/django-admin wrapper, making /usr/bin/django-admin a symlink to the version under dist-packages. - Consolidate a number of files under debian/. - Simplify autopkgtests to reflect lack of Python 2.x support. * deban/control: - Add Replaces/Breaks on python-django and python-django-common. - Add Replaces/Breaks/Provodes on python-django-common. - Bump X-Python-Version to 3.5. - Bump Standards-Version to 4.1.0. - Move python-doc Depends to python3-doc. - Drop extra whitespaces. - Move sphinx-doc Build-Dependency to python3-sphinx. * debian/rules: - Correct find(1) call to delete all license files. - Drop explicitly excluding .js and objects.inv files; this is done by dh_compress now. - Be explicit when removing embedded Javascript libraries. * debian/patches/*: - Update 0002-use_debian_geoip_database_as_default.diff to reflect new location of base.py. - Drop 0003-Fixed-test_middleware_classes_headers-if-Django-sour.patch; merged upstream. - Refresh 0004-Use-locally-installed-documentation-sources.patch. - Ensure the default shebang for new projects uses Python 3.x. - Make patches "pq import -> pq export clean". * Lintian: - Add "python-script-but-no-python-dep" override for "manage.py-tpl". This is not a true Python script, it's a template only. - Add source overrides for "source-contains-prebuilt-javascript-object" files under django/contrib/admin/static/admin/js. These are not bugs and/or upstream will not remove them from the orig tarball anyway. - Add overrides for "no-upstream-changelog"; we ship upstream's excellent release notes in the python-django-doc package. - Drop unnecessary overrides. -- Chris Lamb Tue, 26 Sep 2017 18:01:30 +0100 python-django (1:1.11.22-1) unstable; urgency=medium * New upstream security release. (Closes: #931316) -- Chris Lamb Mon, 01 Jul 2019 17:09:52 -0300 python-django (1:1.11.21-1) unstable; urgency=medium * New upstream security release. - CVE-2019-12308: XSS in Django admin via AdminURLFieldWidget (Closes: #929927) -- Luke W Faraone Wed, 05 Jun 2019 00:07:07 +0000 python-django (1:1.11.20-1) unstable; urgency=medium * New upstream security release. - CVE-2019-6975: Fix memory exhaustion in utils.numberformat.format(). (Closes: #922027) -- Chris Lamb Mon, 11 Feb 2019 19:08:53 +0100 python-django (1:1.11.18-1) unstable; urgency=medium * New upstream security release: - CVE-2019-3498: Content spoofing possibility in the default 404 page. (Closes: #918230) * Move to debhelper-compat virtual package. * Bump debhelper compatibility level to 12. * Bump Standards-Version to 4.3.0. * 0007-Fixed-29182-Adjusted-SQLite-schema-table-.patch: Fix grammar/spelling error in upstream patch. -- Chris Lamb Fri, 04 Jan 2019 18:23:06 +0100 python-django (1:1.11.17-2) unstable; urgency=medium * Backport patch from upstream to fix compatibility with SQLite 3.26. (Closes: #915626) -- Chris Lamb Fri, 07 Dec 2018 14:14:22 +0100 python-django (1:1.11.17-1) unstable; urgency=medium * New upstream bugfix release. - https://docs.djangoproject.com/en/stable/releases/1.11.17/ * Drop patches that have been applied upstream: - 0005-Fix-SyntaxError-Generator-expression-must-be-parenth.patch, - 0007-Refs-28814-Fixed-migrations-crash-with-namespace-pac.patch - 0008-Refs-28814-Fixed-test_runner-failure-on-Python-3.7.patch -- Chris Lamb Mon, 03 Dec 2018 22:34:53 +0100 python-django (1:1.11.16-4) unstable; urgency=medium * Cherry-pick two patches from upstream to fix test failures under Python 3.7. Thanks to Gaudenz Steinlin for the in-depth investigation. (Closes: #891753) * Add libsqlite3-mod-spatialite to Build-Depends to ensure we test our patch for Spatialite 4.2 introduced as part of the fix for #910240. -- Chris Lamb Sun, 02 Dec 2018 23:13:07 +0100 python-django (1:1.11.16-3) unstable; urgency=medium * Default to supporting Spatialite >= 4.2. (Closes: #910240) * debian/control: - Update libgdal's SONAME in Suggests. - Add libsqlite3-mod-spatialite to Suggests. -- Chris Lamb Thu, 04 Oct 2018 10:38:34 +0100 python-django (1:1.11.16-2) unstable; urgency=medium * Fix broken contrib/admin/static/admin/{img,fonts}/README.txt symlinks. (Closes: #910120) * debian/rules: - Rename PREFIX -> PREFIX2 variable for clarity. - Use variables for the Python 2.x and 3.x "dist-packages" directories. -- Chris Lamb Thu, 04 Oct 2018 09:31:33 +0100 python-django (1:1.11.16-1) unstable; urgency=medium * New upstream bugfix release: - Fix a race condition in QuerySet.update_or_create() that could result in data loss. * debian/tests/control: Drop deprecated needs-recommends test restriction. * Move "fonts" and "img" README documentation to /usr/share/doc. * Bump Standards-Version to 4.2.1. -- Chris Lamb Mon, 01 Oct 2018 13:39:15 +0100 python-django (1:1.11.15-1) unstable; urgency=medium * New upstream security release. - CVE-2018-14574: Open redirect possibility in CommonMiddleware. (Closes: #905216) -- Chris Lamb Wed, 01 Aug 2018 23:06:03 +0800 python-django (1:1.11.14-1) unstable; urgency=medium * New upstrem bugfix release. -- Chris Lamb Mon, 02 Jul 2018 17:49:29 +0100 python-django (1:1.11.13-2) unstable; urgency=medium [ Chris Lamb ] * Fix "SyntaxError: Generator expression must be parenthesized with python3.7". (Closes: #902761) [ Ondřej Nový ] * d/control: Remove ancient X-Python-Version field -- Chris Lamb Sat, 30 Jun 2018 19:37:08 +0100 python-django (1:1.11.13-1) unstable; urgency=medium [ Chris Lamb ] * New upstream bugfix release. . * Bump Standards-Version to 4.1.4. [ Ondřej Nový ] * d/tests: Use AUTOPKGTEST_TMP instead of ADTTMP -- Chris Lamb Wed, 02 May 2018 08:51:18 -0700 python-django (1:1.11.12-1) unstable; urgency=medium * New upstream bugfix release . * Bump debhelper compatibility level to 11. * Drop debian/python-django-doc.examples. * python-django-doc.doc-base: Update locations of documentation files as they are installed to /usr/share/doc/python-django, not [...]/python-django-doc. -- Chris Lamb Tue, 03 Apr 2018 09:51:51 +0100 python-django (1:1.11.11-1) unstable; urgency=medium [ Chris Lamb ] * New upstream security release: - CVE-2018-7536: Denial-of-service possibility in urlize and urlizetrunc template filters. - CVE-2018-7537: Denial-of-service possibility in truncatechars_html and truncatewords_html template filters [ Ondřej Nový ] * d/control: Set Vcs-* to salsa.debian.org -- Chris Lamb Tue, 06 Mar 2018 22:44:12 -0800 python-django (1:1.11.10-1) unstable; urgency=medium * New upstream security release: - CVE-2018-6188: A regression in Django 1.11.8 made django.contrib.auth.forms.AuthenticationForm run its confirm_login_allowed() method even if an incorrect password is entered. This can leak information about a user, depending on what messages confirm_login_allowed() raises. If confirm_login_allowed() isn't overridden, an attacker enter an arbitrary username and see if that user has been set to is_active=False. If confirm_login_allowed() is overridden, more sensitive details could be leaked. * Use HTTPS "Format" URI in debian/copyright. -- Chris Lamb Thu, 01 Feb 2018 17:42:06 +0000 python-django (1:1.11.9-1) unstable; urgency=medium * New upstream bugfix release. * Bump Standards-Version to 4.1.3. * Update debian/python-django-common.lintian-overrides for updated Lintian output. -- Chris Lamb Tue, 02 Jan 2018 11:12:54 +0000 python-django (1:1.11.7-1) unstable; urgency=medium * New upstream bugfix release. * debian/watch: Only match 1.x versions on this branch. -- Chris Lamb Thu, 02 Nov 2017 07:47:22 +0100 python-django (1:1.11.6-2) unstable; urgency=medium * Add Breaks: openstack-dashboard (<< 3:12) to ensure this package gets upgraded (etc.) first. The version in experimental (3:12.x) is supposed to work with the newer python-django. (Closes: #880409) * wrap-and-sort -sa. * Use HTTPS URI in debian/watch. * Tidy whitespace in debian/changelog. -- Chris Lamb Wed, 01 Nov 2017 11:35:53 +0100 python-django (1:1.11.6-1) unstable; urgency=medium * New upstream bugfix release. * Build documentation using the Python 3 version of Sphinx to ease the Python 2.x migration. -- Chris Lamb Fri, 06 Oct 2017 15:45:44 +0100 python-django (1:1.11.5-2) unstable; urgency=medium * Fix QuerySet.defer() with super and subclass fields. (Closes: #876816) * Use --abbrev=7 when using git pq export. -- Chris Lamb Tue, 26 Sep 2017 17:51:23 +0100 python-django (1:1.11.5-1) unstable; urgency=medium * CVE-2017-12794: New upstream security release. (Closes: #874415) -- Chris Lamb Tue, 05 Sep 2017 21:39:37 +0100 python-django (1:1.11.4-1) unstable; urgency=medium * New upstream bugfix release. -- Chris Lamb Tue, 01 Aug 2017 14:27:31 -0400 python-django (1:1.11.3-1) unstable; urgency=medium [ Chris Lamb ] * New upstream bugfix release. - Drop 0003-Fixed-test_middleware_classes_headers-if-Django-sour.patch as it was merged upstream. * Check DEB_BUILD_PROFILES consistently, not DEB_BUILD_OPTIONS. [ Brian May ] * Use locally installed intersphinx mapping sources. (Closes: #852512) -- Chris Lamb Sun, 02 Jul 2017 15:56:22 +0100 python-django (1:1.11.2-2) unstable; urgency=medium * Upload (LTS) release to unstable. - Incorporate Python 3.6 compatibility. (Closes: #865053) * Use !nocheck profile for build dependencies that are only required for tests. * Move to debhelper compatibility level 10. * Bump Standards-Version to 4.0.0. * wrap-and-sort -sa. -- Chris Lamb Mon, 19 Jun 2017 11:27:46 +0800 python-django (1:1.11.2-1) experimental; urgency=medium [ Chris Lamb ] * New upstream minor release. * Backport patch from to prevent test_middleware_classes_headers from failing if the Django source is not writable. This should fix the autopkgtests. (Closes: #816435) * Refresh all patches with ``pq import && pq export --renumber``. [ Raphaël Hertzog ] * Update README.source and debian/gbp.conf. * Document a minimal Django packaging policy in README.Django-packaging-policy. (Closes: #863514) * Remove README.Debian which contained only outdated information. * Drop FastCGI initscript, it's obsolete, WSGI is required nowadays. * Drop migrate-south helper script as south is gone for a long time already. * Add same documentation in python3-django as in python-django. (Closes: #831838) -- Chris Lamb Fri, 02 Jun 2017 09:38:16 +0100 python-django (1:1.11.1-3) experimental; urgency=medium * Really add Build-Depends on libgdal-dev. -- Chris Lamb Sat, 06 May 2017 20:32:33 +0200 python-django (1:1.11.1-2) experimental; urgency=medium * Add missing Build-Depends on libgdal-dev due to new GIS tests. -- Chris Lamb Sat, 06 May 2017 19:18:47 +0200 python-django (1:1.11.1-1) experimental; urgency=medium * New upstream minor release. -- Chris Lamb Sat, 06 May 2017 16:33:25 +0200 python-django (1:1.11-1) experimental; urgency=medium * New upstream stable release. (Closes: #859515, #859516) -- Chris Lamb Wed, 05 Apr 2017 09:54:00 +0200 python-django (1:1.11~rc1-1) experimental; urgency=medium * New upstream beta release. -- Chris Lamb Wed, 22 Mar 2017 20:53:02 +0000 python-django (1:1.11~beta1-1) experimental; urgency=medium * New upstream beta release. * Update debian/gbp.conf. * Drop taskset calls when running testsuite now that has been resolved. -- Chris Lamb Wed, 22 Feb 2017 07:43:29 +0800 python-django (1:1.11~alpha1-1) experimental; urgency=medium * New upstream alpha release. * Match/mangle upstream versions using (eg.) "b1" instead of "beta1" in debian/watch. * Drop now-unused source-is-missing Lintian overrides. * Limit parallelism in testsuite to avoid FTBFS. See: -- Chris Lamb Wed, 25 Jan 2017 14:30:58 +1300 python-django (1:1.10~beta1-2) experimental; urgency=medium * Need to bump Debian revision due to change of .dsc contents. -- Chris Lamb Sun, 26 Jun 2016 12:22:46 +0200 python-django (1:1.10~beta1-1) experimental; urgency=medium * New upstream beta release. -- Chris Lamb Sun, 26 Jun 2016 10:24:45 +0200 python-django (1:1.9.7-2) unstable; urgency=medium * Re-upload 1.9.7 to unstable with epoch. -- Chris Lamb Sun, 26 Jun 2016 09:58:19 +0200 python-django (1.10~beta1-1) unstable; urgency=medium [ Chris Lamb ] * New upstream beta release. * Drop fix-25761-add-traceback-attribute.patch; applied upstream. [ Raphaël Hertzog ] * Remove obsolete /etc/bash_completion.d/django_bash_completion on upgrade. Closes: #801744 -- Chris Lamb Sat, 25 Jun 2016 19:17:49 +0200 python-django (1.9.7-1) unstable; urgency=medium [ Raphaël Hertzog ] * New upstream bugfix release. * Bump python-sphinx build dependency to >= 1.3. Closes: #824108 * Drop build dependency on locales. C.UTF-8 that we currently use is part of libc-bin. [ Chris Lamb ] * Remove duplicated "of of" in python-django's README.Debian. -- Raphaël Hertzog Tue, 14 Jun 2016 00:05:22 +0200 python-django (1.9.6-1) unstable; urgency=medium * New upstream bugfix release. -- Chris Lamb Sat, 07 May 2016 07:01:17 +0100 python-django (1.9.5-2) unstable; urgency=medium * Drop the dir_to_symlink transition that was only really needed for upgrades between versions 1.9~rc2 and 1.9.4. Closes: #821789 -- Raphaël Hertzog Wed, 20 Apr 2016 17:47:05 +0200 python-django (1.9.5-1) unstable; urgency=medium * New upstream bugfix release: https://docs.djangoproject.com/en/1.9/releases/1.9.5/ * Fix the DEP-8 test suite (django-admin --with python3 failing because ./manage.py does not have a good shebang). * Update Standards-Version to 3.9.8. * Add some lintian overrides. * Tweak Vcs-Browser to use https. * Drop obsolete parts of the copyright file. -- Raphaël Hertzog Wed, 06 Apr 2016 18:05:42 +0200 python-django (1.9.4-1) unstable; urgency=high [ Luke Faraone ] * New upstream security release: https://www.djangoproject.com/weblog/2016/mar/01/security-releases/ - CVE-2016-2512: Malicious redirect and possible XSS via user-supplied redirect URLs containing basic auth - CVE-2016-2513: User enumeration through timing difference on password hasher work factor upgrade Closes: #816434 [ Raphaël Hertzog ] * Fix rules file to no longer mess with *_templates directories. They no longer contain invalid .py files but only *-tpl template files that are instantiated at runtime. -- Luke Faraone Mon, 07 Mar 2016 17:09:54 +0000 python-django (1.9.2-1) unstable; urgency=medium * New upstream security release fixing: - CVE-2016-2048: User with "change" but not "add" permission can create objects for ModelAdmin objects with save_as=True Closes: #813448 -- Raphaël Hertzog Tue, 02 Feb 2016 09:06:46 +0100 python-django (1.9.1-1) unstable; urgency=medium * New upstream release. -- Chris Lamb Mon, 04 Jan 2016 17:51:40 +0000 python-django (1.9-2) unstable; urgency=medium [ Chris Lamb ] * Use dpkg-maintscript-helper's dir_to_symlink to correctly replace the app_template and project_template symlinks added in 1.9~rc2-2. (Closes: #807683) [ Raphaël Hertzog ] * Add some DEP-8 tests testing "django-admin" and running the test suite against the installed package. In both cases, we do it with python2 and python3. * Add python-tblib and python3-tblib to Build-Depends for the benefit of the parallel testing feature of the test suite. * Add "set -e" in the command line running the tests with all supported versions so that it actually fails as soon as one version is failing (and thus disallow later successes to shadow earlier failures). -- Raphaël Hertzog Wed, 30 Dec 2015 16:44:04 +0100 python-django (1.9-1) unstable; urgency=medium * Upload to unstable * Adjust uversionmangle in debian/watch to mangle "1.9rc2" scheme (previously only "1.9-rc-2" would have matched). -- Chris Lamb Thu, 03 Dec 2015 16:48:30 +0200 python-django (1.9~rc2-2) experimental; urgency=medium * Move {app,project}_template to python-django-common to prevent byte-compilation (via pycompile) on installation, causing failure. They are not valid Python files until variables have been interpolated. -- Chris Lamb Thu, 26 Nov 2015 14:53:11 +0200 python-django (1.9~rc2-1) experimental; urgency=medium * New upstream release candidate. * Add myself to Uploaders. -- Chris Lamb Thu, 26 Nov 2015 10:14:15 +0200 python-django (1.8.7-2) unstable; urgency=high * Rely on C.UTF-8 to run the tests instead of building our locale ourselves. * Add debian/patches/fix-25761-add-traceback-attribute.patch: new patch to ensure exceptions registered in __cause__ attributes have a __traceback__ attribute. Closes: #802677 * Extend lintian overrides to cover more false positives of source-is-missing. * Cleanup debian/copyright for dropped/renamed files. * Run tests for all supported Python versions. -- Raphaël Hertzog Wed, 25 Nov 2015 16:16:10 +0100 python-django (1.8.7-1) unstable; urgency=high * New upstream security release: https://www.djangoproject.com/weblog/2015/nov/24/security-releases-issued/ It fixes: - CVE-2015-8213: settings leak possibility in date template filter -- Luke Faraone Wed, 25 Nov 2015 04:24:27 +0000 python-django (1.8.6-1) unstable; urgency=medium * New upstream bugfix release. -- Raphaël Hertzog Sun, 15 Nov 2015 18:29:11 +0100 python-django (1.8.5-2) unstable; urgency=medium * Upload to unstable. -- Raphaël Hertzog Mon, 02 Nov 2015 15:56:10 +0100 python-django (1.8.5-1) experimental; urgency=medium * New upstream bugfix release: https://www.djangoproject.com/weblog/2015/oct/03/bugfix-release-issued/ -- Raphaël Hertzog Tue, 13 Oct 2015 11:37:24 +0200 python-django (1.8.4-1) experimental; urgency=medium * New upstream security release: https://www.djangoproject.com/weblog/2015/aug/18/security-releases/ It fixes: - CVE-2015-5964: possible denial-of-service in logout() view * Update debian/copyright to copyright-format 1.0. -- Luke Faraone Wed, 19 Aug 2015 03:55:47 +0000 python-django (1.8.3-1) experimental; urgency=medium * New upstream security release: https://www.djangoproject.com/weblog/2015/jul/08/security-releases/ It fixes: - CVE-2015-5143: possible denial-of-service by filling session store - CVE-2015-5144: possible header injection since validators accept newlines in input - CVE-2015-5145: possible denial-of-service in URL validation * Drop fix-assertRaisesMessage.patch and fix-test-extended-length-storage.patch which have been merged upstream. -- Raphaël Hertzog Thu, 09 Jul 2015 01:53:02 +0200 python-django (1.8.2-1) experimental; urgency=medium * New upstream security release: https://www.djangoproject.com/weblog/2015/may/20/security-release/ * Install bash completion file into /usr/share/bash-completion/completions/ -- Raphaël Hertzog Thu, 21 May 2015 15:59:36 +0200 python-django (1.8.1-1) experimental; urgency=medium * New major upstream release: https://docs.djangoproject.com/en/1.8/releases/1.8/ https://docs.djangoproject.com/en/1.8/releases/1.8.1/ * Refresh all patches. * Drop 03_manpage.diff, merged upstream. * Clean up rules since we can use the pristine docs directory, now that they refer to django-admin and not django-admin.py * Add jinja2 and mock as build dependencies required by the test suite. * Add fix-assertRaisesMessage.patch to make the package build with python 2.7.10~rc1 which is affected by https://bugs.python.org/issue24134 * Add fix-test-extended-length-storage.patch to make the package build even when AUFS is in use (and when the max length of a filename is shorter than usual). -- Raphaël Hertzog Wed, 20 May 2015 09:54:47 +0200 python-django (1.7.10-1) unstable; urgency=medium * Fix Python 3.5 HTMLParseError issue. Closes: #800137. * New upstream version. Fixes CVE-2015-5963, CVE-2015-5964. Closes: #796104. * Add numpy 1.9 support. Closes: #801554. -- Brian May Mon, 12 Oct 2015 12:59:43 +1100 python-django (1.7.9-1) unstable; urgency=medium * New upstream security release: https://www.djangoproject.com/weblog/2015/jul/08/security-releases/ It fixes: - CVE-2015-5143: possible denial-of-service by filling session store - CVE-2015-5144: possible header injection since validators accept newlines in input -- Raphaël Hertzog Thu, 09 Jul 2015 01:33:31 +0200 python-django (1.7.7-1) unstable; urgency=high * New upstream security and bugfix release: https://www.djangoproject.com/weblog/2015/mar/18/security-releases/ It fixes: - CVE-2015-2317: possible XSS attack via user-supplied redirect URLs Closes: #780873 - CVE-2015-2316: Denial-of-service possibility with strip_tags() Closes: #780874 -- Raphaël Hertzog Mon, 23 Mar 2015 20:41:13 +0100 python-django (1.7.6-1) unstable; urgency=high * New upstream security release: https://www.djangoproject.com/weblog/2015/mar/09/security-releases/ * Fixes CVE-2015-2241: XSS attack via properties in ModelAdmin.readonly_fields -- Raphaël Hertzog Mon, 09 Mar 2015 21:40:34 +0100 python-django (1.7.5-1) unstable; urgency=medium [ Chris Lamb ] * Remove myself from Uploaders. [ Raphaël Hertzog ] * New upstream bugfix release: https://docs.djangoproject.com/en/1.7/releases/1.7.5/ -- Raphaël Hertzog Fri, 06 Mar 2015 21:13:54 +0100 python-django (1.7.4-1) unstable; urgency=medium * Release to unstable and hopefully to Jessie too. -- Raphaël Hertzog Mon, 09 Feb 2015 10:39:15 +0100 python-django (1.7.4-1~exp1) experimental; urgency=medium * New upstream bugfix release. * Drop fix-24193-python34-test-failure.diff, merged upstream. -- Raphaël Hertzog Wed, 28 Jan 2015 09:38:24 +0100 python-django (1.7.3-1~exp1) experimental; urgency=high [ Luke Faraone ] * New upstream security release. - WSGI header spoofing via underscore/dash conflation (CVE-2015-0219) - Possible XSS attack via user-supplied redirect URLs (CVE-2015-0220) - DoS attack against django.views.static.serve (CVE-2015-0221) - Database DoS with ModelMultipleChoiceField (CVE-2015-0222) Closes: #775375 [ Raphaël Hertzog ] * Add patch fix-24193-python34-test-failure.diff to fix a test failure with Python3.4. -- Raphaël Hertzog Wed, 21 Jan 2015 09:56:19 +0100 python-django (1.7.2-1) experimental; urgency=medium [ Raphaël Hertzog ] * Add geoip-database-extra as an alternative to geoip-database-contrib. [ Brian May ] * New upstream version. -- Brian May Mon, 05 Jan 2015 13:57:16 +1100 python-django (1.7.1-1) unstable; urgency=medium [ Raphaël Hertzog ] * New upstream bugfix release. * Drop 01_fix_test_loaddata_not_existant_fixture_file.patch, merged upstream. * Update Standards-Version to 3.9.6. * Add lintian overrides for package-contains-timestamped-gzip (false positive). [ Brian May ] * Fix django-admin wrapper to not even consider using python 2.6 as that version is unsupported with Django 1.7. -- Raphaël Hertzog Mon, 27 Oct 2014 16:37:41 +0100 python-django (1.7-3) unstable; urgency=medium * Add 01_fix_test_loaddata_not_existant_fixture_file.patch to fix FTBFS with Python 3.4.2. Closes: #765117 * Improve migrate-south script to look for Python files in the current dir. ./manage.py implicitely has the current directory but when we use django-admin it's not the case. Thanks to Uwe Kleine-Koenig for the report. -- Raphaël Hertzog Wed, 15 Oct 2014 10:45:27 +0200 python-django (1.7-2) unstable; urgency=medium * Release to unstable. * Add a migrate-south sample script to help users apply their South migrations. Thanks to Brian May. -- Raphaël Hertzog Wed, 17 Sep 2014 14:15:11 +0200 python-django (1.7-1) experimental; urgency=medium * New major upstream release. * Add a NEWS file to document the incompatibility with South. -- Raphaël Hertzog Mon, 08 Sep 2014 10:19:12 +0200 python-django (1.7~c3-1) experimental; urgency=medium * New upstream release candidate with security fixes: https://www.djangoproject.com/weblog/2014/aug/20/security/ -- Raphaël Hertzog Fri, 22 Aug 2014 22:50:32 +0200 python-django (1.7~c2-2) experimental; urgency=medium * Merge changes from 1.6.5-4: * Don't output stuff to stdout in django-admin. Closes: #757145 * Update Vcs-* fields since the packaging repository moved to git. -- Raphaël Hertzog Fri, 08 Aug 2014 14:26:47 +0200 python-django (1.7~c2-1) experimental; urgency=medium * New upstream release candidate. -- Raphaël Hertzog Wed, 30 Jul 2014 20:47:10 +0200 python-django (1.7~c1+20140722-2) experimental; urgency=medium * Move django-admin manual page in python-django-common. Bump version constraint in Breaks/Replaces accordingly. * Drop conflicting django-admin in python-django and python3-django that were not removed as usual because upstream stopped installing them as django-admin.py. * Drop extra license files. * Fix shebang lines in python3-django. * Drop empty left-over /usr/bin directories in python-django/python3-django. -- Raphaël Hertzog Tue, 22 Jul 2014 23:29:30 +0200 python-django (1.7~c1+20140722-1) experimental; urgency=medium * New upstream release candidate. We want this version in jessie so we should prepare now. * Snapshot tarball generated with "python setup.py sdist" after having applied fix submitted in https://code.djangoproject.com/ticket/23072 * Added python-sqlparse, python-tz to Recommends * Added other optional dependencies (python-memcache, python-pil, python-bcrypt) to Suggests * Add all those dependencies in Build-Depends for the benefit of the test suite. * Run the test suite for python2 and python3. * Differentiate descriptions of python2 and python3 packages. -- Raphaël Hertzog Mon, 21 Jul 2014 21:57:07 +0200 python-django (1.6.6-1) unstable; urgency=high * New upstream security release. - reverse() can generate URLs pointing to other hosts (CVE-2014-0480) - file upload denial of service (CVE-2014-0481) - RemoteUserMiddleware session hijacking (CVE-2014-0482) - data leakage via querystring manipulation in admin (CVE-2014-0483) [ Brian May ] * Don't output stuff to stdout in django-admin. Closes: #757145 [ Raphaël Hertzog ] * Update Vcs-* fields since the packaging repository moved to git. -- Luke Faraone Wed, 20 Aug 2014 19:30:21 -0700 python-django (1.6.5-3) unstable; urgency=low * Replace django-admin with script that can be run as python and shell. This means we can autodetect which python version to use when run as shell, while maintaining compatability with processes that try to run it with a specific python version. e.g. See bugs #755341 and #755321. -- Brian May Mon, 21 Jul 2014 10:18:39 +1000 python-django (1.6.5-2) unstable; urgency=low * python3-django package. Closes: #736878. -- Brian May Tue, 24 Jun 2014 10:51:47 +1000 python-django (1.6.5-1) unstable; urgency=high * New upstream security release. - Caches may be allowed to store and serve private data (CVE-2014-1418) - Malformed URLs from user input incorrectly validated * Drop partial_functions_reverse.patch (merged upstream). -- Raphaël Hertzog Wed, 14 May 2014 22:49:59 +0200 python-django (1.6.3-2) unstable; urgency=high * Fix regression of reverse() and partial views. (LP: #1311433) Thanks Preston Timmons. -- Luke Faraone Tue, 22 Apr 2014 20:44:18 -0700 python-django (1.6.3-1) unstable; urgency=high * New upstream security release. - Unexpected code execution using ``reverse()`` - CVE-2014-0472 - Caching of anonymous pages could reveal CSRF token - CVE-2014-0473 - MySQL typecasting could result in unexpected matches - CVE-2014-0474 * Drop patches 07_translation_encoding_fix and ticket21869.diff; merged upstream -- Luke Faraone Mon, 21 Apr 2014 16:47:14 -0700 python-django (1.6.1-2) unstable; urgency=medium * Team upload. * d/patches/ticket21869.diff: Cherry pick upstream fix for building documentation against Sphinx 1.2.1. -- Barry Warsaw Wed, 29 Jan 2014 18:37:51 +0000 python-django (1.6.1-1) unstable; urgency=medium * New upstream version. * Fix broken encoding in translations attribution. (Closes: #729194) -- Luke Faraone Thu, 12 Dec 2013 15:46:01 -0500 python-django (1.6-1) unstable; urgency=low * New upstream version. Closes: #557474, #724637. * python-django now also suggests the installation of ipython, bpython, python-django-doc, and libgdal1. Closes: #636511, #686333, #704203 * Set package maintainer to Debian Python Modules Team. * Bump standards version to 3.9.5, no changes needed. -- Luke Faraone Thu, 07 Nov 2013 15:33:49 -0500 python-django (1.5.4-1) unstable; urgency=high * New upstream security release. Fixes CVE-2013-1443. Closes: #723043. https://www.djangoproject.com/weblog/2013/sep/15/security/ - Denial-of-service via large passwords. CVE-2013-1443 -- Luke Faraone Sun, 15 Sep 2013 15:50:10 -0400 python-django (1.5.3-1) unstable; urgency=high * New upstream security release. Fixes CVE-2013-4315. Closes: #722605 https://www.djangoproject.com/weblog/2013/sep/10/security-releases-issued/ - Directory traversal with ssi template tag * Update doc-base file to drop some removed directory in the HTML doc. * Update Standards-Version to 3.9.4. * Bump debhelper compat level to 9. -- Raphaël Hertzog Fri, 13 Sep 2013 00:05:19 +0200 python-django (1.5.2-1) unstable; urgency=high * New upstream security release. https://www.djangoproject.com/weblog/2013/aug/13/security-releases-issued/ - Cross-site scripting (XSS) in admin interface - Possible XSS via is_safe_url -- Luke Faraone Tue, 13 Aug 2013 16:49:39 -0400 python-django (1.5.1-2) unstable; urgency=low [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. [ Luke Faraone ] * Upload to unstable. -- Luke Faraone Thu, 09 May 2013 15:10:47 -0400 python-django (1.5.1-1) experimental; urgency=low * New upstream release. * Add self to uploaders field. -- Luke Faraone Thu, 28 Mar 2013 17:17:10 -0400 python-django (1.5-1) experimental; urgency=low * New upstream release. Closes: #646634, #663230, #436983 -- Luke Faraone Fri, 22 Mar 2013 17:52:30 -0400 python-django (1.4.5-1) unstable; urgency=high * New upstream maintenance release dropping some undesired .pyc files and fixing a documentation link. * High urgency due to former security updates. -- Raphaël Hertzog Sun, 24 Feb 2013 10:28:08 +0100 python-django (1.4.4-1) unstable; urgency=low * New upstream security and maintenance release. Closes: #701186 https://www.djangoproject.com/weblog/2013/feb/19/security/ Fixes mulptiple security issues: - Further fixes for Host header poisoning. CVE-2012-4520 - XML attacks via entity expansion. CVE-2013-1665 - Data leakage via admin history log. CVE-2013-0305 - Formset denial-of-service. CVE-2013-0306 * Add gettext to Suggests since it's required for django-admin compilemessages / makemessages. Closes: #700483 -- Raphaël Hertzog Sat, 23 Feb 2013 09:33:13 +0100 python-django (1.4.3-1) unstable; urgency=high * New upstream security and maintenance release. Closes: #696535 https://www.djangoproject.com/weblog/2012/dec/10/security/ * Drop debian/patches/01_fix-self-tests.diff, merged upstream. -- Raphaël Hertzog Wed, 26 Dec 2012 15:49:32 +0100 python-django (1.4.2-2) unstable; urgency=low * Don't fail self-tests if MANAGERS or ADMINS is defined in settings.py. Add upstream patch debian/patches/01_fix-self-tests.diff. Thanks to Jamie Strandboge for the report. Closes: #693752 LP: #1080204 -- Raphaël Hertzog Tue, 20 Nov 2012 08:28:37 +0100 python-django (1.4.2-1) unstable; urgency=high * New upstream security and maintenance release. Closes: #691145 Fixes: CVE-2012-4520 * Drop 01_use_stdlib_htmlparser_when_possible.diff which has been merged upstream. -- Raphaël Hertzog Mon, 22 Oct 2012 10:53:30 +0200 python-django (1.4.1-2) unstable; urgency=low * New patch 01_use_stdlib_htmlparser_when_possible.diff to not override Python stdlib's HTMLParser with Python versions which are unaffected by http://bugs.python.org/issue670664 Closes: #683648 Thanks to David Watson for the patch. * Update the above patch to use the version committed upstream (commit 57d9ccc). -- Raphaël Hertzog Tue, 21 Aug 2012 08:42:10 +0200 python-django (1.4.1-1) unstable; urgency=low * New upstream security and maintenance release. Closes: #683364 Fixes: CVE-2012-3442 CVE-2012-3443 CVE-2012-3444 * Drop 01_disable_broken_test.diff and 04_hyphen-manpage.diff which have been merged upstream. -- Raphaël Hertzog Thu, 02 Aug 2012 10:44:02 +0200 python-django (1.4-1) unstable; urgency=low * New upstream release. Closes: #666003 * Fix watch file to correctly extract the version number from the URL. * Updated Standards-Version to 3.9.3 (no change needed). * Drop 01_disable_url_verify_regression_tests.diff since upstream test suite has been modified to work even without internet connection. * Update 04_hyphen-manpage.diff to apply again. * Drop 05_fix_djangodocs_sphinx_ext.diff which has been merged upstream. * Update 06_use_debian_geoip_database_as_default.diff to apply on renamed file. * Drop 07_fix_for_sphinx1.1.2.diff merged upstream. * Drop 08_fix_test_week_view_allow_future.diff, merged upstream. * Add 01_disable_broken_test.diff to disable a test that fails with the current python 2.7 version in Debian. -- Raphaël Hertzog Sat, 31 Mar 2012 14:48:00 +0200 python-django (1.3.1-4) unstable; urgency=medium * Add 08_fix_test_week_view_allow_future.diff to fix a regression test that only worked in 2011. Closes: #655666 -- Raphaël Hertzog Tue, 17 Jan 2012 08:55:58 +0100 python-django (1.3.1-3) unstable; urgency=low * Add 06_use_debian_geoip_database_as_default.diff to use the default location of the GeoIP database used by the Debian package geoip-database-contrib. Closes: #645094 Add this package to suggests. Thanks to Tapio Rantala for the patch. * Bump build-dep on python-sphinx to 1.0.8 to ensure we have a version where #641710 is fixed. Closes: #647134 * Add 07_fix_for_sphinx1.1.2.diff to fix build with Sphinx 1.1.2. Thanks to Jakub Wilk for the advance warning. Closes: #649624 -- Raphaël Hertzog Mon, 28 Nov 2011 09:03:13 +0100 python-django (1.3.1-2) unstable; urgency=low * Update Build-Depends on locales to included a version requirement so that locales-all cannot satisfy it with its Provides: locales. Thanks to Jakub Wilk for the suggestion. * Enable 02_disable-sources-in-sphinxdoc.diff since #641710 has been fixed. * Add 05_fix_djangodocs_sphinx_ext.diff to support Sphinx 1.0.8. Closes: #643758 -- Raphaël Hertzog Wed, 12 Oct 2011 08:45:26 +0200 python-django (1.3.1-1) unstable; urgency=low * New upstream release. It includes security updates described here: https://www.djangoproject.com/weblog/2011/sep/09/security-releases-issued/ Closes: #641405 * Update 01_disable_url_verify_regression_tests.diff and merge 07_disable_url_verify_model_tests.diff into it. * Update patch headers to conform to DEP-3. * Apply patch from Steve Langasek to dynamically build the UTF-8 locale required by the test-suite instead of build-depending on locales-all. Closes: #630421 * Use "dh --with sphinxdoc" to clean up the Sphinx generated documentation and avoid the embedded-javascript-library lintian warning. Build-Depends on python-sphinx >= 1.0.7+dfsg-1 for this and also add ${sphinxdoc:Depends} to python-django-doc Depends field. * Cleanup build-dependencies now that even oldstable has python 2.5. * Switch to dh_python2 as python helper tool. Drop legacy files debian/pyversions and debian/pycompat. * New patch 02_disable-sources-in-sphinxdoc.diff to not generate the _sources directory that we used to remove manually within the rules file. But must be kept disabled until #641710 is fixed. * Properly support DEB_BUILD_OPTIONS=nocheck despite the override of dh_auto_test. -- Raphaël Hertzog Thu, 15 Sep 2011 12:43:51 +0200 python-django (1.3-2) unstable; urgency=low * Team upload. [ Chris Lamb ] * Don't remove "backup~" test file - upstream did ship it; we were just removing it with dh_clean. [ Piotr Ożarowski ] * Fix builds with non-default Python versions installed * Bump Standards-Version to 3.9.2 (no changes needed) -- Piotr Ożarowski Mon, 02 May 2011 22:23:37 +0200 python-django (1.3-1) unstable; urgency=low * New upstream release. - Update 01_disable_url_verify_regression_tests.diff. - Update 07_disable_url_verify_model_tests.diff. - Merge patch from Krzysztof Klimonda to disable more network access tests. (Closes: #598674) * Add workaround for missing "backup~" file in release tarball. See . -- Chris Lamb Thu, 24 Mar 2011 15:04:53 +0000 python-django (1.2.5-1) unstable; urgency=low * New upstream release. * Do not compress objects.inv used by Sphinx generated documentation. Thanks to Michael Fladischer for the report. Closes: #608769 -- Raphaël Hertzog Sat, 12 Feb 2011 08:59:33 +0100 python-django (1.2.4-1) unstable; urgency=high * New bugfix-only upstream release. It includes security fixes. http://www.djangoproject.com/weblog/2010/dec/22/security/ * Drop patches merged upstream: - debian/patches/05_fix_regression_tests.diff - debian/patches/06_fix_regression_tests.diff * Update 01_disable_url_verify_regression_tests.diff to cope with the updated regressions tests. * Update 03_manpage.diff and 04_hyphen-manpage.diff to cope with changes in the manual page. -- Raphaël Hertzog Fri, 31 Dec 2010 11:40:28 +0100 python-django (1.2.3-2) unstable; urgency=low * Team upload. * Disable model tests that require an internet connection. Closes: #601070 * Include python.mk conditionally as explained in its header. Helps backports to Lenny which has no python.mk. Closes: #601608 -- Evgeni Golov Thu, 28 Oct 2010 12:37:15 +0200 python-django (1.2.3-1) unstable; urgency=low [ Krzysztof Klimonda ] * New upstream release. Closes: #596893 LP: #636482 * Fixes both a XSS vulnerability introduced in 1.2 series and the regressions caused by 1.2.2 release. Closes: #596205 * debian/control: - depend on language packs for en_US.utf8 locales required for unit tests. * debian/rules: - re-enable build time tests. - set LC_ALL to en_US.utf8 for test suite. * debian/patches/series: - two new patches: 05_fix_regression_tests.diff and 06_fix_regression_tests.diff backported from 1.2.x branch to fix test suite failures. [ Raphaël Hertzog ] * Update Standards-Version to 3.9.1. * Drop "--with quilt" and quilt build-dependency since the package is already using source format "3.0 (quilt)". -- Raphaël Hertzog Sat, 18 Sep 2010 19:37:03 +0200 python-django (1.2.1-1) unstable; urgency=low * New upstream bugfix release. -- Chris Lamb Mon, 24 May 2010 22:44:32 +0100 python-django (1.2-1) unstable; urgency=low * New upstream stable release. -- Chris Lamb Fri, 21 May 2010 07:52:55 +0100 python-django (1.2~rc1-1) experimental; urgency=low * New upstream release candidate. * Remove "02-embedded_code_copies.diff" - not needed anymore. * Refresh "01_disable_url_verify_regression_tests.diff". * Refresh "04_hyphen-manpage.diff". * Temporarily disable test runner due to failing date-related tests. -- Chris Lamb Thu, 06 May 2010 10:25:10 +0100 python-django (1.2~beta1-1) experimental; urgency=low * New upstream development release. * Switch to dpkg-source 3.0 (quilt) format * Bump Standards-Version to 3.8.4. * Remove "0.96 -> 1.x" NEWS entry. * jQuery added to admin system upstream: - Add libjs-jquery to python-django's Recommends - Use symlinks so we use the version from libjs-query over an embedded code copy. -- Chris Lamb Tue, 09 Feb 2010 13:47:34 +0000 python-django (1.2~alpha1-1) experimental; urgency=low * New upstream development release: This is the first in a series of preview/development releases leading up to the eventual release of Django 1.2, currently scheduled to take place in March 2010. * Update "01_disable_url_verify_regression_tests.diff" - tests now use the unittest module instead of doctests. * Update "02-embedded_code_copies.diff". * Remove "05_ftbfs_in_november.diff" - applied upstream. * Remove "06_python_2.6.3_regression.diff" - applied upstream. * Update dh_auto_test - database engine is set differently in 1.2. * Remove useless ._DS_Store files. -- Chris Lamb Wed, 06 Jan 2010 14:34:37 +0000 python-django (1.1.1-2) unstable; urgency=low * Remove embedded "decimal" code copy and use system version instead. The "doctest" code copy cannot be removed as parts of Django depend on modified behaviour. (Closes: #555419) * Fix FTBFS in November by applying patch from upstream bug #12125. (Closes: #555931) * Fix FTBFS under Python 2.6.3 by applying patch from upstream bug #11993. (Closes: #555969) -- Chris Lamb Tue, 01 Dec 2009 23:46:22 +0000 python-django (1.1.1-1) unstable; urgency=high * New upstream security release - fixes pathological regular expression backtracking performance in URL and email fields which can be used as part of a denial of service attack. * Set Maintainer: to myself with thanks to Brett Parker. * Bump versioned build dependency on quilt to help backporters. (Closes: #547955) -- Chris Lamb Sat, 10 Oct 2009 10:17:52 +0100 python-django (1.1-4) unstable; urgency=low * Sourceful upload to drop dependency on Python 2.4. -- Chris Lamb Mon, 24 Aug 2009 08:16:11 +0100 python-django (1.1-3) unstable; urgency=low * Disable regression tests that require an internet connection. Patch by Krzysztof Klimonda . (Closes: #542996) * Bump Standards-Version to 3.8.3. -- Chris Lamb Sun, 23 Aug 2009 18:13:18 +0100 python-django (1.1-2) unstable; urgency=low * Run testsuite on build. * Use "--with quilt" over specifying $(QUILT_STAMPFN)/unpatch dependencies. * Override clean target correctly. -- Chris Lamb Fri, 14 Aug 2009 08:06:29 +0100 python-django (1.1-1) unstable; urgency=low * New upstream release. * Merge from experimental: - Ship FastCGI initscript and /etc/default file in python-django's examples directory (Closes: #538863) - Drop "05_10539-sphinx06-compatibility.diff"; it has been applied upstream. - Bump Standards-Version to 3.8.2. -- Chris Lamb Wed, 29 Jul 2009 11:26:28 +0200 python-django (1.0.2-7) unstable; urgency=low * Fix compatibility with Python 2.6 and Python transitions in general. Thanks to Krzysztof Klimonda . -- Chris Lamb Sat, 16 May 2009 00:09:47 +0100 python-django (1.0.2-6) unstable; urgency=low * Backport patch from to fix FTBFS when using python-sphinx >= 0.6. (Closes: #527492) -- Chris Lamb Sun, 10 May 2009 22:11:09 +0100 python-django (1.0.2-5) unstable; urgency=low * Fix issue where newly created projects do not have their manage.py file executable. -- Chris Lamb Thu, 26 Mar 2009 23:42:14 +0000 python-django (1.0.2-4) unstable; urgency=low * Programatically replace most references to "django-admin.py" with "django-admin" in the generated documentation. (Closes: #519937) * Bump Standards-Version to 3.8.1; no changes. -- Chris Lamb Tue, 24 Mar 2009 00:50:26 +0000 python-django (1.0.2-3) unstable; urgency=low * Split documentation into a separate python-django-doc package due to size (approximately 6Mb). -- Chris Lamb Tue, 10 Mar 2009 21:13:57 +0000 python-django (1.0.2-2) unstable; urgency=low * Don't rely on the internal layout of python-support. (Closes: #517052) * Move to debhelper-based packaging for operational clarity: - Remove bashisms from binary-post-install. - Use quilt instead of simple-patchsys.mk and adjust existing patches so that we can apply with -p1 for the "quilt" source package type. * Adjust Build-Depends: - Bump debhelper requirement 7.0.50 for override_* feature. - Drop cdbs, python-dev and python-setuptools requirement. - Just Build-Depend on `python', not `python-dev'. - Drop versions on Build-Depends where they are satisfied in current oldstable (ie. etch). * debian/control: - Add python-sqlite to Suggests. - Remove repeated 'Priority' line in binary package stanza. - Update crufty long and short descriptions. - Add ${misc:Depends} in binary stanza for debhelper-using package. -- Chris Lamb Sun, 08 Mar 2009 06:01:59 +0000 python-django (1.0.2-1) unstable; urgency=low [ Chris Lamb ] * New upstream bugfix release. Closes: #505783 * Add myself to Uploaders with ACK from Brett. [ David Spreen ] * Remove python-pysqlite2 from Recommends because Python 2.5 includes sqlite library used by Django. Closes: 497886 [ Sandro Tosi ] * debian/control - switch Vcs-Browser field to viewsvn -- Chris Lamb Wed, 19 Nov 2008 21:31:00 +0000 python-django (1.0-1) unstable; urgency=low [ David Spreen ] * New _stable_ upstream release. [ Raphael Hertzog ] * This version fixes the latest security issue: http://www.djangoproject.com/weblog/2008/sep/02/security/ Closes: #497765 * Don't include source files of documentation in the binary package, keep only the HTML version. * Updated README.Debian with information about the switch from 0.96 to 1.0. * Remove execute right on /etc/bash_completion.d/django_bash_completion * Add debian/patches/04_hyphen-manpage.diff to fix a lintian message (hyphen-used-as-minus-sign usr/share/man/man1/django-admin.1.gz:156). * Don't compress javascript files. * Add libjs-jquery to Recommends since it's used by the HTML documentation. -- Raphael Hertzog Thu, 04 Sep 2008 08:33:32 +0200 python-django (1.0~beta2+ds-1) unstable; urgency=low * Bumping up upstream version to push sources into unstable. (Thanks to Raphael Hertzog). -- David Spreen Sat, 30 Aug 2008 20:56:09 -0700 python-django (1.0~beta2-3) unstable; urgency=low [ David Spreen ] * Updated the copyright information to include copyright and licenses for individual contributions. * Added the documentation to the main python-django package: * debian/python-django.install - Added installation of html documentation. * debian/python-django.doc-base - Added. * debian/control - Added Build-Depends-Indep on python-sphinx and libjs-jquery. * debian/rules - Readded code to build documentation. - Readded code to link to libjs-jquery. * debian/NEWS - Fixed format. - Added more comprehensive list of changes and references to local documentation as well as the wiki pages for backwards-incompatible changes. * debian/python-django.docs - Removed docs/*.txt since those are templates for the generated docs now included with doc-base. -- David Spreen Fri, 29 Aug 2008 09:20:45 -0700 python-django (1.0~beta2-2) unstable; urgency=low [ David Spreen ] * Removed all -doc related files temporarily to push beta2 into unstable for extensive testing. The -doc package will be readded once this package is in unstable as recommended in http://lists.debian.org/debian-release/2008/08/msg01475.html. * debian/python-django-doc.install - Removed. * debian/python-django-doc.doc-base - Removed. * debian/python-django-doc.examples - Moved to python-django.examples. * debian/rules - Removed python-doc related build and post-installation. * debian/control - Removed binary package python-django-doc. - Removed Build-Depends-Indep on python-sphinx and libjs-jquery. * debian/python-django.install: - Removed multiple package related issues. -- David Spreen Thu, 28 Aug 2008 20:15:21 -0700 python-django (1.0~beta2-1) experimental; urgency=low [ David Spreen ] * The `hooray for the documentation' release! * New upstream beta release. * debian/control - Updated standards version. - Added python-sphinx and libjs-jquery. - Added python-django-doc package depending on libjs-jquery. * debian/docs - Moved to debian/python-django.docs. * debian/install - Moved to debian/python-django.install. * debian/manpages - Moved to debian/python-django.manpages. * debian/examples - Moved to debian/python-django-doc.examples * debian/README.Debian - Moved to debian/python-django.README.Debian * debian/python-django-doc.doc-base: - Added doc-base file for the documentation. * debian/python-django-doc.install: - Added install file for sphinx generated documentation. * debian/rules: - Added code to generate documentation with sphinx and replace convenience file of jquery.js with the respective symlink to libjs-jquery. -- David Spreen Thu, 28 Aug 2008 10:22:29 -0700 python-django (1.0~beta1-1) experimental; urgency=low [ David Spreen ] * New upstream beta release. Closes: #492956 * debian/control: Added myself to Uploaders field. * debian/watch: Added mangling for filename and version. Old watch file would name the download 'tarball'. Also added mangling to handle alpha and beta versioning. * Drop debian/patches/01_add_shebang.diff as this has been fixed upstream. * Drop debian/patches/02_bash_completion.diff as this has been committed upstream http://code.djangoproject.com/ticket/7268. * debian/control: Added python-flup to the Suggest field. Closes: #488123 * debian/patches/03_manpage.diff: Adapted patch to new upstream version. [ Jan Dittberner ] * add debian/watch file. -- David Spreen Fri, 15 Aug 2008 16:05:07 -0700 python-django (0.97~svn7534-1) experimental; urgency=low * New upstream snapshot. Closes: #409565, #481051 - Include an XSS security fix (CVE-2008-2302). Closes: #481164 * Drop debian/patches/04_pg_version_fix.diff as another fix has been committed upstream (see http://code.djangoproject.com/ticket/6433 and http://code.djangoproject.com/changeset/7415). * Add some headers to the remaining patches. -- Raphael Hertzog Mon, 19 May 2008 23:41:50 +0200 python-django (0.97~svn7189-1) experimental; urgency=low * New upstream snapshot including bash completion fix Closes: #450913 -- Brett Parker Sun, 02 Mar 2008 12:59:03 +0000 python-django (0.97~svn7047-2) experimental; urgency=low [ Brett Parker ] * Patch for postgresql version issue with 8.3 beta/rc releases Closes: #462058 [ Raphael Hertzog ] * Updated Standards-Version to 3.7.3. * Adjusted build-dependency on python-setuptools to strip the -1 part. -- Brett Parker Wed, 6 Feb 2008 15:15:37 +0000 python-django (0.97~svn7047-1) experimental; urgency=low * New upstream snapshot (rev 7047) - tarball prepared by Gabriel Falcão Gonçalves de Moura -- Gustavo Noronha Silva Tue, 29 Jan 2008 10:54:47 -0200 python-django (0.97~svn6996-1) experimental; urgency=low * New upstream snapshot * debian/control: - added myself to Uploaders -- Gustavo Noronha Silva Sat, 05 Jan 2008 20:53:23 -0200 python-django (0.97~svn6668-2) UNRELEASED; urgency=low [ Raphael Hertzog ] * Install examples with dh_installexamples instead of dh_installdocs (change done by Ubuntu) as empty files are kept. [ Sandro Tosi ] * debian/control - uniforming Vcs-Browser field -- Raphael Hertzog Mon, 17 Dec 2007 09:09:16 +0100 python-django (0.97~svn6668-1) experimental; urgency=low * New SVN snapshot (rev 6668) - Auth system delegations - Apps can now have thier own management commands - Fix for CVE-2007-5712 remote denial of service Closes: #448838 * Fix missing upstream info in changelog Closes: #450659 -- Brett Parker Sun, 11 Nov 2007 10:15:55 +0000 python-django (0.96+svn6373-1) experimental; urgency=low [ Raphael Hertzog ] * New SVN snapshot (rev 6373, a few days after the last Django sprint). * Note: The version 0.96+svn6034-1 never got uploaded. * Rename XS-Vcs* fields to Vcs-* since they are now supported by dpkg. [ Piotr Ożarowski ] * XS-Vcs-Browser and Homepage fields added -- Raphael Hertzog Thu, 04 Oct 2007 14:59:01 +0200 python-django (0.96+svn6034-1) experimental; urgency=low [ Brett Parker] * New SVN snapshot (rev 6034). * validate and runserver commands now display the number of errors (returning back to previous functionality). * Small documentation fixes * assertRedirects handling for paths with get data * start{project,app} no make sure files created are writable * Add man page for django-admin to the debian package -- Brett Parker Sat, 8 Sep 2007 10:37:00 +0100 python-django (0.96+svn6020-1) experimental; urgency=low * New SVN snapshot (rev 6020). -- Raphael Hertzog Sun, 26 Aug 2007 18:16:08 +0200 python-django (0.96+svn5779-1) experimental; urgency=low * SVN snapshot (rev 5779) packaged to experimental as many interesting Django applications rely on newer unreleased features. -- Raphael Hertzog Tue, 31 Jul 2007 13:40:18 +0200 python-django (0.96-1) unstable; urgency=low [ Brett Parker ] * New upstream release - introduces some backwards incompatible changes, see README.Debian or the backwards incompatible changes page at http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges * Add documentation from upstream to /usr/share/doc/python-django Closes: #411249 * Install the bash completion file from extras in to /etc/bash_completion.d/django_bash_completion Closes: #414399 * Egg support dropped as it's been dropped by upstream. -- Brett Parker Sun, 25 Mar 2007 19:18:39 +0100 python-django (0.95.1-1) unstable; urgency=low [ Brett Parker ] * New upstream minor release for security bugs: - http://www.djangoproject.com/weblog/2007/jan/21/0951/ - Fixes a small security vulnerability in the script Django's internationalization system uses to compile translation files (changeset 4360 in the "0.95-bugfixes" branch). - fix for a bug in Django's authentication middleware which could cause apparent "caching" of a logged-in user (changeset 4361). - patch which disables debugging mode in the flup FastCGI package Django uses to launch its FastCGI server, which prevents tracebacks from bubbling up during production use (changeset 4363). Closes: #407786, #407607 * Sets Recommends to python-psycopg and moves other database engines to the Suggests field. [ Raphael Hertzog ] * Use python-pysqlite2 as default database engine in Recommends. Others are in Suggests. Closes: #403761 * Add python-psycopg2 in Suggests. Closes: #407489 -- Raphael Hertzog Sun, 21 Jan 2007 17:45:50 +0100 python-django (0.95-3) unstable; urgency=low * Integrate 2 upstream changesets: - http://code.djangoproject.com/changeset/3754 as debian/patches/04_sec_fix_auth.diff Fixes a possible case of mis-authentication due to bad caching. Closes: #407521 - http://code.djangoproject.com/changeset/3592 as debian/patches/03_sec_fix_compile-messages.diff Fixes an (unlikely) arbitrary command execution if the user is blindly running compile-messages.py on a untrusted set of *.po files. Closes: #407519 -- Raphael Hertzog Sat, 16 Dec 2006 15:13:29 +0100 python-django (0.95-2) unstable; urgency=low [ Piotr Ozarowski ] * Added XS-Vcs-Svn field [ Brett Parker ] * Made manage.py get a shebang with the version of python used when running django-admin (closes: #401616) * Created a convenience /usr/lib/python-django/bin symlink. [ Raphael Hertzog ] * Adapted Brett's work to better fit my views of the packaging. -- Raphael Hertzog Sat, 16 Dec 2006 11:03:20 +0100 python-django (0.95-1) unstable; urgency=low [ Brett Parker ] * 0.95 release - initial packaging [ Raphael Hertzog ] * Fix recommends: s/python-sqlite/python-pysqlite2/ * Add debian/pyversions to ensure that we have at least python 2.3 (and to work around bug #391689 of python-support). -- Raphael Hertzog Mon, 9 Oct 2006 12:10:27 +0200