1
0
mirror of https://github.com/django/django.git synced 2024-11-20 08:24:58 +00:00
Commit Graph

21893 Commits

Author SHA1 Message Date
Sergey Fedoseev
310049a5ae Fixed #25603 -- Made clear that geometry's SRID is meant in docs for GEOSGeometry.transform. 2015-10-24 10:53:48 +02:00
Andrey Kuzmin
a1b9737aea Cached model field_names in Python Deserializer. 2015-10-23 16:23:30 -04:00
Claude Paroz
10ace52a41 Fixed #17133 -- Properly handled successive slashes in incoming requests
Thanks gjanee@ucop.edu for the report and Tim Graham for the review.
2015-10-23 22:18:18 +02:00
Jacek Bzdak
494b7986a3 Fixed #25397 -- Documented class-based view context variable clash with context processors. 2015-10-23 15:18:39 -04:00
薛丞宏
484edc81c1 Clarified that the test client response content attribute is bytes. 2015-10-23 14:26:19 -04:00
Tim Graham
89359347c4 Refs #25589 -- Fixed admin_scripts test failure on Windows.
Traceback (most recent call last):
  File "tests\admin_scripts\tests.py", line 646, in test_startapp_unicode_name
    content = f.read()
  File "lib\encodings\cp1252.py", line 23, in decode
    return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 46: character maps to <undefined>
