Commit Graph

5047 Commits

Author SHA1 Message Date
Tim Graham 34718395ed [1.5.x] Fixed #19640 - Added inlineformset_factory to reference docs.
Thanks wim@ for the suggestion.

Backport of 5b2d9bacd2 from master
2013-01-22 07:58:09 -05:00
Tim Graham f6257a147d [1.5.x] Fixed #19628 - Noted that app for custom user model must be in INSTALLED_APPS
Thanks dpravdin and Jordan Messina.

Backport of 0375244eae from master
2013-01-18 18:39:29 -05:00
Aymeric Augustin d90abcc9da [1.5.x] Fixed #19632 -- Bug in code sample.
Thanks grossmanandy at bfusa com and Simon Charette.

Backport of 1dd7492.
2013-01-18 20:52:25 +01:00
Tim Graham 40d8b6e28c [1.5.x] Fixed #19597 - Added some notes on jQuery in admin.
Thanks Daniele Procida.

Backport of d406afe12e from master
2013-01-15 20:01:08 -05:00
Aymeric Augustin 464e9669a1 [1.5.x] Fixed a typo in the error reporting docs.
Backport of 83d0cc52.
2013-01-15 16:56:03 +01:00
Aymeric Augustin 6428f1cb72 [1.5.x] Fixed #19614 -- Missing request argument in render call.
Thanks Dima Pravdin for the report.

Backport of 74d72e2.
2013-01-15 14:37:25 +01:00
Tim Graham b7828705c8 [1.5.x] Clarified WizardView.get_form_prefix doc, refs #19024
Backport of c9b577ead6 from master
2013-01-15 08:09:43 -05:00
Tim Graham 360676d9d8 [1.5.x] Fixed #19605 - Removed unused url imports from doc examples.
Thanks sergzach for the suggestion.

Backport of 43f89e0ad6 from master
2013-01-15 07:52:06 -05:00
Ramiro Morales 9d4f906d47 [1.5.x] Minor DEBUG setting reference formatting edit.
1bbd36a36a from master.
2013-01-14 09:52:13 -03:00
Vinod Kurup 863e0ab57d [1.5.x] Fixed code examples in which render() calls were missing `request` parameter.
5362134090 from master.
2013-01-14 09:50:58 -03:00
Tim Graham 64f1a175bd [1.5.X] Added details on minified jQuery and DEBUG mode for contrib.admin.
Thanks Daniele Procida.

Backport of 4720117a31 from master
2013-01-13 15:12:50 -05:00
Aymeric Augustin d828c5c3a0 [1.5.x] Fixed typo in file storage docs.
Thanks Jørgen Abrahamsen.

Backport of 0ca2d1e.
2013-01-13 19:37:21 +01:00
Stephan Jaekel f16eb0b0d0 [1.5.x] Fixed #19024 -- Corrected form wizard docs for get_form_prefix.
Backport of 17f8496fe from master.
2013-01-12 15:55:42 +01:00
Tim Graham b86c3ddce8 [1.5.x] Fixed #19437 - Clarified pip install instructions in contributing tutorial.
Backport of 9f9a7f03d7 from master
2013-01-11 08:10:32 -05:00
Tim Graham c94fcc4117 [1.5.x] Fixed #10239 - Added docs for modelform_factory
Thanks ingenieroariel for the suggestion and slurms for the review.

Backport of 71d76ec011 from master
2013-01-11 06:01:19 -05:00
Tim Graham 72ef63bf86 [1.5.x] Fixed #19588 - Added create_superuser to UserManager docs.
Thanks minddust for the report.

Backport of 4da5947a87 from master
2013-01-10 15:17:37 -05:00
Tim Graham f9604c8247 [1.5.x] Addeded CSS to bold deprecation notices.
Thanks Sam Lai for mentioning this on the mailing list.

Backport of 227bd3f8db from master
2013-01-09 19:05:00 -05:00
Tim Graham 7f7b6a369b [1.5.x] Fixed #19586 - Removed URL_VALIDATOR_USER_AGENT from setting docs.
It was removed in Django 1.5, not deprecated.

Backport of 066cf2d70e from master
2013-01-09 18:34:36 -05:00
Tim Graham 7c39e041b1 [1.5.x] Added sphinx substitutions in place of hardcoded version numbers.
Refs #19571

Backport of 1884868adc from master
2013-01-08 15:59:42 -05:00
Tim Graham c95ae7729f [1.5.x] Fixed #19555 - Removed '2012' from tutorial 1.
Thanks rodrigorosa.lg and others for the report.

