Marten Kenbeek
bd7c879d5a
[1.8.x] Stressed authentication should be successful before logging in a user.
...
Backport of 8e744fa150
from master
2015-03-05 12:18:13 -05:00
Aymeric Augustin
2bef57f3fb
[1.8.x] Improved get_media_prefix template tag example.
...
Backport of 9a4a9a8a49
from master
2015-03-05 10:00:05 -05:00
Ross Brunton
72539a5f29
[1.8.x] Fixed #24379 -- Documented that remote user example disables ModelBackend.
...
Backport of 6b28e957df
from master
2015-03-02 19:57:12 -05:00
Tim Graham
cc525e31bb
[1.8.x] Fixed #13015 -- Clarified language about model instances attached to forms.
...
Backport of a40a34a4b2
from master
2015-03-02 18:45:27 -05:00
Andrew Pinkham
ac6bc2c090
[1.8.x] Fixed #24439 -- Removed incorrect make_object_list attributes in CBV docs.
...
Backport of fea45eff5a
from master
2015-03-02 13:33:42 -05:00
Ian Lee
ed25758556
[1.8.x] Added syntax highlighting for apache code blocks
...
Backport of fde4857fb8
from master
2015-03-02 12:37:07 -05:00
Alex Shaindlin
5a3b59370c
[1.8.x] Improved wording in tutorial 1.
...
Backport of dcdef1fe2e
from master
2015-02-27 17:54:27 -05:00
Tim Graham
9d6f0dce13
[1.8.x] Fixed #24359 -- Cleaned up docs/ref/exceptions.html
...
Backport of 2b19b3a031
from master
2015-02-27 13:51:29 -05:00
Tim Graham
31a1f96bd3
[1.8.x] Added stub release notes for 1.7.6.
...
Backport of 71820721a1
from master
2015-02-25 09:11:43 -05:00
Tim Graham
a9ab8bd4dd
[1.8.x] Added release date for 1.7.5 release.
...
Backport of aca73737da
from master
2015-02-25 09:03:38 -05:00
Tim Graham
81911f29b7
[1.8.x] Reverted "Fixed #24325 -- Documented change in ModelForm.save() foreign key access."
...
This reverts commit 0af3822dc3
.
It's obsoleted by refs #24395 .
Backport of d298b1ba50
from master
2015-02-24 11:51:10 -05:00
Kenneth Kam
a752a2c951
[1.8.x] Fixed #23762 -- clarified CACHE_MIDDLEWARE_ANONYMOUS_ONLY deprecation in docs
...
Backport of e83aba0e2c
from master
2015-02-23 09:23:49 -05:00
Ian Lee
04c262aea9
[1.8.x] Broke long lines in code examples.
...
The website only renders code blocks at 96 chars, and therefore
long code lines get wrapped. Manually breaking the lines prevents
the wrapping from occurring.
Backport of 00fbd8fd52
from master
2015-02-23 07:46:00 -05:00
Emin Mastizada
ff2e0896a3
[1.8.x] Added formats for the Azerbaijani locale.
...
Backport of dda2a3cf4c
from master
2015-02-23 07:37:42 -05:00
Michael Manfre
ed941ef2d0
Fixed signature of BaseDatabaseOperations.date_interval_sql()
...
Backport of 7fa7dd48c4
from master
2015-02-23 00:04:57 -05:00
Tim Graham
ddc1e0c0fb
[1.8.x] Updated tutorial to use explicit relative imports.
...
Backport of b2f331dc68
from master
2015-02-22 14:20:25 -05:00
Tim Graham
576c1096d2
[1.8.x] Corrected sqlmigrate output in tutorial 1.
...
Backport of ff5e47e7a4
from master
2015-02-22 12:29:39 -05:00
Tim Graham
fbddd946ad
[1.8.x] Fixed #24371 -- Cautioned against trying to switch databases.
...
Backport of 7901eccf2e
from master
2015-02-22 10:12:15 -05:00
Sean Wang
f0780df608
[1.8.x] Fixed #24358 -- Corrected code-block directives for console sessions.
...
Backport of eba6dff581
from master
2015-02-22 09:36:51 -05:00
Loic Bistuer
3a6c37fce4
[1.8.x] Fixed #24351 , #24346 -- Changed the signature of allow_migrate().
...
The new signature enables better support for routing RunPython and
RunSQL operations, especially w.r.t. reusable and third-party apps.
This commit also takes advantage of the deprecation cycle for the old
signature to remove the backward incompatibility introduced in #22583 ;
RunPython and RunSQL won't call allow_migrate() when when the router
has the old signature.
Thanks Aymeric Augustin and Tim Graham for helping shape up the patch.
Refs 22583.
Conflicts:
django/db/utils.py
Backport of bed504d70b
from master
2015-02-20 21:55:50 +07:00
Andrei Kulakov
564487601e
[1.8.x] Fixed #23932 -- Added how-to on migrating unique fields.
...
Backport of 1f9e44030e
from master
2015-02-20 21:53:15 +07:00
Tim Graham
18dceab05b
[1.8.x] Fixed typo in path to is_safe_url()
...
Backport of dd0b487872
from master
2015-02-20 09:22:17 -05:00
Marc Tamlyn
3886338c1d
[1.8.x] Update converters to take a consistent set of parameters.
...
As suggested by Anssi. This has the slightly strange side effect of
passing the expression to Expression.convert_value has the expression
passed back to it, but it allows more complex patterns of expressions.
Backport of 32d4db66b9
from master
2015-02-20 11:47:48 +00:00
Aymeric Augustin
cc4effba0b
[1.8.x] Set context.template instead of context.engine while rendering.
...
This opens more possibilities, like accessing context.template.origin.
It also follows the chain of objects instead of following a shortcut.
Backport of 1bfcc95
from master
2015-02-19 22:10:56 +01:00
Tim Graham
e4df10668c
[1.8.x] Added an import to docs/topics/testing/advanced.txt example.
...
Backport of 32b67b3fd1
from master
2015-02-17 13:53:57 -05:00
Tim Graham
730fb593ad
[1.8.x] Fixed #24335 -- Bumped required psycopg2 version to 2.4.5 (2.5 for contrib.postgres).
...
Backport of 3adc5f1ee6
from master
2015-02-17 06:21:59 -05:00
Tim Graham
fb9551189d
[1.8.x] Fixed #24350 -- Freshened up database install topic section.
...
Backport of 35f0cae19d
from master
2015-02-16 14:59:57 -05:00
Tim Graham
50ec49c087
[1.8.x] Removed a note about old versions of MySQLdb.
...
Backport of f3bc7c5447
from master
2015-02-16 14:29:30 -05:00
Carl Meyer
e63d9b98e7
[1.8.x] Fixed #23892 -- Clarified compatibility policy for migrations.
...
Backport of e35c70bef4
from master
2015-02-16 10:12:13 -05:00
Aymeric Augustin
e8950668ca
[1.8.x] Deprecated TEMPLATE_DEBUG setting.
...
Backport of 15b711b
from master.
2015-02-15 20:48:48 +01:00
Aymeric Augustin
69c662c981
[1.8.x] Documented how to set up the Jinja2 environment.
...
This may also help with "Why do context processors not work in Jinja2
templates?" etc.
Backport of 9fbd302
from master
2015-02-15 20:44:40 +01:00
Aymeric Augustin
87e9cad4a4
[1.8.x] Fixed #24318 -- Set the transaction isolation level with psycopg >= 2.4.2.
...
Backport of 76356d96
from master
2015-02-14 18:52:28 +01:00
Claude Paroz
a1fc97c1a7
[1.8.x] Fixed #24144 -- Documented that GEOSGeometry.envelope can return a point
...
Thanks Manel Clos for the report.
Backport of 1379165b35
from master.
2015-02-14 16:20:58 +01:00
Tim Graham
8657e7caaa
[1.8.x] Fixed #24325 -- Documented change in ModelForm.save() foreign key access.
...
Backport of 0af3822dc3
from master
2015-02-14 08:09:27 -05:00
Loic Bistuer
20b621eb3c
[1.8.x] Fixed #24289 -- Reversed usage of Field.many_to_one and one_to_many.
...
Thanks Carl Meyer and Tim Graham for the reviews and to all involved
in the discussion.
Backport of 18c0aaa912
from master
2015-02-14 02:42:06 +07:00
Joe Simpson
8277f5d7d0
[1.8.x] Added each_context() and a template tip to custom admin view docs.
...
Backport of 648e516b8d
from master
2015-02-13 10:38:29 -05:00
Markus Holtermann
bd80fa6b0f
[1.8.x] Fixed #24184 -- Prevented automatic soft-apply of migrations
...
Previously Django only checked for the table name in CreateModel
operations in initial migrations and faked the migration automatically.
This led to various errors and unexpected behavior. The newly introduced
--fake-initial flag to the migrate command must be passed to get the
same behavior again. With this change Django will bail out in with a
"duplicate relation / table" error instead.
Thanks Carl Meyer and Tim Graham for the documentation update, report
and review.
Backport of f287bec583
from master
2015-02-13 15:21:10 +01:00
Tim Graham
4c948c7c9d
[1.8.x] Fixed #24332 -- Fixed contrib.sites create_default_site() when 'default' DATABASES is empty.
...
Backport of e8cf4f8abe
from master
2015-02-13 07:02:37 -05:00
Tim Graham
6476fa73d3
[1.8.x] Forwardported item in 1.7.5 release notes.
...
Backport of a93c5fb2bf
from master
2015-02-12 14:06:21 -05:00
Thomas Güttler
6b8c8d7e18
[1.8.x] Clarified timeout=0 in cache docs.
...
Backport of e519ee1d35
from master
2015-02-12 10:32:56 -05:00
Josh Smeaton
a6ea62aeaf
[1.8.x] Refs #14030 -- Improved expression support for python values
...
Backport of e2d6e14662
from master
2015-02-12 08:53:03 +11:00
Tim Graham
411028df53
[1.8.x] Updated docs and runtests.py for removal of tests from contrib.
...
Backport of 7cf3a5786b
from master
2015-02-11 12:05:55 -05:00
Josh Smeaton
3518d51697
[1.8.x] Fixed #24200 -- Made introspection bypass statement cache
...
Backport of 1fbe8a2de3
from master
2015-02-10 23:42:16 +02:00
Tim Graham
a8b70d251d
[1.8.x] Sorted imports with isort; refs #23860 .
...
Backport of 0ed7d15563
from master
2015-02-09 14:24:06 -05:00
Markus Holtermann
edbf6de753
[1.8.x] Revert "Fixed #24075 -- Prevented running post_migrate signals when unapplying initial migrations of contenttypes and auth"
...
This reverts commit 737d24923a
.
Backport of 2832a9b028
from master
2015-02-07 20:35:20 +01:00
Peter Inglesby
b6323302e0
[1.8.x] Fixed docs typo
...
Backport of a8f1c70dce
from master
2015-02-07 18:47:17 +01:00
Collin Anderson
fc8e1e0c10
[1.8.x] Fixed E265 comment style
...
Backport of db77915c9f
from master
2015-02-06 09:35:08 -05:00
Tim Graham
6adc23d6b6
[1.8.x] Removed gather_profile_stats.py
...
This script uses the unmaintained hotshot module (gone on Python 3)
and doesn't seem to be Django specific in any way.
Backport of 388d986b8a
from master
2015-02-06 08:55:02 -05:00
minusf
5bc9904b35
[1.8.x] Removed inaccurate sentence about PO files in translation docs.
...
Backport of aea103b6a5
from master
2015-02-06 07:46:14 -05:00
Tom Christie
f5749252ea
[1.8.x] Improved nested ArrayField example
...
Backport of 737b184d91
from master
2015-02-05 11:35:23 +01:00