Commit Graph

3315 Commits

Author SHA1 Message Date
Russell Keith-Magee 591ad8afbf Fixed #14512 -- Added documentation on how to apply decorators to class-based generic views. Thanks to Łukasz Rekucki for his work on the issue.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14642 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-20 05:10:13 +00:00
Luke Plant ec7c49f253 Fixed hyperlinking of template tags for Sphinx >= 1.0
Follow on from incomplete fix in [14477], and [14631] which removed
compatibility for Sphinx < 1.0

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14639 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-20 01:37:54 +00:00
Ian Kelly 58eca97e71 Updated an old workaround described in the Oracle backend notes with more modern advice.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14637 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-20 01:11:34 +00:00
Ramiro Morales f609306349 Removed compatibility with Sphinx < 1.0 workarounds in our extension code. Also, started to use the 'needs_sphinx' Sphinx config var.
Follow up on r14624.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14631 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-19 23:19:56 +00:00
Ian Kelly c0adc62fcc Fixed #13351: Added documentation about the cx_Oracle 'threaded' option to the oracle backend notes.
Thanks to Skaffen for the suggestion.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14630 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-19 23:19:23 +00:00
Carl Meyer 59c84b4391 Bumped documentation-building requirements to Sphinx 1.0.2 and Pygments 1.1. The use of 'console' highlight in staticfiles docs requires Pygments 1.1.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14624 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-19 16:10:23 +00:00
Russell Keith-Magee 99d247f4cb Fixed #13795 -- Added a site-wide cache prefix and cache versioning. Thanks to bruth for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14623 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-19 15:39:35 +00:00
Carl Meyer 261aee26c1 Fixed #14728 -- Broadened warning about django-admin.py missing .py suffix to include more than just Ubuntu, since at least Fedora also does this. Thanks to giallu for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14621 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-19 14:26:01 +00:00
Alex Gaynor 49d831380f Corrected the way databases were compared. This allows running the test suite with two in memory SQLite databases.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14619 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-19 08:08:08 +00:00
Luke Plant 9cebb526f2 Fixed incorrect path to MultipleObjectMixin in docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14611 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-18 01:53:38 +00:00
Luke Plant a205fe9378 Added notes in old generic views howto about the new class based approach.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14610 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-18 01:29:41 +00:00
Luke Plant 9712f4c7a4 Corrected link in release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-18 01:29:25 +00:00
Alex Gaynor 0aeb6c964a Added a hidden toctree pointing at the index file in the docs to silence a sphinx warning.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14605 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-17 20:26:20 +00:00
Alex Gaynor 204253ed40 Fixed #14713 -- documented that resolve can raise Http404. Thanks to Adam for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14603 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-17 20:03:15 +00:00
Alex Gaynor c0248f6f07 Corrected some syntax issues in the docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14598 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-17 16:08:28 +00:00
Jannis Leidel 17b329ae08 Fixed #10004 and #12320 -- Enabled the makemessages management command to collect comments for translators that start with the "Translators" keyword. Thanks for the report and patches, martinb and Claude Paroz.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14595 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-17 15:37:33 +00:00
Jannis Leidel d7ad02ff72 Fixed a bunch of code examples in the form media documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14594 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-17 15:36:58 +00:00
Jannis Leidel 33d8fcde8a Fixed #14693, #14709 -- Backwards incompatible change to rectify the confusion around the STATICFILES_URL and STATICFILES_ROOT settings.
* Two new global settings that will be used by -- **but are not limited to** -- the staticfiles app: STATIC_ROOT and STATIC_URL.

  * Moving the 'django.contrib.staticfiles.templatetags.staticfiles' template tag to the core ('django.templatetags.static') and renaming it to 'get_static_prefix'.

  * Moving the context processor 'django.contrib.staticfiles.context_processors.staticfiles' to the core ('django.core.context_processors.static') and renaming it to 'static'.

  * Paths in media definitions will use STATIC_URL as the prefix if the value is not None, and falls back to the previously used MEDIA_URL.