Backport of 99315f709e from master
2013-01-08 15:45:27 -05:00
Carl Meyer b6119a6373 [1.5.x] Fixed typo in 1.5 release notes; thanks Jonas Obrist.
Backport of bb7f34d619 from master.
2013-01-07 20:17:55 -07:00
Claude Paroz 012229914c [1.5.x] Created special PostgreSQL text indexes when unique is True
Refs #19441.
Backport of c698c55966 from master.
2013-01-07 21:02:02 +01:00
Claude Paroz 7ca9b71628 [1.5.x] Fixed #19571 -- Updated runserver output in the tutorial
Backport of a890469d3 from master.
2013-01-06 23:00:29 +01:00
Preston Holmes f02e1167d7 [1.5.x] Fixed #19562 -- cleaned up password storage docs
Conflicts:

	docs/topics/auth/passwords.txt
2013-01-04 18:04:28 -08:00
James Bennett f23d3ce8d4 [1.5.x] Bump version numbers for 1.5 RC 1. 2013-01-04 12:49:58 -06:00
Tim Graham be1e006c58 [1.5.x] Fixed #19516 - Fixed remaining broken links.
Added -n to sphinx builds to catch issues going forward.

Backport of 9b5f64cc6e from master.
2013-01-02 18:50:00 -05:00
Chris Beaven 61c861546b [1.5.x] Update doc example for overriding change_form.html
Slightly reworded another related paragraph for clarity, too.

Backport of 3f890f8.
2013-01-03 11:38:58 +13:00
Tim Graham da2cdd3a0f [1.5.X] Fixed #19549 - Typo in docs/topics/auth/default.txt
Backport of 695b2089e7 from master
2013-01-02 15:33:58 -05:00
Tim Graham 520a3f090c [1.5.X] Fixed #19520 - Corrected some misleading docs about template_name_suffix.
Thanks jnns for the report.

Backport of 0d3f16b12e from master
2013-01-01 18:47:12 -05:00
Julien Phalip dfd8623de4 [1.5.x] Fixed #19453 -- Ensured that the decorated function's arguments are obfuscated in the @sensitive_variables decorator's frame, in case the variables associated with those arguments were meant to be obfuscated from the decorated function's frame.
Thanks to vzima for the report.
Backport of 9180146d21
2012-12-31 09:51:13 -08:00
Aymeric Augustin fd1279a44d [1.5.x] Fixed #19519 -- Fired request_finished in the WSGI iterable's close().
Backport of acc5396.
2012-12-31 12:49:10 +01:00
Tim Graham 9e5ada79bf [1.5.x] Fixed broken links, round 4. refs #19516
Backport of 067505ad19 from master
2012-12-29 15:57:57 -05:00
Claude Paroz 0c96aae700 [1.5.x] Added links to default widget in forms.fields documentation
Backport of 2d0b35d2bb from master.
2012-12-29 11:32:20 +01:00
Aymeric Augustin be4259004f [1.5.x] Fixed #18970 -- Documented know limitations under Python 3.
Backport of 37b3fd2 from master.
2012-12-28 21:44:45 +01:00
Preston Holmes 8d1b190248 [1.5.x] Fixed #19498 -- refactored auth documentation
The auth doc was a single page which had grown unwieldy.
This refactor split and grouped the content into sub-topics.
Additional corrections and cleanups were made along the way.
2012-12-28 11:48:05 -08:00
Tim Graham fbc06eef1a [1.5.X] Fixed broken links, round 3. refs #19516
Backport of b3a8c9dab8 from master
2012-12-26 19:10:50 -05:00
Aymeric Augustin e2396bf122 [1.5.x] Updated documentation on localflavor translations
to account for the deprecation of django.contrib.localflavor in 1.5.

Refs #19482.
2012-12-26 14:44:57 +01:00
Aymeric Augustin 0c79e5e347 [1.5.x] Fixed #19518 -- Documented the deprecation of localflavor.
Also moved the contrib deprecations at the top of their section and made
minor markup fixes.

Backport of 4500d35 from master.
2012-12-26 14:30:11 +01:00
Tim Graham 1c1df12388 [1.5.X] Fixed more broken links. refs #19516
Backport of 9c5a6adf33 from master
2012-12-25 04:46:28 -05:00
Ramiro Morales 8738da03c6 [1.5.x] Updated Python versions supported FAQ entry. 2012-12-24 19:06:57 -03:00
Julien Phalip 3ad34c231b [1.5.x] Fixed #19505 -- A more flexible implementation for customizable admin redirect urls.
Work by Julien Phalip.

Refs #8001, #18310, #19505. See also 0b908b92a2.

35d1cd0b28 from master.
2012-12-24 18:12:13 -03:00
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