Tim Graham
5489fc47df
[1.5.X] Fixed links to DATABASE ENGINE setting. refs #19516
...
Backport of f56f6cfa58
from master
2012-12-24 15:40:17 -05:00
Ramiro Morales
903892be7b
[1.5.x] Fixed #19497 -- Refactored testing docs.
...
Thanks Tim Graham for the review and suggestions.
d19109fd37
from master.
2012-12-22 12:39:49 -03:00
Tim Graham
91af9230ad
[1.5.X] Fixed #19506 - Remove 'mysite' prefix in model example.
...
Thanks Mike O'Connor for the report.
Backport of 52a2588df6
from master
2012-12-21 15:53:23 -05:00
Ramiro Morales
470f3eca34
[1.5.x] Added PASSWORD_HASHERS to settings reference document.
...
abd0f304b1
from master.
2012-12-19 15:10:39 -03:00
Tim Graham
034c355118
[1.5.X] Fixed #19470 - Clarified widthratio example.
...
Thanks orblivion for the suggestion.
Backport of 6534a95ac3
from master
2012-12-18 08:20:51 -05:00
Tim Graham
e11bd5c5ac
[1.5.X] Fixed #19442 - Clarified that raw SQL must be committed.
...
Thanks startup.canada for the suggestion.
Backport of 31f49f1396
from master
2012-12-18 08:14:37 -05:00
Tim Graham
2545dc59bf
[1.5.x] Fixed #17312 - Warned about database side effects in tests.
...
Thanks jcspray for the suggestion.
Backport of 7df03268a4
from master.
2012-12-18 08:05:12 -05:00
Tim Graham
528483cae2
[1.5.X] Fixed #19279 - Clarified order of database setup and Django install.
...
Thanks colinnkeenan for the suggestion.
Backport of 72a6ac568d
from master
2012-12-16 15:46:17 -05:00
Tim Graham
53b40d75b7
[1.5.X] Fixed #18718 - Documented django.utils.encoding.filepath_to_uri
...
Backport of 507c081484
from master
2012-12-16 14:40:10 -05:00
Russell Keith-Magee
311bd0055d
[1.5.X} Fixed #19412 -- Added PermissionsMixin to the auth.User heirarchy.
...
This makes it easier to make a ModelBackend-compliant (with regards to
permissions) User model.
Thanks to cdestigter for the report about the relationship between
ModelBackend and permissions, and to the many users on django-dev that
contributed to the discussion about mixins.
Backport of 47e1df896b
from master.
2012-12-15 22:47:48 +08:00
Russell Keith-Magee
a7465ee7df
[1.5.X] Fixed #19472 -- Documented the testing requirements and tools for custom User models.
...
Thanks to gcc for the report.
Backport of bd414aed01
from master.
2012-12-15 22:47:30 +08:00
Russell Keith-Magee
9cf566233b
[1.5.X] Fixed #19384 -- Documented the behavior of custom managers on abstract models.
...
This documents the behavior introduced by cc337a74
, which is BACKWARDS
INCOMPATIBLE for any attempt to invoke a method on a manager using the
abstract class as the calling class (e.g., AbstractBase.objects.do_something())
Thanks to mhsparks for the report.
Backport of 1b646e656e
from master.
2012-12-15 22:46:55 +08:00
Tim Graham
084a8e2959
[1.5.X] Fixed #19344 - Documented how to run django-admin in a virtualenv on Windows.
...
Thanks Hourann Bosci for the patch.
Backport of 1e5b0fc4d0
from master
2012-12-15 09:30:46 -05:00
Tim Graham
1af69a240c
[1.5.X] Fixed #19342 - Added new tutorials to the 1.5 release notes
...
Backport of b594e4923c
from master
2012-12-15 08:30:06 -05:00
Claude Paroz
d196f8f7eb
[1.5.X] Removed obsolete contrib.comments upgrade guide
...
The old comment system was pre-1.0.
Backport of 44815bad6b
from master
2012-12-15 08:15:16 -05:00
Tim Graham
c252ed567c
[1.5.X] Fixed #9962 - Added a testing tutorial.
...
Thank-you Daniele Procida for the first draft
and shaibi, Aymeric, and others for the reviews.
Backport of b052e6cc95
from master
2012-12-15 08:12:25 -05:00
Ben Longden
0c3e4848b6
[1.5.X] Removed PHP references
...
Backport of 55a2d5b577
from master
2012-12-14 19:33:48 -05:00
Aymeric Augustin
44e56238d7
[1.5.x] Fixed #2304 -- Documented TRANSACTIONS_MANAGED.
...
Backport of a001f3c
.
2012-12-14 21:16:04 +01:00
Tim Graham
8a1b4dbda2
[1.5.X] Fixed #19461 - Linked to psycopg in topics/install.txt
...
Thanks Chris Jerdonek for the suggestion.
Backport of 6cad5f212a
from master
2012-12-11 18:45:03 -05:00
Tim Graham
d92d9cf2aa
[1.5.X] Fixed #19377 - Emphasized database host link in tutorial
...
Backport of 0eed8ece32
from master
2012-12-11 16:35:37 -05:00
James Bennett
82d4786544
[1.5.x] Bump version numbers for security release.
2012-12-10 15:49:48 -06:00
Florian Apolloner
77b06e4151
[1.5.X] Fixed a security issue in get_host.
...
Full disclosure and new release forthcoming.
2012-12-10 22:13:28 +01:00
Claude Paroz
fce779475e
[1.5.x] Removed US localflavor-specific tests from core
...
Also fixes #9045 .
Backport of 8248d1402
from master.
2012-12-08 21:08:37 +01:00
Aymeric Augustin
c81e8e7068
[1.5.x] Fixed #19389 -- Docs on the location of contrib apps tests.
...
Backport of d5ed81c.
2012-12-08 19:48:41 +01:00
Val Neekman
152d6cb411
fix a spelling error in docs
...
backport of cacafe8
from master.
2012-12-08 14:51:41 +01:00
Claude Paroz
a0578a1a1c
[1.5.x] Fixed #19444 -- Clarified IGNORABLE_404_URLS documentation
...
Backport of 53b879f045
from master.
2012-12-07 17:42:17 +01:00
Daniele Procida
a8045c3af2
[1.5.x] Amended explanation of LOCALE_PATHS setting.
...
Thanks Daniele Procida for the patch.
37abad73d6
from master.
2012-12-04 20:20:35 -03:00
Tim Graham
88638ddd3d
[1.5.X] Fixed #19400 - Typo in docs/topics/auth.txt
...
Backport of 008e625c66
from master
2012-11-30 15:13:51 -05:00
Claude Paroz
47c5b50d34
[1.5.x] Fixed #19354 -- Do not assume usermodel.pk == usermodel.id
...
Thanks markteisman at hotmail.com for the report.
Backport of 0eeae1505
from master.
2012-11-29 21:52:22 +01:00
Bruno Renié
fe55052cca
[1.5.x] Fixed typo in the 1.5* release notes. Thanks brutasse.
2012-11-28 20:45:10 -03:00
Claude Paroz
89593048e2
[1.5.x] Fixed #19366 -- Prevented GEOSIndexError when comparing geometries
...
Thanks Craig de Stigter for the report and collaboration on the
patch.
Backport of cc3c4a9d5
from master.
2012-11-28 22:34:43 +01:00
Jason Yan
54ce0ff7ba
[1.5.x] Fixed #19374 -- Typo in docs/ref/models/instances.txt.
...
Backport of eeaab083f
from master.
2012-11-28 09:28:21 +01:00
Tim Graham
ecf292aa2c
[1.5.X] Fixed #19239 - Added examples for generic date views
...
Thank-you Daniel Greenfeld and Scott Nixon.
Backport of 38055222bd
from master
2012-11-27 19:30:44 -05:00
Tim Graham
931b0f8ccd
[1.5.X] Fixed #19352 - Added an example in the QuerySet docs.
...
Thanks colinkeenan for the suggestion.
Backport of ba2adc9c05
from master
2012-11-27 18:22:49 -05:00
James Bennett
1c05619c1f
[1.5.x] Bump version numbers for 1.5 beta 1.
2012-11-27 16:09:10 -06:00
Jacob Kaplan-Moss
212214e892
Fixed a couple of typos in the 1.5 (and beta) release notes.
...
Backport of [7cea123bde
] from master.
2012-11-27 15:58:16 -06:00
Jacob Kaplan-Moss
28120a9436
Added 1.5 beta release notes.
...
Backport of [7a62339f59
] from master.
2012-11-27 15:57:40 -06:00
Julien Phalip
22ca5bab95
[1.5.x] Fixed #17646 -- Added a get_list_filter() method to ModelAdmin. Thanks to rasca for the suggestion and to mateusgondim for the patch.
...
Backport of ae206d78f6
2012-11-25 20:43:18 +01:00
Aymeric Augustin
72231610b3
[1.5.x] Fixed two typos.
...
Backport of f89901d
from master.
2012-11-25 19:32:25 +01:00
Aymeric Augustin
8c2f36260e
[1.5.x] Fixed #19280 -- Raised an explicit exception for the old {% url %} syntax.
...
Backport of 6b8a7ce.
2012-11-24 22:05:41 +01:00
Russell Keith-Magee
24582f18ff
[1.5.x] Fixed #19218 -- Added documentation note on limitations of signals with custom User models.
...
Thanks to kunitoki@gmail.com for the report.
Backport of fdb5c98d7e
.
2012-11-24 14:27:11 +08:00
Aymeric Augustin
a79e4521e5
[1.5.x] Negligible style fix in docs.
...
Backport of 5c81e9d
.
2012-11-23 20:41:08 +01:00
Anssi Kääriäinen
90c7aa0740
[1.5.x] Fixed #18375 -- Removed dict-ordering dependency for F-expressions
...
F() expressions reuse joins like any lookup in a .filter() call -
reuse multijoins generated in the same .filter() call else generate
new joins. Also, lookups can now reuse joins generated by F().
This change is backwards incompatible, but it is required to prevent
dict randomization from generating different queries depending on
.filter() kwarg ordering. The new way is also more consistent in how
joins are reused.
Backpatch of 90b86291d0
2012-11-23 20:07:50 +02:00
WoLpH
f88319dc3c
[1.5.X] Changed if statement to a slightly cleaner variant
...
Backport of eabb44417c
from master
2012-11-23 07:13:24 -05:00
Tim Graham
c90156fc18
[1.5.X] Fixed #19348 - Clarified the units of filesizeformat.
...
Thanks george_edison for the report and Claude Paroz for the patch.
Backport of 63e6cd1bb3
from master
2012-11-23 07:02:29 -05:00
Tim Graham
918d020de2
[1.5.X] Fixed #19346 - Typo in docs/ref/contrib/gis/install/index.txt
...
Backport of c13912ac7f
from master
2012-11-22 18:02:20 -05:00
Tim Graham
072b9d0d3d
[1.5.X] Spell checked 1.5 alpha release notes
...
Backport of e94f8babc2
from master
2012-11-22 17:16:46 -05:00
Tim Graham
42fa51c002
[1.5.X] Fixed #18974 - Warned against using models.permalink
...
Thanks dstufft for the draft patch.
Backport of 0e3690d230
from master
2012-11-22 16:10:42 -05:00
Aymeric Augustin
9bd67f056c
[1.5.x] Fixed #16039 -- Made post_syncdb handlers multi-db aware.
...
Also reverted 8fb7a90026
. Refs #17055 .
Backport of a026e48
from master.
2012-11-22 20:54:20 +01:00
Tim Graham
84dc6afac7
[1.5.X] Documented behavior of get_or_create when multiple objects are returned.
...
Thanks Matt Lauber for the patch.
Backport of 71a3162a70
from master
2012-11-22 10:37:17 -05:00
Tim Graham
63546533c1
[1.5.X] Clarified usage of as_view kwargs for setting arguments on class based views
...
Thanks Dave McLain for the patch.
Backport of 7b2d95eb30
from master
2012-11-22 09:08:37 -05:00
Tim Graham
74e22f9772
[1.5.X] Fixed #19317 - Added an image for warning blocks in the docs
...
Thanks tome for the suggestion and patch.
Backport of 3587991ba8
from master
2012-11-22 08:47:52 -05:00
Preston Holmes
6d85f1212f
[1.5.x] Added examples of using startproject/app with URLs
...
thanks to Brent O'Connor for the idea and intial docs
2012-11-21 22:08:04 -08:00
shepdl
187441602c
[1.5.X] Fixed #19243 - Edited GeoDjango Tutorial for consistency and style.
...
Backport of 8e5573e99a
from master
2012-11-21 19:32:27 -05:00
Tim Graham
6d13071021
[1.5.X] Fixed #19335 - Typo and cleanups in docs/topics/class-based-views/index.txt
...
Backport of e2b1808196
from master
2012-11-21 19:07:36 -05:00
Luke Plant
aab701f1aa
[1.5.x] Corrected docs about default value of MESSAGE_STORAGE
...
Backport of a32f30c79c
from master
2012-11-20 23:06:38 +00:00
Preston Holmes
3a0e0230f7
[1.5.x] Fixed #18658 -- Improved ModelAdmin.message_user API
...
Thanks to Lowe Thiderman for the patch and tests
2012-11-19 16:03:30 -08:00
Anton Danilchenko
5b6db35a74
[1.5.X] Fixed typo in docs/ref/models/querysets.txt
...
Backport of 76859e6eab
from master
2012-11-19 18:46:36 -05:00
Anton Danilchenko
27ecabf73f
[1.5.X] Fixed typo in docs/releases/1.5.txt
...
Backport of 3bdb2ca560
from master
2012-11-19 18:44:53 -05:00
Tim Graham
17c61aaea3
[1.5.X] Fixed #19306 - Improved syndication example.
...
Thanks brycenesbitt for the report.
Backport of 1f1f60d12f
from master
2012-11-18 18:09:00 -05:00
Tim Graham
c262252c27
[1.5.X] Fixed #19308 - Clarified stringformat filter example
...
Thanks Shabda Raaj.
Backport of 2564e31014
from master
2012-11-17 19:32:51 -05:00
Tim Graham
31da2a5e56
[1.5.X] Fixed #13997 - Added an example of constructing a MultiWidget and documented the value_from_datadict method.
...
Backport of 04775b4598
from master
2012-11-17 17:55:05 -05:00
Aymeric Augustin
e8da482bbe
[1.5.x] Fixed #19315 -- Improved markup in admin FAQ.
...
Thanks ClaesBas.
Backport of ccb2b57
from master.
2012-11-17 23:27:27 +01:00
Aymeric Augustin
6e598fee93
[1.5.x] Fix typo in file storage docs.
...
Backport of 4585e12
from master.
2012-11-17 23:27:05 +01:00
Aymeric Augustin
a586f2a7e5
[1.5.x] Fixed #19291 -- Completed deprecation of ADMIN_MEDIA_PREFIX.
...
Backport of 9b755a2
from master.
2012-11-17 23:05:16 +01:00
Tom Christie
9fa6aa9534
[1.5.x] Formatting tweaks.
...
(cherry picked from commit 3f2fc2f41a
)
2012-11-17 21:31:21 +01:00
Tom Christie
2fdb7e6ca5
[1.5.x] Include `versionadded 1.5` directive
...
(cherry picked from commit 5bc6929f9a
)
2012-11-17 21:31:07 +01:00
Tom Christie
2bfea36208
[1.5.x] Add 'page_kwarg' attribute to `MultipleObjectMixin`, removing hardcoded 'page'.
...
(cherry picked from commit 502be865c6
)
2012-11-17 21:30:22 +01:00
Tim Graham
04adb7626b
[1.5.X] Fixed #16779 - Added a contributing tutorial
...
Thank-you Taavi Taijala for the draft patch!
Backport of 7058b595b6
from master
2012-11-17 14:12:18 -05:00
Preston Holmes
11539aad1e
[1.5.x] Fixed #19310 -- changed method docs formatting for custom file storage docs
2012-11-17 07:13:37 -08:00
Tim Graham
d69c3bf137
[1.5.X] Documented that contrib.sites creates a default site.
...
Thanks Lorin Hochstein for the patch.
Backport of ac4aa8a76c
from master
2012-11-17 06:50:54 -05:00
Preston Holmes
0d49fdb573
[1.5.x] Fixed #18985 -- made DeprecationWarnings loud
...
Capture warnings in Python >= 2.7 and route through
console handler, which is subject to DEBUG==True
Thanks to dstufft for the idea, and claudep for initial patch
2012-11-16 17:08:02 -08:00
Brandon Adams
cefbf09a4d
[1.5.X] Fixed docs noting comment_will_be_sent returns a 400, not a 403
...
Backport of d8ee46afff
from master
2012-11-16 18:20:11 -05:00
Tim Graham
dea4214bb5
[1.5.X] Fixed #19289 - Removed an out of place sentence in tutorial 2.
...
Thanks colinnkeenan for the report.
Backport of 2dbfa66f4d
from master
2012-11-14 05:49:12 -05:00
Alex Gaynor
911d3581ea
[1.5.x] fixed a broken link in the docs. Backport of 1e34fd3c03
2012-11-13 14:49:08 -08:00
David Cramer
d33f8d0f54
[1.5.x] Correct link to Sentry
...
django-sentry is no longer maintained, and sentry is the replacement.
Backport of 54fbe6c
and c91a127
from master, as requested by Mr Gaynor.
2012-11-13 23:00:35 +01:00
Aymeric Augustin
5e9af1600d
[1.5.x] Fixed #19283 -- Fixed typo in imports in CBV docs.
...
Backport of 00ff69a
from master.
2012-11-13 20:47:26 +01:00
Tim Graham
897d8adb1c
[1.5.X] Fixed #19260 - Added a comment to tutorial 1.
...
Thanks terwey for the suggestion.
Backport of a72b8a2247
from master
2012-11-13 05:46:46 -05:00
Nicolas Ippolito
b3ea37e304
[1.5.X] Typo in comments doc
...
Backport of 17b14d4819
from master
2012-11-13 05:25:11 -05:00
Tim Graham
3344d8de3e
[1.5.x] Merge pull request #506 from gwrtheyrn/ipv6_doc_fix
...
Fixed invalid ipv4 mapped ipv6 addresses in docs
Backport of 19eb56a277
from master
2012-11-09 05:49:27 -05:00
Claude Paroz
087274d08f
[1.5.x] Fixed #19266 -- Added Texinfo documentation target
...
Thanks orontee for the report and initial patch.
Backport of a79d920a56
from master.
2012-11-09 09:03:52 +01:00
Claude Paroz
b872617924
[1.5.x] Fixed #19115 -- Documented stdout/stderr options for call_command
...
Thanks d1ffuz0r for helping with the patch.
Backport of b1ac329ba
from master.
2012-11-07 18:36:17 +01:00
Tim Graham
5b190733e9
[1.5.X] Fixed #19161 - Added missing clean_password method in custom user docs
...
Thanks DavidW for the report.
Backport of e8f696097b
from master
2012-11-06 19:46:40 -05:00
Tim Graham
4f36ea451d
[1.5.X] Fixed #15968 - Noted that readonly_fields are excluded from the ModelForm
...
Backport of a386675a6a
from master
2012-11-06 19:04:38 -05:00
Tim Graham
84e33545c9
[1.5.X] Fixed #19154 - Noted commit_manually requires commit/rollback for reads
...
Thanks als for the report.
Backport of 620e0bba49
from master
2012-11-06 17:50:00 -05:00
Tim Graham
79209dfdc5
[1.5.X] Fixed #19246 - Updated SECURE_PROXY_SSL_HEADER example to use 'X-Forwarded-Proto'
...
Thanks Fred Palmer for the report.
Backport of 2cc1884383
from master
2012-11-06 05:18:12 -05:00
Tim Graham
f7d87b30fb
[1.5.X] Fixed #15591 - Clarified interaction between ModelForm and model validation.
...
Backport of d3fd8a1512
from master
2012-11-05 18:30:50 -05:00
Daniel Greenfeld
dbe984c397
Fixed #19241 -- Improved floatformat docs
...
Demonstrate how to round to integers using floatformat templatetag
2012-11-04 17:45:30 -08:00
Alex Gaynor
f7552a2889
[1.5.x] Corrected a typo that inadvertently made its way into the docs. Backport of 0a49e6164c
.
2012-11-04 15:45:20 -08:00
Alex Gaynor
32d5f03f10
[1.5.x] Added multi-column indexes to the 1.5 release notes. Backport of 957787ace0
.
2012-11-04 15:41:58 -08:00
Preston Holmes
3bb8c6e1cd
[1.5.x] Added a note and link to CLA from contributing docs
2012-11-04 12:26:23 -08:00
Alex Gaynor
4f6e9c6af2
[1.5.x] Merge pull request #493 from edavis/fix-get-foo-display-docs
...
Fixed formatting of get_FOO_display example
2012-11-04 11:18:45 -08:00
Alex Gaynor
6f716e9e5f
[1.5.x] Fixed #5805 -- it is now possible to specify multi-column indexes. Thanks to jgelens for the original patch. Backport of 4285571c5a
.
2012-11-04 10:26:59 -08:00
Tim Graham
26e0651c42
[1.5.X] Fixed #19090 - Added PostgreSQL connection note.
...
Thanks Melevir for the patch.
Backport of 249c3d730e
from master
2012-11-04 05:35:38 -05:00
Claude Paroz
b61778dcf6
[1.5.x] Fixed #6234 -- Removed obsolete note about json and ensure_ascii
...
Thanks aaron at cellmap.ca for the report.
Backport of 4e8d9524c
from master.
2012-11-03 23:56:04 +01:00
Aymeric Augustin
d7688a010a
[1.5.x] Fixed #18963 -- Used a subclass-friendly pattern
...
for Python 2 object model compatibility methods.
Backport of fc10418
from master.
2012-11-03 22:08:05 +01:00
Markus Zapke-Gründemann
4b2fb7efea
[1.5.X] Fixed #19230 -- Extended the handler403 documentation.
...
Backport of 0546794397
from master.
Added a paragraph on how to use the PermissionDenied exception to create a 403
response and use handler403.
2012-11-03 17:19:26 +01:00
Ulrich Petri
f12fa7750c
[1.5.X] Fixed #17549 -- Added a clickable link for URLFields in admin change list.
...
Backport of ac2052ebc8
from master.
2012-11-03 11:59:16 +01:00
Tim Graham
4a9b3826fd
[1.5.X] Fixed #16841 - Documented a couple ModelAdmin methods
...
* ModelAdmin.get_changelist_form and get_changelist_formset
* InlineModelAdmin.get_formset
Thanks Jordan Reiter for the report.
Backport of 39f5bc7fc3
from master
2012-11-03 05:25:55 -04:00
Preston Holmes
0131da0622
[1.5.x] Deprecated depth kwarg on select_related.
...
This is the start of a deprecation path for the depth kwarg on
select_related. Removing this will allow us to update select_related so
it chains properly and have an API similar to prefetch_related.
Thanks to Marc Tamlyn for spearheading and initial patch.
refs #16855
2012-11-02 22:03:55 -07:00