Thanks again to the community for constructive criticism and Carl and Russ for sanity-inducing discussions on IRC.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14592 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-17 15:36:26 +00:00
Chris Beaven 3e9d2f81c5 Remove an obsolete admonition in tutorial one (referencing 0.96 functionality)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14585 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-17 02:25:20 +00:00
Alex Gaynor 5b4c6fd5e4 Fixed #14706 -- corrected a stray backtick in the docs. Thanks to Adam for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14583 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-17 01:57:23 +00:00
Chris Beaven ea145923fc Better cross-referencing of the USE_THOUSAND_SEPARATOR setting in documentation. Thanks to Klaas van Schelven for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14578 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-16 21:33:48 +00:00
Luke Plant b9e6db4ae8 Added info about using logging to the 'Error reporting' howto.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14573 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-16 14:00:38 +00:00
Luke Plant 165f13dc88 Corrected 'email' to 'e-mail' in error reporting docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14571 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-16 13:30:31 +00:00
Alex Gaynor e69bc74351 Fixed #14696, corrected some messed up syntax in the docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14566 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-16 02:21:07 +00:00
Ramiro Morales 2b344d2628 Fixed #14536 -- Corrected DB connection OPTIONS examples in documentation. Thanks denilsonsa for reporting the error.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14559 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-14 14:15:58 +00:00
Jannis Leidel 9b7be918ed Fixed #12325 -- Allows zero values for moderate_after and close_after fields of comment moderators. Thanks, Gabriel Hurley.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14556 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-13 18:42:56 +00:00
Jannis Leidel 3b29fe353b Added release notes for potential alpha-2.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14554 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-13 18:42:11 +00:00
Jannis Leidel e9f3899b20 Refactored runserver command and moved code related to staticfiles to a subclass that is enabled if staticfiles app is installed.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14553 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-13 18:41:55 +00:00
Jannis Leidel 1ed62706e7 Fixed a few typos introduced in r14533.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14552 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-13 18:41:24 +00:00
Luke Plant d9ae7c6b37 Corrected default value for ADMIN_MEDIA_PREFIX in docs, and added info about how it integrates with staticfiles.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14551 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-13 03:55:06 +00:00
James Bennett bd83177c70 Correct a typo in [14541].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14542 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-12 16:35:40 +00:00
James Bennett dc0accb5a3 Better description in the release notes of what's going on with the PasswordInput change.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14541 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-12 16:12:38 +00:00
Gabriel Hurley b951ffbc6b Fixed #14669 -- corrected an ungrammatical sentence in the internationalization docs. Thanks to steveire for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-12 02:48:26 +00:00
Jannis Leidel 70edd4e103 Reverted deprecation of media context processor (from r14293) to separate static files and media files a bit more.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14535 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-11 21:44:33 +00:00
Jannis Leidel 63023e6ad9 Added AdminMediaHandler to deprecation docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14534 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-11 21:44:05 +00:00
Jannis Leidel 8e96584f63 Fixed #14524, #14582, #14617, #14665 and #14667 -- Tweaked staticfiles app.
* Updated StaticFilesHandler and AdminMediaHandler
  to make use of the 404 handler if needed.

* Updated runserver management command to serve static files
  only in DEBUG mode (or if specified the --insecure option)
  and if the staticfiles app is in INSTALLED_APPS. Also added
  an option to disable serving completely (--nostatic).

* Added check in debug mode if STATICFILES_* settings are
  different to MEDIA_* settings.

* Removed a faulty PendingDeprecationWarning in AdminMediaHandler
  that is triggered every time runserver is used.

* Fixed an issue with the modification time checks when
  running collectstatic.

* Extended and refined documentation.