2015-10-22 19:38:23 -04:00
Tim Graham
f242ad27a4 Added "subpath" to spelling wordlist. 2015-10-22 15:01:33 -04:00
Tim Graham
37ea3cb03e Fixed "URLconf" spelling in code comments. 2015-10-22 14:46:42 -04:00
Claude Paroz
c08f85fd54 Fixed #25592 -- Fixed misnamed strictly_above PostGIS lookup
Fixes a regression from 2bd1bbc42. Thanks Daniel Wiesmann for the report
and Tim Graham for the review.
2015-10-22 20:32:31 +02:00
Benjamin Wohlwend
2b9eed41fa Refs #24622 -- Documented alternatives to some test response attributes when using alternative template engines. 2015-10-22 14:10:56 -04:00
Dheerendra Rathor
59e85f09c6 Fixed #25519 -- Made the admin "View site" link point to sites running on a subpath.
Used request.META['SCRIPT_NAME'] as the site_url if it hasn't been
customized from the default value of '/'.
2015-10-22 13:51:00 -04:00
Yoong Kang Lim
3f300efede Fixed #25589 -- Allowed startapp/project to create apps with Unicode characters in the name. 2015-10-22 13:01:07 -04:00
Tim Graham
ee66d8dd7d Fixed #25584 -- Documented a pip error when installing Django 1.9. 2015-10-22 09:53:46 -04:00
Claude Paroz
8b5acda821 Fixed #25571 -- Fixed boolean evaluation of ungettext_lazy 2015-10-22 15:17:45 +02:00
Tim Allen
1ce11f6064 Revised Windows install instructions for Python 3.5.
Added instructions for installing virtualenv and virtualenvwrapper.
2015-10-21 20:25:57 -04:00
Mariusz Felisiak
0f6d51e6a0 Fixed #25470 -- Avoided unnecessary, expensive DATETIME typecast on MySQL. 2015-10-21 19:24:19 -04:00
Sergey Fedoseev
0dbe897ab5 Fixed #25585 -- Allowed setting OGRGeometry srid/srs attributes to None. 2015-10-21 18:54:28 -04:00
Tim Graham
80855a4b37 Fixed #21894 -- Corrected a form.clean() example in case a superclass doesn't return data. 2015-10-21 13:50:48 -04:00
matiasb
12aeed8c94 Fixed #24976 -- Fixed missing form label in tabular inline.
If the model form had a form field specified, the label rendered
as "None".
2015-10-21 13:35:50 -04:00
Tim Graham
bab9c09342 Fixed spelling of "unpicklable" in cache tests. 2015-10-21 11:56:30 -04:00
Jacek Bzdak
32cd706971 Fixed #25574 -- Documented {{ dict.items }} shadowing in for template tag docs. 2015-10-21 11:43:45 -04:00
Sergey Fedoseev
87d2bdd212 Removed duplicated entry from AUTHORS. 2015-10-21 11:02:31 -04:00
Jon Dufresne
05248a1009 Fixed #25576 -- Added IOBase methods required by TextIOWrapper to HttpResponse. 2015-10-21 10:42:29 -04:00
Daniel Hahler
1745aa000a Fixed #25586 -- Fixed possible table cell misalignment in admin's tabular inlines.
The table body (tbody) was shifted by one column to the left
if the first inline form field is hidden.
2015-10-21 10:21:23 -04:00
Yusuke Miyazaki
230d8c7301 Fixed #25578 -- Corrected the casing of "GitHub". 2015-10-21 07:31:11 -04:00
Sergey Fedoseev
a272db7008 Fixed #25580 -- Allowed None to be set as SRID value. 2015-10-21 09:35:17 +02:00
Andrew Artajos
48888a1a67 Fixed #25501 -- Made the file-based cache backend use the highest pickling protocol. 2015-10-20 13:05:33 -04:00
John Vandenberg
9e3f6c7483 Fixed quad quoted ("""") docstring starts. 2015-10-20 12:19:17 -04:00
Tim Graham
541aa2434d Removed "how to release Django" steps for 1.4 (no longer supported). 2015-10-19 21:01:28 -04:00
Tim Graham
4a50daf6b3 Fixed #25562 -- Skipped a time dependent admin_filters test on Windows. 2015-10-19 20:26:33 -04:00
Simon Charette
2ee67f0373 Moved an inner function in db.migrations.state to avoid redefinition. 2015-10-19 20:15:13 -04:00
Simon Charette
63f0e2df2a Refs #18012 -- Accounted for reverse proxy relations in migrations.
Thanks to Markus for the suggestion and Tim for the review.
2015-10-19 20:15:13 -04:00
Simon Charette
3db3ab71e9 Fixed #25563 -- Cached deferred models in their proxied model's _meta.apps.
Thanks to Andriy Sokolovskiy for the report and Tim Graham for the review.
2015-10-19 20:11:32 -04:00
Ville Skyttä
aff4b75c34 Fixed #25566 -- Added title to admin's closing popup response page 2015-10-19 20:12:48 +03:00
Claude Paroz
f59a0401e5 Fixed #25567 -- Removed obsolete MEDIA_URL fallback in Media.absolute_path 2015-10-19 15:39:35 +02:00
Ville Skyttä
6ff500127a Fixed #25565 -- Removed action="" from admin forms (invalid in HTML5). 2015-10-19 08:09:34 -04:00
Aymeric Augustin
df0a446fd4 Fixed #25510 -- Allowed runserver to start with incorrect INSTALLED_APPS.
In that case, the content of INSTALLED_APPS will be ignored until it's
fixed and the autoreloader kicks in. I confirmed this behavior manually.
As explained on the ticket it's hard to write a test for this case
2015-10-18 10:34:04 +02:00
Josh Smeaton
6c95b134e9 Fixed #25517 -- Made Concat function idempotent on SQLite. 2015-10-17 15:51:04 -04:00
Yusuke Miyazaki
0922bbf18d Fixed #25346 -- Allowed collectstatic to delete broken symlinks. 2015-10-17 14:13:31 -04:00
Brian Gianforcaro
a3fffdca24 Fixed #25558 -- Fixed nondeterministic test failure on Windows: test_clearsessions_command.
The test session without an expiration date added in refs #22938 wasn't
always deleted on Windows because get_expiry_age() returns zero and the
file backend didn't consider that an expired session.
2015-10-17 10:03:11 -04:00
Simon Charette
c1b6a8a98b Fixed #25560 -- Made empty string related_name invalid.
Thanks to Ali Lotfi for the initial report and patch
and Tim Graham for the review.
2015-10-16 14:22:15 -04:00
Tim Graham
4dcc2a1955 Used SchemaEditor.delete_model() for teardown in schema tests.
Some third-party database backends (MSSQL) have custom
delete_model() requirements that must be executed.

Thanks Michael Manfre for the initial patch and review.
2015-10-16 08:40:57 -07:00
Tim Graham
4cc6f8b764 Forwardported 1.8.6 release note. 2015-10-14 12:22:53 -07:00
Antoine Catton
b971c1cd78 Fixed #25506 -- Allowed filtering over a RawSQL annotation.
Co-Authored-By: Gavin Wahl <gwahl@fusionbox.com>
2015-10-14 11:13:58 -07:00
Tim Graham
c7aff31397 Refs #25535 -- Minor edits to ForeignObject check changes. 2015-10-14 05:21:08 -07:00
Sergey Fedoseev
92c1ae1b0b Fixed quotes in GeoQuerySet aggregates examples. 2015-10-13 23:39:29 -04:00
Tim Graham
f6b9e6bf4f Fixed typo in docs/ref/models/relations.txt. 2015-10-13 04:24:22 -07:00
Antoine Catton
80dac8c33e Fixed #25535 -- Made ForeignObject checks less strict.
Check that the foreign object `from_fields` are a subset of any unique
constraints on the foreign model.
2015-10-12 18:00:59 -04:00
Claude Paroz
533c10998a Added precision about GeoJSON field outputs 2015-10-12 21:48:29 +02:00
Simon Charette
a82e21b0f9 Refs #18012 -- Removed the now unused proxied_children model option.
Thanks to Tim for the review.
2015-10-12 12:14:27 -04:00