Tim Graham
ccd80dc3b6
Added 1.6.2 release notes stub.
2013-12-13 18:42:24 -05:00
Tim Graham
99b7d74914
Merge pull request #2067 from dominicrodger/master
...
Moving notes for assertNumQueries next to the other changes to test infrastructure
2013-12-13 07:36:57 -08:00
Baptiste Mispelon
d4d0dd7416
Changed documentation of HttpResponse.content to indicate it's a bytestring
2013-12-13 11:42:14 +01:00
Tim Graham
e01ade61fe
Copied 1.6.1 release notes from stable/1.6.x branch.
2013-12-12 15:08:22 -05:00
Baptiste Mispelon
2c837233f5
Fixed #21574 -- Handle bytes consistently in utils.text.normalize_newlines.
...
All input is now coerced to text before being normalized.
This changes nothing under Python 2 but it allows bytes
to be passed to the function without a TypeError under Python3
(bytes are assumed to be utf-8 encoded text).
Thanks to trac user vajrasky for the report.
2013-12-12 16:09:12 +01:00
Baptiste Mispelon
b9c7234e2a
Fixed PEP257 violations (single-quoted docstrings) in utils.text.
2013-12-12 16:08:59 +01:00
Dominic Rodger
cddb1e95b9
Moving notes for assertNumQueries next to the other changes to test infrastructure
2013-12-12 14:48:54 +00:00
Claude Paroz
7d44b5d5d0
Improved translation maintenance script
...
Do not fetch 'en' catalogs, neither files with translation stats
lower than 5%. Centralized resource filtering.
2013-12-12 15:38:50 +01:00
Rémy HUBSCHER
24fcca6bdd
Fixed #21591 -- Added documentation about contrib.messages.get_messages.
...
Refs https://code.djangoproject.com/ticket/21591
Thanks to track user merb for the report.
2013-12-12 14:56:34 +01:00
Ludwik Trammer
9922ed46e2
Fixed #21473 -- Limited language preservation to logout
...
Current language is no longer saved to session by LocaleMiddleware
on every response (the behavior introduced in #14825 ).
Instead language stored in session is reintroduced into new session
after logout.
Forward port of c558a43fd6
to master.
2013-12-12 10:24:43 +01:00
Aymeric Augustin
9c5f59f489
Brought comments in sync with the code in BaseAppCache.
2013-12-11 23:16:06 +01:00
Dominic Rodger
5cd6477fd6
Fixed #21462 -- Made assertNumQueries
print executed queries on failure.
2013-12-11 15:24:17 -05:00
Simon Charette
75924cfa6d
Fixed #21563 -- Single related object descriptors should work with hasattr
.
...
Thanks to Aymeric Augustin for the review and Trac alias monkut for the report.
2013-12-11 12:49:28 -05:00
Claude Paroz
c7c647419c
Fixed #21510 -- Readded search reset link in changelist search bar
...
Thanks moritz.pfeiffer at alp-phone.ch for the report and
Tim Graham for the initial patch.
2013-12-11 15:30:20 +01:00
Andrew Godwin
5db028affb
Fix altering of SERIAL columns and InnoDB being picky about FK changes
2013-12-11 14:19:05 +00:00
Andrew Godwin
cee4fe7307
Better default name for migrations we can't give nice names to
2013-12-11 13:23:07 +00:00
Andrew Godwin
248fdb1110
Change FKs when what they point to changes
2013-12-11 13:16:29 +00:00
Andrew Godwin
f3582a0594
Fix sqlmigrate's output for parameters
2013-12-11 13:12:23 +00:00
Aymeric Augustin
072e25eee7
Moved imports to the top of the defaultfilters module.
2013-12-10 21:32:58 +01:00
Loic Bistuer
a2814846ca
Fixed E124 pep8 warnings.
2013-12-10 15:12:48 -05:00
Claude Paroz
0873200e7f
Merge pull request #2058 from c-schmitt/fixes_21560
...
Fixed #21560 -- missing 'slug' field in example code
2013-12-10 01:14:09 -08:00
Christian Schmitt
744aac6dac
Fixed #21560 -- missing 'slug' field in example code
...
I updated the documentation, that the modelform now includes the 'slug' field.
2013-12-09 22:54:11 +01:00
Simon Charette
c047dda057
Removed an erroneous leading slash introduced by a626bdf648a.
2013-12-08 13:18:53 -05:00
Claude Paroz
626bdf648a
Updated a bunch of hyperlinks in documentation
2013-12-08 18:40:09 +01:00
Ramiro Morales
f876552f4b
(Re-)added GeoDjango instructions for building pysqlite2 correctly.
...
This is a partial undo of 1b142ef5dd
.
2013-12-08 11:14:18 -03:00
Florian Apolloner
3f900a1e2c
Merge pull request #2052 from loic/setup.cfg
...
Made flake8 ignore the .git directory.
2013-12-08 05:23:22 -08:00
Loic Bistuer
27dc7908d5
Made flake8 ignore the .git directory.
2013-12-08 20:16:45 +07:00
Florian Apolloner
c78bd9eff2
Merge pull request #2048 from loic/ValidationError.message_dict
...
Trigger AttributeError in ValidationError.message_dict when error_dict is missing.
2013-12-08 05:06:39 -08:00
Alex Gaynor
d653c0bd2e
Merge pull request #2050 from maurycyp/master
...
Renamed first argument of class method to cls
2013-12-07 17:16:01 -08:00
maurycyp
e2e2482391
Renamed first argument of class method to cls
2013-12-07 20:13:53 -05:00
Claude Paroz
5c61b8519d
Fixed #18531 -- Deprecated Geo Sitemaps
...
I've chosen a quick deprecation path, as Geo Sitemaps themselves
are deprecated from some time now.
2013-12-07 21:46:03 +01:00
Vajrasky Kok
a7cf48a2b7
Fixed #21573 -- Improved performance of utils.text.normalize_newlines.
2013-12-07 17:19:29 +01:00
Loic Bistuer
2e3c7d8820
Trigger AttributeError in ValidationError.message_dict when error_dict is missing.
...
The goal of this change is twofold; firstly, matching the behavior of Django 1.6
and secondly, an AttributeError is more informative than an obscure ValueError
about mismatching sequence lengths.
Refs #20867 .
2013-12-07 23:01:28 +07:00
Claude Paroz
65faa84de3
Removed unneeded string normalization in contrib.admin
...
With Python 2.7 and up, named parameter keys are not limited to
bytestrings any longer. This mainly reverts 3bd384aa62
.
2013-12-07 15:58:27 +01:00
Tim Graham
e7dcd40da2
Added extra newline for flake8.
2013-12-07 07:06:28 -05:00
Loic Bistuer
a8f4553aae
Fixed #21555 -- Made ValidationError pickable.
...
Thanks trac username zanuxzan for the report and original patch.
2013-12-07 18:58:37 +07:00
Claude Paroz
41ebc4838d
Fixed #21551 -- Reenabled loading fixtures from subdirectory
...
This was a regression in Django 1.6 that was only partially
restored in 839940f27f
.
Thanks Jonas Haag for the report.
2013-12-07 10:47:34 +01:00
Claude Paroz
8a9c8bb907
Fixed #21568 -- Added missing ModelMultipleChoiceField to_python method
...
Thanks dibrovsd at gmail.com for the report and Simon Charette
for the review.
2013-12-07 10:14:22 +01:00
Claude Paroz
6d20a80d98
Merge pull request #2045 from vajrasky/ticket_21572
...
Fixed #21572 -- Added unit test for django.utils.text.normalize_newlines...
2013-12-07 01:07:23 -08:00
Vajrasky Kok
a1a26690b9
Fixed #21572 -- Added unit test for django.utils.text.normalize_newlines.
2013-12-07 16:28:22 +08:00
Baptiste Mispelon
19b22d4f0e
Added fix for #21530 to 1.6.1 release notes.
2013-12-07 03:37:31 +01:00
Baptiste Mispelon
a020dd0a99
Fixed #21530 -- Prevent AttributeError in default URLconf detection code.
...
Thanks to @dmyerscoug for the report and original patch
and to @alasdairnicol for the added tests.
2013-12-07 03:21:58 +01:00
Alex Gaynor
ffc0e0ca37
Corrected a flake8 issue -- this line is imported for the purpose of re-exposing the name
2013-12-06 13:22:53 -06:00
Roger Hu
bbc73e6a12
Fixed #21566 -- Fixed AttributeError when using bulk_create with ForeignObject.
2013-12-06 20:20:16 +01:00
pegler
38e24d680d
Fixed #21554 -- Incorrect SQL generated when using multiple inheritance.
2013-12-06 14:12:38 -05:00
Tim Graham
b63acdfe71
Removed a u'' prefix that prevented the docs from building on Python 3.2.
2013-12-06 13:06:59 -05:00
Ramiro Morales
362dd68fb2
Added new 'srtext' spatialite 4.x SpatialRefSys column to its model.
...
This is for general consistency in the GeoDjango DB backends.
Thanks Claude for the fix.
Refs #19678 .
2013-12-06 12:35:18 -03:00
Baptiste Mispelon
621c25c419
Added missing deconstruct() methods.
2013-12-06 15:23:34 +01:00
Baptiste Mispelon
72479a2957
Made the migration detector use meta.local_fields instead of meta.fields.
...
Refs #21010 .
Thanks to Loïc for the patch.
2013-12-06 15:23:21 +01:00
Baptiste Mispelon
19e4374971
Fixed ModelState breaking when unique_together has unhashable elements.
2013-12-06 15:22:52 +01:00