Thanks to everyone for input, especially to Carl Meyer, Ted Kaemming and
Adam Vandenberg for patches.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14533 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-11 21:43:49 +00:00
Jannis Leidel 216fdfab61 Added note about the addition of the django.contrib.staticfiles app. Thanks to Florian Apolloner for reminding me about it and providing a patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14532 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-11 21:43:04 +00:00
Gabriel Hurley b0590110c7 Turns out that "unintended paragraph break" was actually missing the end of the sentence. Now the paragraph is a complete thought. Fixed in 1.3 alpha release notes and 1.3 notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14524 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-11 08:22:58 +00:00
Gabriel Hurley 75a64d7a22 Small corrections to 1.3-alpha release notes (an unintended paragraph break, bad link, stray backtick, etc.).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14523 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-11 08:01:03 +00:00
James Bennett 0b25176ed8 Add 1.3 alpha notes to release-notes index.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14522 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-11 07:21:07 +00:00
James Bennett 6a403c4676 Remove the 1.3 paragraph from the alpha notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14521 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-11 07:20:31 +00:00
James Bennett 264711ef7a Correct a typo in the 1.3 alpha release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14518 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-11 07:14:28 +00:00
James Bennett 185254a205 Add roadmap and contributing boilerplate to 1.3 alpha notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14517 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-11 07:06:27 +00:00
James Bennett ac25387b05 Add 1.3 alpha 1 release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14516 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-11 07:02:02 +00:00
Carl Meyer 616b30227d Fixed #7539, #13067 -- Added on_delete argument to ForeignKey to control cascade behavior. Also refactored deletion for efficiency and code clarity. Many thanks to Johannes Dollinger and Michael Glassford for extensive work on the patch, and to Alex Gaynor, Russell Keith-Magee, and Jacob Kaplan-Moss for review.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14507 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-09 16:46:42 +00:00
Carl Meyer 3ba3294c6b Fixed #14599 -- Added documentation for QuerySet.delete() in the QuerySet API reference. Thanks to abeld for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14505 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-09 16:33:48 +00:00
Alex Gaynor 60ad315bc9 Fixed #14650 -- noted that underscores are also valid in slug fields. Thanks to stringify for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14503 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-09 05:18:47 +00:00
Ramiro Morales 7a5c54e9b7 Fixed typo in raw SQL docs example.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14501 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-09 05:04:05 +00:00
Adrian Holovaty 2380584783 Small rewording of tutorial01.txt changes from [14066]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14499 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-08 21:52:32 +00:00
Jacob Kaplan-Moss d30fe03e6b Fixed #14641 - a handful of grammer/typo fixes.
Thanks, programmerq.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14497 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-08 20:37:52 +00:00
Gabriel Hurley d6e33795a9 Fixed #11877 -- Documented that HttpRequest.get_host() fails behind multiple reverse proxies, and added an example middleware solution. Thanks to Tom Evans for the report, and arnav for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14493 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-07 23:02:24 +00:00
Ramiro Morales f90b0f6d69 Completed and enhanced links to database-specific notes from the install docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14491 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-07 21:42:11 +00:00
Alex Gaynor c6e64aaa66 Fixed #14636 -- corrected bad formatting in the docs, which was resulting in an invalid link.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14486 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-07 15:21:47 +00:00
Gabriel Hurley 682f4cf9ed Fixed #12975 -- Moved the docs for contrib.admindocs out of the template docs and into their own reference section, and significantly improved the documentation of what admindocs can do. Thanks to jabapyth for the report, and whiteinge for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14484 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-07 09:21:55 +00:00
Gabriel Hurley 7f2b36050e Fixed #10904 -- Corrected inappropriate usage of the term "absolute URL" throughout the docs. Replaced with the (RFC 2396-compliant) terms "absolute path reference" or "absolute path" as appropriate for the context. Thanks to sharan666 for the report, and Malcolm, Chris, and dwillis for their work in supplying a solution and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14482 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-07 01:42:55 +00:00
Gabriel Hurley 1a878f30b0 Fixed #8325 -- Reorganization and expansion of the login_required decorator docs to make it clearer how the redirect_field_name parameter works and improve the overall flow of the text. Thanks to Robert Reeves for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14480 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-07 00:56:59 +00:00
Gabriel Hurley 11b012038c Fixed #14600 -- Added a versionchanged directive to the TEMPLATE_CONTEXT_PROCESSORS setting reference, and added a currentmodule directive to the staticfiles docs so that the crossref targets would point to the right place even with full paths in the staticfiles docs. Thanks to mathijs for the report and suggested text.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14479 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-06 23:30:10 +00:00
Luke Plant 4eec036ab3 Added a README for building offline HTML docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14478 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-06 17:44:26 +00:00
Luke Plant 57f49453c7 Fixed hyperlinking of template tags/filters in offline docs so that non-builtin tags/filters are not hyperlinked to a page where no docs for them exist
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14477 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-06 17:42:21 +00:00
Gabriel Hurley f6824840a2 Fixed #14627 -- Made Tutorial 3 more explicit regarding the transformations the URLconf undergoes in the final two sections, and gave an example of concatenating two patterns() in the process. Thanks to filmer for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14472 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-06 10:06:30 +00:00
Gabriel Hurley 63046ec1ee Fixed #14624 -- Updated a few outdated references to CacheMiddleware in the transactions topic guide. Thanks to quinode for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14470 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-06 09:19:53 +00:00
Alex Gaynor cf03598eec Fixed #14629 -- corrected a misspelling and poor wording in the docs. Thanks to OldTroll for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14466 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-06 03:26:17 +00:00
Alex Gaynor 3d650b4913 Fixed #14619 -- corrected a typo in the email docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14463 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-04 21:09:51 +00:00
Jannis Leidel efc5384a32 Fixed #6476 -- Added option to makemessages management command to disable wrapping of long lines. Thanks to pytechd for the initial patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14454 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-04 12:08:37 +00:00
Jannis Leidel 05db03c206 Fixed typo in i18n docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14451 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-04 10:48:45 +00:00
Jannis Leidel 83aeb3c768 Fixed #9988 -- Added support for translation contexts. Thanks, Claude Paroz.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14450 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-04 10:48:27 +00:00
Justin Bronn cabc21ca60 Fixed #14318 -- Added `GEOSGeometry.valid_reason` property. Thanks, Rob Coup.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14447 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-04 01:29:37 +00:00
Russell Keith-Magee a89e02637b Fixed #13567 -- Added a 'silent' argument to the cycle tag, so that you can declare a cycle without producing a value in the template. Thanks to anentropic for the suggestion and initial patch, and Łukasz Rekucki for the final patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14439 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-02 13:42:30 +00:00
Gabriel Hurley bb062c376f Fixed #14584 -- Documented settings.PASSWORD_RESET_TIMEOUT_DAYS. Also fixed some cross-refs in the neighborhood. Thanks to hop for the report and Adam Mckerlie for the draft patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14437 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-02 11:53:01 +00:00
Russell Keith-Magee 5c05233ffc Fixed #14455 -- Documented the backwards compatibility policy for local flavors. Implemented the policy for the changes in the Indonesian local flavor (from r14195) that stimulated the development of this policy. Thanks to Karen, Alex, Ramiro and Chris for their help developing the policy.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14411 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-01 00:52:58 +00:00
Alex Gaynor 799a3057cd Fixed a typo in the class based views docs, thanks to lasko for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-31 23:32:38 +00:00
Ramiro Morales 429473a522 Fixed #13503 -- Corrected misleading custom permission example in the docs.
Thanks Daniel Moisset for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14403 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-31 02:34:01 +00:00
Russell Keith-Magee ccc49029b8 Fixed #14181 -- Added a template tag and filters to allow localization to be disabled in a template. Thanks to Benjamin Wohlwend for the work on the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14395 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-29 16:48:58 +00:00
Russell Keith-Magee 269e921756 Fixed #9886 -- Added a file-like interface to HttpRequest. Thanks to Ivan Sagalaev for the suggestion and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14394 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-29 16:39:25 +00:00
Honza Král cb17f7ca22 Fixed #14560 -- Enable HEAD requests to be cached properly. Thanks, codemonkey!
Introducing ability to cache HEAD requests and GET requests separately by
adding the method to the cache key while preserving the functionality that HEAD
requests can use cached reponses generated by a GET request.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14391 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-29 01:31:15 +00:00
Russell Keith-Magee ded416bc7e Corrected to markup problems with docs added for recent features.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14388 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-28 12:56:44 +00:00
Russell Keith-Magee 98753710a7 Added documentation note for the backwards incompatible change in r13996.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14387 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-28 12:36:51 +00:00
Russell Keith-Magee ea85d4303d Fixed #14231 -- Added an index to the expire_date column on the Session model. Thanks to joeri for the report, via Frodo from Medid.
This won't affect any existing session tables; see the release notes for migration instructions.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14378 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-28 11:56:37 +00:00
Gabriel Hurley 9962f352bf Fixed #14578 -- Corrected a typo in the Models topic docs. Thanks to tobych for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14369 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-28 01:55:58 +00:00
Adrian Holovaty 1356947fad Edited docs/topics/testing.txt change from [14058]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14368 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-27 21:50:58 +00:00
Adrian Holovaty 19a089ce76 Edited docs/ref/models/fields.txt change from [14049]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14367 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-27 21:47:22 +00:00
Ramiro Morales 4239bb0f35 Documented options accepted by the runfcgi management command.
Also, modified our custom management command option docs xref parser
to also process those without a ``--`` prefix. --  Refs #14398.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14361 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-27 15:35:07 +00:00
Alex Gaynor 3761f3b166 Corrected some typos in the tutorial, thanks to Brandon Height for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14358 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-26 18:44:11 +00:00
Gabriel Hurley 298f3d300e Fixed #14562 -- corrected a typo in the static-files howto. Thanks to stephaner for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14355 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-26 12:32:35 +00:00
Chris Beaven 82dca6d4af Replace an incorrect reference to collectmedia in the docs (the command is collectstatic)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14354 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-26 01:16:22 +00:00
Gabriel Hurley 34f003028d Fixed #14047 -- Updated the CommonMiddleware docs to include sending broken link email notifications. Thanks to Leon Matthews for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14352 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-25 21:04:44 +00:00
Gabriel Hurley 9facaec719 Fixed #10545 -- Mentioned that template context variables are scoped to the block in which they're assigned. Thanks to yaniv.haber for the report and timo for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14350 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-25 20:50:53 +00:00
Ramiro Morales 248b1dea3d Removed obsolete 'date' filter -> 'now' tag link.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14346 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-25 12:48:56 +00:00
Alex Gaynor 8a8c0ed0f9 Fixed #14551 -- corrected a type in the remote user auth documentation. Thanks to mag for the report and fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14344 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-24 17:29:24 +00:00
Gabriel Hurley 5d02b86afb Fixed #13040 -- Added info on where to import File class from to File reference docs, and improved Sphinx formatting. Thanks to stherrien for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14339 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-24 09:12:40 +00:00
Gabriel Hurley e4c0c377dd Fixed #11441 -- Improved signal topic guide, particularly regarding the weak and dispatch_uid parameters to the Signal.connect method. Thanks to Mike_A and sayane for the report, and gremmie for the draft patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14337 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-24 08:52:00 +00:00
Gabriel Hurley 6737570aeb Fixed #14526 -- Updated wording regarding the minimum Python version required for GeoDjango. Thanks to PaulM for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14335 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-23 22:24:34 +00:00
Gabriel Hurley a200cc6d54 Fixed #14541 -- Corrected an outdated bit of wording in the LANGUAGES setting docs. Thanks to akelm for the report and suggested fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14333 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-23 22:14:57 +00:00
Gabriel Hurley d371142001 Fixed #14537 -- Added documentation on where validators can be imported from to Validators Reference docs, and improved Sphinx formatting and metadata. Thanks to rfugger for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14331 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-23 22:06:01 +00:00
Gabriel Hurley e18f8b1d22 Fixed #14545 -- Added ValidationError to Exceptions Reference docs and improved Sphinx metadata.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14329 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-23 21:15:35 +00:00
Ramiro Morales b874549807 Fixed #14173 -- Added sections about contrib apps-provided commands to django-admin.py docs.
Added documentation about changepassword, pointers to GeoDjango, sitemaps and
staticfiles commands, grouped them by app.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14327 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-23 16:37:51 +00:00
Ramiro Morales f9def8b873 Fixed #14463 -- Fixed links to new location of date/time format specifiers docs.
Thanks epicserve for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14325 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-23 14:52:01 +00:00
Jannis Leidel c1b3deedaa Fixed #14528 and #14538 -- Refined staticfiles documentation. Thanks, gremmie and romaniuk.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14323 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-23 14:32:20 +00:00
Justin Bronn 4674ef2781 Fixed a typo in the staticfiles docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14322 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-23 09:07:15 +00:00
Alex Gaynor cad4feabad Fixed #14534 -- updated an out of date link in the docs. Thanks to d0ugal for the report and Frank Wiles for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14318 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-22 21:20:00 +00:00