Aymeric Augustin
fdbfc98003
Deprecated some arguments of django.shortcuts.render(_to_response).
...
dictionary and context_instance and superseded by context.
Refactored tests that relied context_instance with more modern idioms.
2014-12-28 17:02:29 +01:00
Aymeric Augustin
92e8f1f302
Moved context_processors from django.core to django.template.
2014-12-28 17:00:07 +01:00
Aymeric Augustin
90805b240f
Supported multiple template engines in render_to_string.
...
Adjusted its API through a deprecation path according to the DEP.
2014-12-28 16:23:02 +01:00
Aymeric Augustin
f50a09f2cd
Removed private API get_template_from_string.
...
It wasn't documented and it wasn't used anywhere.
2014-12-28 16:23:01 +01:00
Aymeric Augustin
5523e4cdbb
Removed private API find_template.
...
It wasn't documented and it wasn't used anywhere, except in a few tests
that don't test it specifically and can be rewritten with get_template.
2014-12-28 16:23:01 +01:00
Aymeric Augustin
1acfd624d6
Added initial support for loading template engines.
2014-12-28 16:08:31 +01:00
Aymeric Augustin
7eefdbf7ab
Cleaned up the django.template namespace.
...
Since this package is going to hold both the implementation of the Django
Template Language and the infrastructure for Multiple Template Engines,
it should be untied from the DTL as much as possible within our
backwards-compatibility policy.
Only public APIs (i.e. APIs mentioned in the documentation) were left.
2014-12-28 14:47:31 +01:00
Tim Graham
3d0c3a0482
Fixed #24056 -- Fixed syntax highlighting in topics/testing/tools.txt.
2014-12-27 19:49:16 -05:00
Christopher Grebs
508be27dbf
Fixed #24057 -- Fixed typo in docs/howto/custom-lookups.txt.
2014-12-27 19:38:24 -05:00
Aymeric Augustin
7fd5629d23
Added release notes for the last two commits.
2014-12-27 18:26:48 +01:00
Tim Graham
89e2c60f43
Fixed #24000 -- Corrected contrib.sites default site creation in a multiple database setup.
2014-12-27 09:42:13 -05:00
Claude Paroz
e112bacd21
Forward-ported release note for 322560489
2014-12-27 15:13:12 +01:00
Claude Paroz
2ceb10f3b0
Fixed #14180 -- Prevented unneeded index creation on MySQL-InnoDB
...
Thanks zimnyx for the report and Simon Charette, Tim Graham for
the reviews.
2014-12-27 12:52:44 +01:00
Josh Smeaton
4718296546
Fixed #23753 -- Added a suite of SQL Functions
...
Added functions and tests
Added docs and more tests
Added TextField converter to mysql backend
Aliased Value as V in example docs and tests
Removed unicode_compatible in example
Fixed console emulation in examples
2014-12-27 15:27:27 +11:00
Collin Anderson
0821b3d53c
Clarified custom header instructions in tutorial 2.
2014-12-26 18:28:47 -05:00
Tim Graham
c2e419c267
Fixed #24054 -- Enabled sqlsequencereset for apps with migrations.
2014-12-26 15:55:34 -05:00
Tim Graham
1729a5250b
Removed obsolete item from deprecation timeline.
...
Initial SQL data will be removed in Django 1.9 so changes to it
aren't relevant.
2014-12-26 13:48:13 -05:00
Tim Graham
c5fb34c47e
Documented AdminSite.has_permission(); refs #22295 .
2014-12-26 09:14:10 -05:00
Brian Scoles
a6f0b6a98f
Fixed typo in docs/intro/tutorial01.txt.
2014-12-25 06:56:23 -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
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
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
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
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
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
Oscar Ramirez
54085b0f9b
Fixed #23998 -- Added datetime.time support to migrations questioner.
2014-12-22 07:24:54 -05: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
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
9c1f501d7b
Fixed #24014 -- Unified OGRException and GDALException
...
Thanks Tim Graham for the review.
2014-12-18 11:28:17 +01:00
Tim Graham
493ab45349
Updated TemplateResponseMixin docs to reflect new behavior after refs #23789 .
2014-12-17 20:02:15 -05:00
Claude Paroz
108b8bf852
Fixed #24007 -- Ensure apps registry's ready before unpickling models
...
This prevents AppRegistryNotReady errors when unpickling Django
models from an external script.
2014-12-17 18:33:32 +01:00
Mosson, Andrew
b7219c7ba5
Fixed #23497 -- Made admin system checks run for custom AdminSites.
2014-12-17 09:11:46 -05:00
Markus Holtermann
c7786550c4
Fixed display of lists after website redesign
...
Thanks Brian Jacobel for the report. refs django/djangoproject.com#197
2014-12-17 08:24:00 -05:00
Alex Gaynor
104aaab704
Fixed the formatting of one section of the security page
2014-12-16 19:00:42 -05:00