Tim Graham
426ead27bd
Removed shutil.copystat copied from stdlib (added to support an old Python?).
2014-12-24 19:29:33 -05:00
Tim Graham
6571ed14b6
Fixed #24049 -- Removed obsolete Java notes for Mac OS.
2014-12-24 18:38:07 -05:00
Helen Sherwood-Taylor
4ccdf6e57f
Fixed #24041 -- Documented effect of changing a model instance's primary key.
2014-12-24 15:06:09 -05:00
Niclas Olofsson
3daa9d60be
Fixed #10414 -- Made select_related() fail on invalid field names.
2014-12-24 14:54:30 -05:00
Thomas Tanner
b27db97b23
Fixed #22461 -- Added if-unmodified-since support to the condition decorator.
2014-12-24 12:33:57 -05:00
Claude Paroz
fae551d765
Complemented pickle test for ValuesQuerySet with related field
...
Refs #14515 .
2014-12-24 14:58:32 +01:00
Claude Paroz
7ce9644d93
Added a test to ensure bad assignation to M2M doesn't clear data
...
Refs #14394 .
2014-12-24 14:18:00 +01:00
Collin Anderson
5dddd79433
Fixed #20349 -- Moved setting_changed signal to django.core.signals.
...
This removes the need to load django.test when not testing.
2014-12-24 07:18:43 -05:00
Tim Graham
c5c235cd4f
Fixed typo in test_utils comment.
2014-12-24 07:10:34 -05:00
Claude Paroz
b3ebcb22a9
Ignored deprecation warnings for CreationIndexesTests
2014-12-24 10:45:53 +01:00
Claude Paroz
9699d8446e
Moved test correction from 5b1fb0a75
2014-12-24 10:42:24 +01:00
Tim Graham
8842bc101c
Fixed some docs spelling mistakes.
2014-12-23 14:41:53 -05:00
Frankie Robertson
446b50b90e
Fixed #24035 -- Clarified docs on CACHE_MIDDLEWARE_KEY_PREFIX vs KEY_PREFIX
2014-12-23 14:35:30 -05:00
Tim Graham
061caa5b38
Fixed #24037 -- Prevented data loss possibility when changing Meta.managed.
...
The migrations autodetector now issues AlterModelOptions operations for
Meta.managed changes instead of DeleteModel + CreateModel.
Thanks iambibhas for the report and Simon and Markus for review.
2014-12-23 14:25:31 -05:00
Tim Graham
69ee7c8d76
Removed models.Field.bind() -- unused/undocumented since at least 1.0.
2014-12-23 14:23:58 -05:00
Claude Paroz
30cbd5d360
Replaced DatabaseCreation sql methods by schema editor equivalents
...
Also used schema editor in migrate to sync unmigrated apps (sync_apps).
Refs #22340 . Thanks Tim Graham for the review.
2014-12-23 19:35:01 +01:00
Claude Paroz
15ba0d166f
Added migration for site test app depending on contrib.sites
2014-12-23 19:01:33 +01:00
Claude Paroz
750dbb1133
Removed unneeded null param to ManyToManyField
2014-12-23 19:01:03 +01:00
Claude Paroz
90720d549a
Removed admin_util test dependency on contrib.sites
2014-12-23 18:43:55 +01:00
Claude Paroz
f05b03f3d7
Removed model_package test dependency on contrib.sites
2014-12-23 18:10:07 +01:00
Anssi Kääriäinen
f233bf47dd
Fixed #21414 -- Removed RelatedObject and deprecated Field.related.
2014-12-23 10:54:25 -05:00
Claude Paroz
6e08bde8c4
Added RasterSource/GDALBand GDAL objects
...
Based on Daniel Wiesmann's raster branch. Thanks Daniel Wiesmann
and Tim Graham for the reviews. Refs #23804 .
2014-12-23 16:36:18 +01:00
Claude Paroz
9fecb86a52
Fixed #17946 -- Fixed deserialization of self-referencing M2M fields
...
Thanks Philip Mountifield for the report and excellent analysis, and
Simon Charette for the review.
2014-12-23 16:01:39 +01:00
Anssi Kääriäinen
227a4c48be
Refs #2443 -- fixed format_dtdelta on SQLite
...
A test failed on Python 2 32-bit.
2014-12-23 07:05:44 -05:00
Marc Tamlyn
962bb9b6bd
Refs #2443 -- Move the durationfield converter logic.
...
This reduces how frequently this logic is run significantly.
Thanks to Anssi for the suggestion.
2014-12-23 10:41:42 +00:00
Marc Tamlyn
5ca82e710e
Fixed #24033 -- Use interval type on Oracle.
...
Use INTERVAL DAY(9) TO SECOND(6) for Durationfield on Oracle rather than
storing as a NUMBER(19) of microseconds.
There are issues with cx_Oracle which require some extra data
manipulation in the database backend when constructing queries, but it
handles the conversion back to timedelta objects cleanly.
Thanks to Shai for the review.
2014-12-23 10:38:32 +00:00
Marc Tamlyn
803947161b
Merge pull request #3775 from collinanderson/jquery1.11.2
...
Upgrade jQuery from 1.11.1 to 1.11.2
2014-12-23 10:26:39 +00:00
Collin Anderson
a58cfe8e71
Upgrade jQuery from 1.11.1 to 1.11.2
...
refs #23355
2014-12-22 20:32:00 -05:00
Tim Graham
01ab84c613
Fixed #23525 -- Fixed admindocs crash on apps installed as eggs.
...
Thanks welbornprod for report and initial patch.
2014-12-22 15:19:18 -05:00
Alexander Schulze
cf2390be16
Fixed #23959 -- Clarified when checks automatically run.
2014-12-22 11:35:19 -05:00
Thomas Chaumeny
994d6137a2
Fixed #23792 -- Added test.utils.freeze_time() context manager.
2014-12-22 07:46:40 -05:00
Oscar Ramirez
54085b0f9b
Fixed #23998 -- Added datetime.time support to migrations questioner.
2014-12-22 07:24:54 -05:00
Marc Tamlyn
936e87c97b
Merge pull request #3765 from wlanslovenija/ticket_24034
...
Fixed #24034 -- Don't always overwrite deconstruct path.
2014-12-22 00:41:13 +00:00
Josh Schneier
9a23470072
Fixed #24017 -- Added python_2_unicode_compatible in db/migrations
2014-12-21 16:10:43 -05:00
Jernej Kos
7c50e7eecc
Fixed #24034 -- Don't always overwrite deconstruct path.
...
Made deconstruct path overwriting for ArrayField conditional,
so it only occurs when the deconstructed field is an instance
of ArrayField itself and not a subclass.
2014-12-21 17:31:50 +01:00
Aymeric Augustin
653a3a4e18
Merge pull request #3763 from dcramer/patch-2
...
Correct scoping of savepoint example
2014-12-21 15:19:29 +01:00
Marc Tamlyn
07728a2c2c
Refs #2443 -- Fix Oracle tests for DurationField.
...
It helps if there are the correct number of microseconds in a second.
2014-12-20 22:04:07 +00:00
David Cramer
27f68f8659
Correct scoping of savepoint example
2014-12-20 12:02:26 -08:00
Marc Tamlyn
57554442fe
Fixed #2443 -- Added DurationField.
...
A field for storing periods of time - modeled in Python by timedelta. It
is stored in the native interval data type on PostgreSQL and as a bigint
of microseconds on other backends.
Also includes significant changes to the internals of time related maths
in expressions, including the removal of DateModifierNode.
Thanks to Tim and Josh in particular for reviews.
2014-12-20 18:28:29 +00:00
Tim Graham
a3d96bee36
Added upgrade instructions for deprecated model _meta permission methods.
2014-12-19 19:11:52 -05:00
Tim Graham
f56132691b
Added words to docs wordlist.
2014-12-19 14:37:06 -05:00
Tim Graham
995be4a137
Fixed refs #24007 test on Windows.
2014-12-19 14:11:17 -05:00
Claude Paroz
1d9fc5caa9
Made model_regress unpickling test CWD-independent
...
Refs #24007 . Thanks Tim Graham for his help with the patch.
2014-12-19 18:37:32 +01:00
Claude Paroz
337cd09836
Updated some other external links in the docs
2014-12-19 18:07:52 +01:00
Claude Paroz
0a4b04fc23
Used https for most *.python.org links
2014-12-19 18:07:52 +01:00
Claude Paroz
742fba9455
Used the 🎫 syntax more extensively
2014-12-19 18:07:52 +01:00
Berker Peksag
6403e07c50
Moved version directives to the bottom of the loaddata section.
2014-12-19 06:52:01 +02:00
Claude Paroz
5b1fb0a75d
Forward-ported test and release note from f46a16614
...
Refs #24015 .
2014-12-18 21:17:17 +01:00
Tim Graham
0c06f06131
Removed need to update Python version support note on each new release.
2014-12-18 11:55:33 -05:00
Claude Paroz
9bcd4d812c
Fixed #23788 (2) -- Improved gettext version checker
...
Thanks Tim Graham for the report and initial patch.
2014-12-18 16:06:33 +01:00