forked from pool/python-Django
Accepting request 633261 from devel:languages:python:django
OBS-URL: https://build.opensuse.org/request/show/633261 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Django?expand=0&rev=43
This commit is contained in:
commit
db8fe5ccfd
3
Django-2.1.1.tar.gz
Normal file
3
Django-2.1.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e1cc1cd6b658aa4e052f5f2b148bfda08091d7c3558529708342e37e4e33f72c
|
||||||
|
size 8595422
|
62
Django-2.1.1.tar.gz.asc
Normal file
62
Django-2.1.1.tar.gz.asc
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
-----BEGIN PGP SIGNED MESSAGE-----
|
||||||
|
Hash: SHA256
|
||||||
|
|
||||||
|
This file contains MD5, SHA1, and SHA256 checksums for the source-code
|
||||||
|
tarball and wheel files of Django 2.1.1, released August 31, 2018.
|
||||||
|
|
||||||
|
To use this file, you will need a working install of PGP or other
|
||||||
|
compatible public-key encryption software. You will also need to have
|
||||||
|
the Django release manager's public key in your keyring; this key has
|
||||||
|
the ID ``E17DF5C82B4F9D00`` and can be imported from the MIT
|
||||||
|
keyserver. For example, if using the open-source GNU Privacy Guard
|
||||||
|
implementation of PGP:
|
||||||
|
|
||||||
|
gpg --keyserver pgp.mit.edu --recv-key E17DF5C82B4F9D00
|
||||||
|
|
||||||
|
Once the key is imported, verify this file::
|
||||||
|
|
||||||
|
gpg --verify <<THIS FILENAME>>
|
||||||
|
|
||||||
|
Once you have verified this file, you can use normal MD5, SHA1, or SHA256
|
||||||
|
checksumming applications to generate the checksums of the Django
|
||||||
|
package and compare them to the checksums listed below.
|
||||||
|
|
||||||
|
Release packages:
|
||||||
|
=================
|
||||||
|
|
||||||
|
https://www.djangoproject.com/m/releases/2.1/Django-2.1.1-py3-none-any.whl
|
||||||
|
https://www.djangoproject.com/m/releases/2.1/Django-2.1.1.tar.gz
|
||||||
|
|
||||||
|
MD5 checksums
|
||||||
|
=============
|
||||||
|
|
||||||
|
4ef1290007f8ccb865e27c68dd1aa6cb Django-2.1.1-py3-none-any.whl
|
||||||
|
06e7c47864e0a38cd99ddabb152b9e9b Django-2.1.1.tar.gz
|
||||||
|
|
||||||
|
SHA1 checksums
|
||||||
|
==============
|
||||||
|
|
||||||
|
62071d35dca4f1b779a32aa6e1491fa39bfce518 Django-2.1.1-py3-none-any.whl
|
||||||
|
c15e7100ab23ec8c33083aa67fada82f362fa224 Django-2.1.1.tar.gz
|
||||||
|
|
||||||
|
SHA256 checksums
|
||||||
|
================
|
||||||
|
|
||||||
|
04f2e423f2e60943c02bd2959174b844f7d1bcd19eabb7f8e4282999958021fd Django-2.1.1-py3-none-any.whl
|
||||||
|
e1cc1cd6b658aa4e052f5f2b148bfda08091d7c3558529708342e37e4e33f72c Django-2.1.1.tar.gz
|
||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQIzBAEBCAAdFiEE/l+2OHah1xioxnVW4X31yCtPnQAFAluI++oACgkQ4X31yCtP
|
||||||
|
nQC/OQ/+MhX/NraG7BS4YrJaLUTAtuhbnto/UMZUacc4p9c6beguRwVjPnpXiX67
|
||||||
|
xjG4Y6CrDzE0L+Cyf1z0dgt2sSlEGbmwd0soybnoewnC58LgfKe2te41b6WLnXZc
|
||||||
|
mqRtn/Dyp/JYyLQ1sA7/1Bky24kP062TsB5Yxru0GRTnc7KpP/hpNp9bsR4F4DZE
|
||||||
|
v8vqDeqiFGq38vCkq8ILAeu7eHnBY0vqyvjbSeuteca2dYByjbQ+SqmLELEHIPUV
|
||||||
|
Oa97tZpKYTM2CvQ6pwXHAFtjkRrSANI/A7G7zcxnvldzbUKaJMBE2+ZMSutyzWzZ
|
||||||
|
8rg4UDp36BEwTa3yj1nk2HXnHt3CxS62D1UqpOPLuZ6bB4mCRZ3gF5hBOhAew97J
|
||||||
|
iNav5j7O300o5aE088pDKEuacGrJoRSNasnPcWCGmEEJ+zf6Cvq7B/EhnV54LDj0
|
||||||
|
qrWfwl6Mm5lrxqD7zPtwGovGYY7OaBGgOkC3lV1/EQePnXbp5DrLN1gpIvtGyPCG
|
||||||
|
eU0mhHKZMh4sCkxZnpAhMWGs3wkblkLeyUOm0xGKBEvOOQ9m+62MIz85kEcCZPIx
|
||||||
|
YwrMyYsVJ6zl0u/U2gRxoTrwS5XlCa0n4J3/wWFxR4v5qCK6N/QbUeSvjv7BBtQn
|
||||||
|
HToPD/goX1DgD9y9kuewytKwxjQGXZO4MtOS/Ag+ZVTUDU/By2g=
|
||||||
|
=pyoC
|
||||||
|
-----END PGP SIGNATURE-----
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7f246078d5a546f63c28fc03ce71f4d7a23677ce42109219c24c9ffb28416137
|
|
||||||
size 8583964
|
|
@ -1,63 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNED MESSAGE-----
|
|
||||||
Hash: SHA256
|
|
||||||
|
|
||||||
This file contains MD5, SHA1, and SHA256 checksums for the source-code
|
|
||||||
tarball and wheel files of Django 2.1, released August 1, 2018.
|
|
||||||
|
|
||||||
To use this file, you will need a working install of PGP or other
|
|
||||||
compatible public-key encryption software. You will also need to have
|
|
||||||
the Django release manager's public key in your keyring; this key has
|
|
||||||
the ID ``1E8ABDC773EDE252`` and can be imported from the MIT
|
|
||||||
keyserver. For example, if using the open-source GNU Privacy Guard
|
|
||||||
implementation of PGP:
|
|
||||||
|
|
||||||
gpg --keyserver pgp.mit.edu --recv-key 1E8ABDC773EDE252
|
|
||||||
|
|
||||||
Once the key is imported, verify this file::
|
|
||||||
|
|
||||||
gpg --verify <<THIS FILENAME>>
|
|
||||||
|
|
||||||
Once you have verified this file, you can use normal MD5, SHA1, or SHA256
|
|
||||||
checksumming applications to generate the checksums of the Django
|
|
||||||
package and compare them to the checksums listed below.
|
|
||||||
|
|
||||||
Release packages:
|
|
||||||
=================
|
|
||||||
|
|
||||||
https://www.djangoproject.com/m/releases/2.1/Django-2.1-py3-none-any.whl
|
|
||||||
https://www.djangoproject.com/m/releases/2.1/Django-2.1.tar.gz
|
|
||||||
|
|
||||||
MD5 checksums
|
|
||||||
=============
|
|
||||||
|
|
||||||
b915941cbfea97580c1c928a5c11bc72 Django-2.1-py3-none-any.whl
|
|
||||||
4a01d9325ac60e8d329762ecb9c9d2ea Django-2.1.tar.gz
|
|
||||||
|
|
||||||
SHA1 checksums
|
|
||||||
==============
|
|
||||||
|
|
||||||
0361b67c03c6b05de6f9d895e1717dbc73abcec4 Django-2.1-py3-none-any.whl
|
|
||||||
136bf406eb2cf4d74a7f1d78adc17241dde75a32 Django-2.1.tar.gz
|
|
||||||
|
|
||||||
SHA256 checksums
|
|
||||||
================
|
|
||||||
|
|
||||||
ea50d85709708621d956187c6b61d9f9ce155007b496dd914fdb35db8d790aec Django-2.1-py3-none-any.whl
|
|
||||||
7f246078d5a546f63c28fc03ce71f4d7a23677ce42109219c24c9ffb28416137 Django-2.1.tar.gz
|
|
||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
Version: GnuPG v1
|
|
||||||
|
|
||||||
iQIcBAEBCAAGBQJbYbwsAAoJEB6Kvcdz7eJS28YP/j7hdai9XjddQmcImWHmm9TI
|
|
||||||
ba2KqKcqOrBioAB2197YPTWciVYlIhvO9ElC26flqKDiz6kCOh7O/hNr4uyK97QG
|
|
||||||
UfrO2mxCz5DsMFC+KaBUNQqbL7/lD8ADsh1oqeiuprRdzGw86NZn+7tPtwPdVkpJ
|
|
||||||
d7M5rGJgt6UWfnIYcOsW1NLm31uH/QB4Pk6ebvVK/dqvXynBnHM3M2BBHLtvD1id
|
|
||||||
gSIHy6+xCZCEbODsElfsFRcDwwMChvU5PAKPfglfrg5oiTGILJht8aFwynHodlDo
|
|
||||||
1piKjZYk66GQjKgKvWorZmdkA8BJnBOKG1VN7C6Pr9xce2PHdg9KM0usW2Bm3Ff5
|
|
||||||
Km8W+5LRE6RNkyQ5Uf+2JlDZUE2YsH3x8Jl6/Eq+CGNRsw8YxUr2/xnrcdklRJtJ
|
|
||||||
PjMP7EPWvVXsqDuOkBMHZwog0iamSUyo4vESHR95R9uc1rmoKXOmdOoFKTWP8/is
|
|
||||||
a69tPwvRTbQYxPr+JYjzAcw+TfNCeiN950EwEnsd9a4/txLVHEE4lyHPyInAP9Tc
|
|
||||||
jJ4PF3S3Gkto0CeLwTaofLa1NkofjtOX+3VAdWQQy4XeEZKvD3bMq/ii74gNKoH7
|
|
||||||
ryfRyzr3qm6yNbmlbUqAGfU5a+DZF4z/55IgmFlcinkucRlMP0ZWmY1GrkvACzqs
|
|
||||||
xbz5a5rXzmDqcwO6MW9Q
|
|
||||||
=Fl6l
|
|
||||||
-----END PGP SIGNATURE-----
|
|
@ -1,43 +0,0 @@
|
|||||||
From d8e2be459f97f1773c7edf7d37de180139146176 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Tim Graham <timograham@gmail.com>
|
|
||||||
Date: Thu, 2 Aug 2018 21:56:26 -0400
|
|
||||||
Subject: [PATCH] Fixed #29627 -- Fixed QueryDict.urlencode() crash with
|
|
||||||
non-string values.
|
|
||||||
|
|
||||||
Regression in 7d96f0c49ab750799860e42716d7105e11de44de.
|
|
||||||
---
|
|
||||||
django/http/request.py | 2 +-
|
|
||||||
tests/httpwrappers/tests.py | 7 +++++++
|
|
||||||
3 files changed, 11 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/django/http/request.py b/django/http/request.py
|
|
||||||
index 05aa89252bbc..fdd1cf8c6732 100644
|
|
||||||
--- a/django/http/request.py
|
|
||||||
+++ b/django/http/request.py
|
|
||||||
@@ -511,7 +511,7 @@ def encode(k, v):
|
|
||||||
return urlencode({k: v})
|
|
||||||
for k, list_ in self.lists():
|
|
||||||
output.extend(
|
|
||||||
- encode(k.encode(self.encoding), v.encode(self.encoding))
|
|
||||||
+ encode(k.encode(self.encoding), str(v).encode(self.encoding))
|
|
||||||
for v in list_
|
|
||||||
)
|
|
||||||
return '&'.join(output)
|
|
||||||
diff --git a/tests/httpwrappers/tests.py b/tests/httpwrappers/tests.py
|
|
||||||
index 24260ae61055..01ce20f93d85 100644
|
|
||||||
--- a/tests/httpwrappers/tests.py
|
|
||||||
+++ b/tests/httpwrappers/tests.py
|
|
||||||
@@ -114,6 +114,13 @@ def test_urlencode(self):
|
|
||||||
self.assertEqual(q.urlencode(), 'next=%2Ft%C3%ABst%26key%2F')
|
|
||||||
self.assertEqual(q.urlencode(safe='/'), 'next=/t%C3%ABst%26key/')
|
|
||||||
|
|
||||||
+ def test_urlencode_int(self):
|
|
||||||
+ # Normally QueryDict doesn't contain non-string values but lazily
|
|
||||||
+ # written tests may make that mistake.
|
|
||||||
+ q = QueryDict(mutable=True)
|
|
||||||
+ q['a'] = 1
|
|
||||||
+ self.assertEqual(q.urlencode(), 'a=1')
|
|
||||||
+
|
|
||||||
def test_mutable_copy(self):
|
|
||||||
"""A copy of a QueryDict is mutable."""
|
|
||||||
q = QueryDict().copy()
|
|
@ -1,3 +1,32 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 4 12:24:15 UTC 2018 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
- update to version 2.1.1
|
||||||
|
- drop django-urlencode.patch
|
||||||
|
* Fixed a race condition in QuerySet.update_or_create() that could result
|
||||||
|
in data loss
|
||||||
|
* Fixed a regression where QueryDict.urlencode() crashed if the dictionary
|
||||||
|
contains a non-string value
|
||||||
|
* Fixed a regression in Django 2.0 where using manage.py test --keepdb fails
|
||||||
|
on PostgreSQL if the database exists and the user doesn’t have permission
|
||||||
|
to create databases
|
||||||
|
* Fixed a regression in Django 2.0 where combining Q objects with __in
|
||||||
|
lookups and lists crashed
|
||||||
|
* Fixed translation failure of DurationField’s “overflow” error message
|
||||||
|
* Fixed a regression where the admin change form crashed if the user doesn’t
|
||||||
|
have the ‘add’ permission to a model that uses TabularInline
|
||||||
|
* Fixed a regression where a related_query_name reverse accessor wasn’t
|
||||||
|
set up when a GenericRelation is declared on an abstract base model
|
||||||
|
* Fixed the test client’s JSON serialization of a request data dictionary
|
||||||
|
for structured content type suffixes
|
||||||
|
* Made the admin change view redirect to the changelist view after a POST
|
||||||
|
if the user has the ‘view’ permission
|
||||||
|
* Fixed admin change view crash for view-only users if the form
|
||||||
|
has an extra form field
|
||||||
|
* Fixed a regression in Django 2.0.5 where QuerySet.values() or values_list()
|
||||||
|
after combining querysets with extra() with union(), difference(),
|
||||||
|
or intersection() crashed due to mismatching columns
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Aug 14 07:46:04 UTC 2018 - tchvatal@suse.com
|
Tue Aug 14 07:46:04 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
Name: python-Django
|
Name: python-Django
|
||||||
Version: 2.1
|
Version: 2.1.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A high-level Python Web framework
|
Summary: A high-level Python Web framework
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@ -29,7 +29,6 @@ Source: https://www.djangoproject.com/m/releases/2.1/Django-%{version}.t
|
|||||||
Source1: https://www.djangoproject.com/m/pgp/Django-%{version}.checksum.txt#/Django-%{version}.tar.gz.asc
|
Source1: https://www.djangoproject.com/m/pgp/Django-%{version}.checksum.txt#/Django-%{version}.tar.gz.asc
|
||||||
Source2: %{name}.keyring
|
Source2: %{name}.keyring
|
||||||
Source99: python-Django-rpmlintrc
|
Source99: python-Django-rpmlintrc
|
||||||
Patch0: django-urlencode.patch
|
|
||||||
BuildRequires: %{python_module Jinja2 >= 2.9.2}
|
BuildRequires: %{python_module Jinja2 >= 2.9.2}
|
||||||
BuildRequires: %{python_module Pillow}
|
BuildRequires: %{python_module Pillow}
|
||||||
BuildRequires: %{python_module PyYAML}
|
BuildRequires: %{python_module PyYAML}
|
||||||
@ -79,7 +78,6 @@ echo "`grep -e '^[0-9a-f]\{40\} Django-%{version}.tar.gz' %{SOURCE1} | cut -c1-
|
|||||||
echo "`grep -e '^[0-9a-f]\{64\} Django-%{version}.tar.gz' %{SOURCE1} | cut -c1-64` %{SOURCE0}" | sha256sum -c
|
echo "`grep -e '^[0-9a-f]\{64\} Django-%{version}.tar.gz' %{SOURCE1} | cut -c1-64` %{SOURCE0}" | sha256sum -c
|
||||||
|
|
||||||
%setup -q -n Django-%{version}
|
%setup -q -n Django-%{version}
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user