Commit Graph

5231 Commits

Author SHA1 Message Date
Claude Paroz 4e2e8f39d1 Fixed #4833 -- Validate email addresses with localhost as domain 2013-01-11 20:45:46 +01:00
Ramiro Morales 1bbd36a36a Minor DEBUG setting reference formatting edit. 2013-01-11 16:15:17 -03:00
Vinod Kurup 5362134090 Fixed code examples in which render() calls were missing `request` parameter. 2013-01-11 15:52:47 -03:00
Nick Sandford eb6c107624 Fixed #19360 -- Raised an explicit exception for aggregates on date/time fields in sqlite3
Thanks lsaffre for the report and Chris Medrela for the initial
patch.
2013-01-11 18:10:28 +01:00
Tim Graham 9f9a7f03d7 Fixed #19437 - Clarified pip install instructions in contributing tutorial. 2013-01-11 07:01:56 -05:00
Tim Graham 71d76ec011 Fixed #10239 - Added docs for modelform_factory
Thanks ingenieroariel for the suggestion and slurms for the review.
2013-01-11 06:00:19 -05:00
Tim Graham 4da5947a87 Fixed #19588 - Added create_superuser to UserManager docs.
Thanks minddust for the report.
2013-01-10 15:16:25 -05:00
Tim Graham 227bd3f8db Addeded CSS to bold deprecation notices.
Thanks Sam Lai for mentioning this on the mailing list.
2013-01-09 19:03:34 -05:00
Tim Graham 066cf2d70e Fixed #19586 - Removed URL_VALIDATOR_USER_AGENT from setting docs.
It was removed in Django 1.5, not deprecated.
2013-01-09 18:32:27 -05:00
Tim Graham 1884868adc Added sphinx substitutions in place of hardcoded version numbers.
Refs #19571
2013-01-08 15:58:11 -05:00
Tim Graham 99315f709e Fixed #19555 - Removed '2012' from tutorial 1.
Thanks rodrigorosa.lg and others for the report.
2013-01-08 15:43:35 -05:00
Carl Meyer bb7f34d619 Fixed typo in 1.5 release notes; thanks Jonas Obrist. 2013-01-07 20:16:46 -07:00
Claude Paroz c698c55966 Created special PostgreSQL text indexes when unique is True
Refs #19441.
2013-01-07 17:54:30 +01:00
Claude Paroz a890469d3b Fixed #19571 -- Updated runserver output in the tutorial 2013-01-06 22:59:23 +01:00
Anssi Kääriäinen a2396a4c8f Fixed #19173 -- Made EmptyQuerySet a marker class only
The guarantee that no queries will be made when accessing results is
done by new EmptyWhere class which is used for query.where and having.

Thanks to Simon Charette for reviewing and valuable suggestions.
2013-01-06 19:18:28 +02:00
Preston Holmes c8eff0dbcb Fixed #19562 -- cleaned up password storage docs 2013-01-04 18:02:10 -08:00
mpaolini 6248833d9e Added documentation for the 'db' argument of the post-syncdb signal. 2013-01-03 22:04:55 +01:00
Tim Graham 9b5f64cc6e Fixed #19516 - Fixed remaining broken links.
Added -n to sphinx builds to catch issues going forward.
2013-01-02 18:32:57 -05:00
Chris Beaven 3f890f8dc7 Update doc example for overriding change_form.html
Slightly reworded another related paragraph for clarity, too.
2013-01-03 11:37:05 +13:00
Tim Graham 695b2089e7 Fixed #19549 - Typo in docs/topics/auth/default.txt 2013-01-02 15:33:18 -05:00
Tim Graham 0d3f16b12e Fixed #19520 - Corrected some misleading docs about template_name_suffix.
Thanks jnns for the report.
2013-01-01 18:45:57 -05:00
Daniele Procida 08140aec5c Tiny typo fixed in logging docs 2013-01-01 17:12:15 +00:00
Julien Phalip 9180146d21 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.
2012-12-31 09:34:08 -08:00
Aymeric Augustin acc5396e6d Fixed #19519 -- Fired request_finished in the WSGI iterable's close(). 2012-12-31 12:47:34 +01:00
Tim Graham a04df803a5 Removed links to deprecated IGNORABLE_404_STARTS/ENDS settings.
refs #19516 and 641acf76e7
2012-12-29 18:52:50 -05:00
Aymeric Augustin 7ee7599ab3 Removed versionadded/changed annotations dating back to 1.4. 2012-12-29 21:59:08 +01:00
Aymeric Augustin 5d5e1f5afa Removed support is_safe and needs_autoescape as function attributes. 2012-12-29 21:59:07 +01:00
Aymeric Augustin 641acf76e7 Removed IGNORABLE_404_STARTS/ENDS settings. 2012-12-29 21:59:07 +01:00
Aymeric Augustin 4a6490a4a0 Removed HttpRequest.raw_post_data. 2012-12-29 21:59:07 +01:00
Aymeric Augustin ebd2598596 Removed django.contrib.markup. 2012-12-29 21:59:07 +01:00
Aymeric Augustin f27a4ee327 Removed django.contrib.localflavor.
Each localflavor lives on as a separate app.
2012-12-29 21:59:06 +01:00
Aymeric Augustin b2d20e9826 Removed legacy shortcut for importing GeoIP. 2012-12-29 21:58:12 +01:00
Aymeric Augustin 052271168b Removed django.contrib.databrowse.
RIP -- you served us well.
2012-12-29 21:58:12 +01:00
Aymeric Augustin 59ddb79e90 Removed django.conf.urls.defaults. 2012-12-29 21:58:12 +01:00
Tim Graham 067505ad19 Fixed broken links, round 4. refs #19516 2012-12-29 15:54:33 -05:00
Claude Paroz 2d0b35d2bb Added links to default widget in forms.fields documentation 2012-12-29 11:30:12 +01:00
Aymeric Augustin 37b3fd27ae Fixed #18970 -- Documented know limitations under Python 3. 2012-12-28 21:43:34 +01:00
Preston Holmes 11ded967c4 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:06:12 -08:00
Tim Graham b3a8c9dab8 Fixed broken links, round 3. refs #19516 2012-12-26 19:07:22 -05:00
Aymeric Augustin e2ec7b47b3 Updated documentation on localflavor translations
to account for the removal of django.contrib.localflavor in 1.6.

Refs #19482.
2012-12-26 14:45:13 +01:00
Aymeric Augustin 4500d3522d Fixed #19518 -- Documented the deprecation of localflavor.
Also moved the contrib deprecations at the top of their section and made
minor markup fixes.
2012-12-26 14:29:07 +01:00
Tim Graham 9c5a6adf33 Fixed more broken links. refs #19516 2012-12-25 04:44:09 -05:00
Aymeric Augustin b70498d675 Updated installation FAQ entry on Python versions.
The 1.7 line is a reasonnable forecast, not a final decision.
2012-12-25 00:26:46 +01:00
Tim Graham f56f6cfa58 Fixed links to DATABASE ENGINE setting. refs #19516 2012-12-24 15:38:05 -05:00
Julien Phalip 35d1cd0b28 Fixed #19505 -- A more flexible implementation for customizable admin redirect urls.
Work by Julien Phalip.

Refs #8001, #18310, #19505. See also 0b908b92a2.
2012-12-24 15:44:19 -03:00
Aymeric Augustin 9d62220e00 Fixed #15516 -- Updated the ticket life cycle diagram. 2012-12-22 19:01:55 +01:00
Ramiro Morales 38f725da54 Better name for a new testing documentation link. 2012-12-22 12:08:22 -03:00
Ramiro Morales d19109fd37 Fixed #19497 -- Refactored testing docs.
Thanks Tim Graham for the review and suggestions.
2012-12-21 21:59:06 -03:00
Tim Graham 52a2588df6 Fixed #19506 - Remove 'mysite' prefix in model example.
Thanks Mike O'Connor for the report.
2012-12-21 15:52:06 -05:00
Ramiro Morales abd0f304b1 Added PASSWORD_HASHERS to settings reference document. 2012-12-19 15:07:52 -03:00
Tim Graham 6534a95ac3 Fixed #19470 - Clarified widthratio example.
Thanks orblivion for the suggestion.
2012-12-18 08:20:01 -05:00
Tim Graham 31f49f1396 Fixed #19442 - Clarified that raw SQL must be committed.
Thanks startup.canada for the suggestion.
2012-12-18 08:10:12 -05:00
Tim Graham 7df03268a4 Fixed #17312 - Warned about database side effects in tests.
Thanks jcspray for the suggestion.
2012-12-18 08:03:47 -05:00
Tim Graham 72a6ac568d Fixed #19279 - Clarified order of database setup and Django install.
Thanks colinnkeenan for the suggestion.
2012-12-16 15:42:01 -05:00
Aymeric Augustin dbdd253860 Replaced the test case hierarchy schema with a vector version.
The OmniGraffle source file is included for future use.
2012-12-16 21:07:12 +01:00
Tim Graham 507c081484 Fixed #18718 - Documented django.utils.encoding.filepath_to_uri 2012-12-16 14:39:37 -05:00
Aymeric Augustin bf14aed3cc Added PDF version of SVG file for latexpdf builds.
Thanks Tim Graham for reporting this issue and testing the fix.
2012-12-16 19:42:53 +01:00
Russell Keith-Magee 47e1df896b 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.
2012-12-15 22:44:47 +08:00
Russell Keith-Magee bd414aed01 Fixed #19472 -- Documented the testing requirements and tools for custom User models.
Thanks to gcc for the report.
2012-12-15 22:44:47 +08:00
Russell Keith-Magee 1b646e656e 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.
2012-12-15 22:44:46 +08:00
Tim Graham 1e5b0fc4d0 Fixed #19344 - Documented how to run django-admin in a virtualenv on Windows.
Thanks Hourann Bosci for the patch.
2012-12-15 09:25:54 -05:00
Tim Graham b594e4923c Fixed #19342 - Added new tutorials to the 1.5 release notes 2012-12-15 08:29:46 -05:00
Tim Graham b052e6cc95 Fixed #9962 - Added a testing tutorial.
Thank-you Daniele Procida for the first draft
and shaibi, Aymeric, and others for the reviews.
2012-12-15 08:09:40 -05:00
Tim Graham 3984ccbcec Merge pull request #585 from blongden/clarify_php_refs
Removed poor PHP references
2012-12-14 16:33:16 -08:00
Aymeric Augustin a001f3c31e Fixed #2304 -- Documented TRANSACTIONS_MANAGED. 2012-12-14 21:15:48 +01:00
Ben Longden 55a2d5b577 Removes PHP references 2012-12-13 13:20:47 +00:00
Anssi Kääriäinen 088d3bc2f8 Fixed #19462 -- Made assertQuerysetEqual detect undefined ordering
If there are more than one values to compare against and the qs isn't
ordered then assertQuerysetEqual will raise a ValueError.
2012-12-13 13:33:11 +02:00
Tim Graham 6cad5f212a Fixed #19461 - Linked to psycopg in topics/install.txt
Thanks Chris Jerdonek for the suggestion.
2012-12-11 18:43:37 -05:00
Tim Graham 0eed8ece32 Fixed #19377 - Emphasized database host link in tutorial 2012-12-11 16:34:17 -05:00
Florian Apolloner 27560924ec Fixed a security issue in get_host.
Full disclosure and new release forthcoming.
2012-12-10 22:11:40 +01:00
Aymeric Augustin be9f2919e0 Edited the middleware doc for completeness, clarity, and consistency. 2012-12-09 22:30:01 +01:00
Aymeric Augustin ae8e97384b Fixed #12502 -- Improved middleware diagram. 2012-12-09 21:13:26 +01:00
Claude Paroz 8248d14029 Removed US localflavor-specific tests from core
Also fixes #9045.
2012-12-08 21:07:59 +01:00
Aymeric Augustin d5ed81c795 Fixed #19389 -- Docs on the location of contrib apps tests. 2012-12-08 19:47:53 +01:00
Aymeric Augustin b21e0753ae Merge pull request #572 from un33k/master
minor spelling error fix in the docs
2012-12-08 05:51:10 -08:00
Claude Paroz 53b879f045 Fixed #19444 -- Clarified IGNORABLE_404_URLS documentation 2012-12-07 17:39:36 +01:00
Daniele Procida 37abad73d6 Amended explanation of LOCALE_PATHS setting.
Thanks Daniele Procida for the patch.
2012-12-04 20:11:54 -03:00
Val Neekman cacafe89d0 fix a spelling error in docs 2012-12-02 16:26:00 -05:00
Tim Graham 008e625c66 Fixed #19400 - Typo in docs/topics/auth.txt 2012-11-30 15:10:52 -05:00
Claude Paroz 0eeae15056 Fixed #19354 -- Do not assume usermodel.pk == usermodel.id
Thanks markteisman at hotmail.com for the report.
2012-11-29 21:45:43 +01:00
Ramiro Morales b7e44313bb Merge pull request #560 from brutasse/fix/1.5-typos
Fixed typo in the 1.5* release notes. Thanks brutasse.
2012-11-28 15:30:21 -08:00
Ramiro Morales 514ce1d35f Fixed two docstring/comment typos. 2012-11-28 20:28:30 -03:00
Claude Paroz cc3c4a9d55 Fixed #19366 -- Prevented GEOSIndexError when comparing geometries
Thanks Craig de Stigter for the report and collaboration on the
patch.
2012-11-28 22:34:02 +01:00
Bruno Renié a8495fb188 Typo in the 1.5 release notes 2012-11-28 14:19:05 +01:00
Jason Yan eeaab083fe Fixed #19374 -- Typo in docs/ref/models/instances.txt. 2012-11-27 18:57:50 -08:00
Tim Graham 38055222bd Fixed #19239 - Added examples for generic date views
Thank-you Daniel Greenfeld and Scott Nixon.
2012-11-27 19:26:37 -05:00
Tim Graham ba2adc9c05 Fixed #19352 - Added an example in the QuerySet docs.
Thanks colinkeenan for the suggestion.
2012-11-27 18:21:55 -05:00
Jacob Kaplan-Moss 7cea123bde Fixed a couple of typos in the 1.5 (and beta) release notes. 2012-11-27 15:49:00 -06:00
Jacob Kaplan-Moss 7a62339f59 Added 1.5 beta release notes. 2012-11-27 15:30:52 -06:00
Julien Phalip ae206d78f6 Fixed #17646 -- Added a get_list_filter() method to ModelAdmin. Thanks to rasca for the suggestion and to mateusgondim for the patch. 2012-11-25 20:39:23 +01:00
Aymeric Augustin f89901dc05 Fixed two typos. 2012-11-25 19:31:53 +01:00
Ramiro Morales f3a0ecc9ee Changed (again) technique to get version IDs shown in docs from source code.
Hopefully it will fix the problem with the documentation building server
that caused a wrong Django version to be reported in the HTML zipball
docs edition.

Follow-up to commits 373df56 and 0b98ef6.
2012-11-25 11:58:06 -03:00
Aymeric Augustin d266919584 Fixed #19280 -- Raised an explicit exception for the old {% url %} syntax. 2012-11-24 22:10:51 +01:00
Claude Paroz 44815bad6b Removed obsolete contrib.comments upgrade guide
The old comment system was pre-1.0.
2012-11-24 18:10:51 +01:00
Russell Keith-Magee fdb5c98d7e Fixed #19218 -- Added documentation note on limitations of signals with custom User models.
Thanks to kunitoki@gmail.com for the report.
2012-11-24 13:53:44 +08:00
Aymeric Augustin 5c81e9de0f Negligible style fix in docs. 2012-11-23 20:40:42 +01:00
Anssi Kääriäinen 90b86291d0 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.
2012-11-23 19:53:04 +02:00
Tim Graham 9d4baf80c6 Merge pull request #549 from WoLpH/master
Changed an if statement in the docs to a slightly cleaner variant.
2012-11-23 04:12:54 -08:00
Tim Graham 63e6cd1bb3 Fixed #19348 - Clarified the units of filesizeformat.
Thanks george_edison for the report and Claude Paroz for the patch.
2012-11-23 07:00:08 -05:00
Tim Graham c13912ac7f Fixed #19346 - Typo in docs/ref/contrib/gis/install/index.txt 2012-11-22 18:01:20 -05:00
Tim Graham e94f8babc2 Spell checked 1.5 alpha release notes 2012-11-22 17:16:04 -05:00
WoLpH eabb44417c changed if statement to a slightly cleaner/less confusing variant 2012-11-22 22:29:39 +01:00
Tim Graham 0e3690d230 Fixed #18974 - Warned against using models.permalink
Thanks dstufft for the draft patch.
2012-11-22 16:08:51 -05:00
Aymeric Augustin a026e480da Fixed #16039 -- Made post_syncdb handlers multi-db aware.
Also reverted 8fb7a90026. Refs #17055.
2012-11-22 20:53:59 +01:00
Tim Graham 71a3162a70 Documented behavior of get_or_create when multiple objects are returned.
Thanks Matt Lauber for the patch.
2012-11-22 10:36:18 -05:00
Tim Graham 7b2d95eb30 Clarified usage of as_view kwargs for setting arguments on class based views
Thanks Dave McLain for the patch.
2012-11-22 09:07:21 -05:00
Tim Graham 3587991ba8 Fixed #19317 - Added an image for warning blocks in the docs
Thanks tome for the suggestion and patch.
2012-11-22 06:34:15 -05:00
Jannis Leidel 3fb83729b9 Merge branch 'ticket_19325' of https://github.com/hannesstruss/django into hannesstruss-ticket_19325 2012-11-22 10:05:08 +01:00
Preston Holmes d80d05fc67 Added examples of using startproject/app with URLs
thanks to Brent O'Connor for the idea and intial docs
2012-11-21 22:06:59 -08:00
shepdl 8e5573e99a Fixed #19243 - Edited GeoDjango Tutorial for consistency and style. 2012-11-21 19:31:17 -05:00
Tim Graham e2b1808196 Fixed #19335 - Typo and cleanups in docs/topics/class-based-views/index.txt 2012-11-21 19:06:17 -05:00
Chris Beaven 48e8b5e944 Add orphans support to MultipleObjectMixin
Fixes #7005
2012-11-21 16:50:23 +13:00
Luke Plant a32f30c79c Corrected docs about default value of MESSAGE_STORAGE 2012-11-20 23:00:20 +00:00
Hannes Struss f9891f2087 Fixed #19325 - Made email backend of AdminEmailHandler configurable 2012-11-20 11:23:12 +01:00
Preston Holmes edf7ad36fa Fixed #18658 -- Improved ModelAdmin.message_user API
Thanks to Lowe Thiderman for the patch and tests
2012-11-19 16:03:09 -08:00
Tim Graham 8b659e439b Merge pull request #536 from 1st/patch-1
Fixed typo in docs/ref/models/querysets.txt
2012-11-19 15:45:53 -08:00
Tim Graham c559c3c3b9 Merge pull request #537 from 1st/patch-2
Fixed typo in docs/releases/1.5.txt
2012-11-19 15:44:16 -08:00
Tim Graham 1f1f60d12f Fixed #19306 - Improved syndication example.
Thanks brycenesbitt for the report.
2012-11-18 18:07:38 -05:00
Anton Danilchenko 3bdb2ca560 Update docs/releases/1.5.txt
Deleted word that used second time
2012-11-18 21:08:45 +02:00
Anton Danilchenko 76859e6eab Update docs/ref/models/querysets.txt
Fix typo: replace "can can" to "can"
2012-11-18 18:46:39 +02:00
Tim Graham 2564e31014 Fixed #19308 - Clarified stringformat filter example
Thanks Shabda Raaj.
2012-11-17 19:29:31 -05:00
Tim Graham 04775b4598 Fixed #13997 - Added an example of constructing a MultiWidget and documented the value_from_datadict method. 2012-11-17 17:54:09 -05:00
Aymeric Augustin ccb2b574e8 Fixed #19315 -- Improved markup in admin FAQ.
Thanks ClaesBas.
2012-11-17 23:25:52 +01:00
Aymeric Augustin 4585e12318 Fix typo in file storage docs. 2012-11-17 23:25:37 +01:00
Aymeric Augustin 9b755a298a Fixed #19291 -- Completed deprecation of ADMIN_MEDIA_PREFIX. 2012-11-17 22:38:19 +01:00
Jannis Leidel 778b8bdcf4 Merge pull request #467 from tomchristie/page-kwarg
Add 'page_kwarg' attribute to `MultipleObjectMixin`, removing hardcoded "page".
2012-11-17 12:27:01 -08:00
Jannis Leidel 1520748dac Fixed #2550 -- Allow the auth backends to raise the PermissionDenied exception to completely stop the authentication chain. Many thanks to namn, danielr, Dan Julius, Łukasz Rekucki, Aashu Dwivedi and umbrae for working this over the years. 2012-11-17 20:24:54 +01:00
Tim Graham 7058b595b6 Fixed #16779 - Added a contributing tutorial
Thank-you Taavi Taijala for the draft patch!
2012-11-17 14:10:25 -05:00
Preston Holmes 7a38e86bde Fixed #19310 -- changed method docs formatting for custom file storage docs 2012-11-17 07:26:10 -08:00
Tim Graham ac4aa8a76c Documented that contrib.sites creates a default site.
Thanks Lorin Hochstein for the patch.
2012-11-17 06:49:28 -05:00
Preston Holmes 44046e8a38 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:07:38 -08:00
Brandon Adams d8ee46afff comment_will_be_sent can cause a 400, not a 403
Doc cleanup for django.contrib.comments.signals.comment_will_be_sent
If a receiver returns False, an HttpResponse with status code 400
is returned. A test case already exists confirming this behavior.
Updated docs to reflect reality.
2012-11-16 10:19:54 -05:00
Tim Graham 2dbfa66f4d Fixed #19289 - Removed an out of place sentence in tutorial 2.
Thanks colinnkeenan for the report.
2012-11-14 05:46:30 -05:00
Alex Gaynor 1e34fd3c03 fixed a broken link in the docs 2012-11-13 14:48:23 -08:00
David Cramer 54fbe6ce5f Correct link to Sentry
django-sentry is no longer maintained, and sentry is the replacement.
2012-11-13 13:51:50 -08:00
Aymeric Augustin 00ff69a827 Fixed #19283 -- Fixed typo in imports in CBV docs. 2012-11-13 20:46:29 +01:00
Aymeric Augustin e27a43cc54 Merge pull request #509 from pydanny/ticket_19244
Fixed #19244 -- Provided examples for some built-in templatetags and filters
2012-11-13 04:42:53 -08:00
Tim Graham a72b8a2247 Fixed #19260 - Added a comment to tutorial 1.
Thanks terwey for the suggestion.
2012-11-13 05:45:08 -05:00
Daniel Greenfeld 3f65f751a0 Converted <paragraph> to <p> per #aaugustin's request 2012-11-12 16:12:27 -08:00
Nicolas Ippolito 17b14d4819 Typo in comments doc 2012-11-12 22:15:41 +01:00
Aymeric Augustin 4c5cea7073 Merge pull request #218 from mgrouchy/ticket_18582
Fixed #18582 -- Added a no-op close to BaseCache
2012-11-11 07:18:45 -08:00
Tom Christie 3f2fc2f41a Formatting tweaks. 2012-11-09 16:16:58 +00:00
Tom Christie 5bc6929f9a Include `versionadded 1.5` directive 2012-11-09 16:15:19 +00:00
Tim Graham 19eb56a277 Merge pull request #506 from gwrtheyrn/ipv6_doc_fix
Fixed invalid ipv4 mapped ipv6 addresses in docs
2012-11-09 02:48:32 -08:00
Claude Paroz a79d920a56 Fixed #19266 -- Added Texinfo documentation target
Thanks orontee for the report and initial patch.
2012-11-09 09:00:27 +01:00
Daniel Greenfeld 1db5d88273 Added examples for comment, templatetag, escape, force_escape, timesince, and timeuntil 2012-11-08 16:35:39 -08:00
Claude Paroz b1ac329ba9 Fixed #19115 -- Documented stdout/stderr options for call_command
Thanks d1ffuz0r for helping with the patch.
2012-11-07 18:31:14 +01:00
Danilo Bargen b0c72d0a30 Fixed invalid ipv4 mapped ipv6 addresses in docs 2012-11-07 17:13:06 +01:00
Tim Graham e8f696097b Fixed #19161 - Added missing clean_password method in custom user docs
Thanks DavidW for the report.
2012-11-06 19:44:49 -05:00
Tim Graham a386675a6a Fixed #15968 - Noted that readonly_fields are excluded from the ModelForm 2012-11-06 19:03:44 -05:00
Tim Graham 620e0bba49 Fixed #19154 - Noted commit_manually requires commit/rollback for reads
Thanks als for the report.
2012-11-06 17:47:10 -05:00
Tim Graham 2cc1884383 Fixed #19246 - Updated SECURE_PROXY_SSL_HEADER example to use 'X-Forwarded-Proto'
Thanks Fred Palmer for the report.
2012-11-06 05:17:21 -05:00
Tim Graham d3fd8a1512 Fixed #15591 - Clarified interaction between ModelForm and model validation. 2012-11-05 18:24:28 -05:00
Preston Holmes 2cb48fffd4 Removed redundant docs addition across two commits
d5c3c45f2f

a70492e6b5
2012-11-04 19:12:44 -08:00
Bryan Veloso 79a484fc8e Merge pull request #496 from pydanny/ticket_19241
Demonstrate how to round to integers using floatformat templatetag
2012-11-04 18:19:56 -08:00
Daniel Greenfeld a70492e6b5 Fixed #19241 -- Improved floatformat docs
Demonstrate how to round to integers using floatformat templatetag
2012-11-04 17:40:21 -08:00
Daniel Greenfeld d5c3c45f2f Demonstrate how to round to integers using floatformat templatetag 2012-11-04 16:35:40 -08:00
Alex Gaynor 0a49e6164c Corrected a typo that inadvertently made its way into the docs. 2012-11-04 15:44:20 -08:00
Alex Gaynor 957787ace0 Added multi-column indexes to the 1.5 release notes. 2012-11-04 15:41:33 -08:00
Preston Holmes aee9c7b094 Added a note and link to CLA from contributing docs 2012-11-04 12:25:48 -08:00
Eric Davis d94dc2d1fa Fixed formatting of get_FOO_display example 2012-11-04 10:29:10 -08:00
Alex Gaynor 4285571c5a Fixed #5805 -- it is now possible to specify multi-column indexes. Thanks to jgelens for the original patch. 2012-11-04 10:16:06 -08:00
Tim Graham 249c3d730e Fixed #19090 - Added PostgreSQL connection note.
Thanks Melevir for the patch.
2012-11-04 05:32:53 -05:00
Claude Paroz 4e8d9524c6 Fixed #6234 -- Removed obsolete note about json and ensure_ascii
Thanks aaron at cellmap.ca for the report.
2012-11-03 23:53:51 +01:00
Aymeric Augustin fc10418fba Fixed #18963 -- Used a subclass-friendly pattern
for Python 2 object model compatibility methods.
2012-11-03 22:07:35 +01:00
Markus Zapke-Gründemann 0546794397 Fixed #19230 -- Extended the handler403 documentation.
Added a paragraph on how to use the PermissionDenied exception to create a 403
response and use handler403.
2012-11-03 17:18:47 +01:00
Ulrich Petri ac2052ebc8 Fixed #17549 -- Added a clickable link for URLFields in admin change list. 2012-11-03 11:57:33 +01:00
Tim Graham 39f5bc7fc3 Fixed #16841 - Documented a couple ModelAdmin methods
* ModelAdmin.get_changelist_form and get_changelist_formset
* InlineModelAdmin.get_formset

Thanks Jordan Reiter for the report.
2012-11-03 05:22:34 -04:00
Preston Holmes 965cc0b1ff 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:33 -07:00
Preston Holmes 7b57a72d6d Merge pull request #485 from asparagui/add_period
Added missing period in docs
2012-11-02 16:17:25 -07:00
Tim Graham d1de7596b2 Fixed #19120 - Added an example of using ModelAdmin methods for read-only fields.
Thanks Daniele Procida for the patch.
2012-11-02 18:31:03 -04:00
Tim Graham 07361d1fd6 Fixed #19167 - Added a warning regarding module-level database queries
Thanks Daniele Procida for the patch.
2012-11-02 18:19:45 -04:00
Tim Graham 082fad0b83 Cleaned up contrib.admin install instructions.
Thanks Cal Leeming for the patch.
2012-11-02 18:04:27 -04:00
Tim Graham feaf9f279a Fixed #15361 - Documented performance considerations for QuerySet.get()
Thanks mmcnickle for the patch.
2012-11-02 17:58:24 -04:00
Florian Apolloner 0d8432da55 Documented minimal python 3.2 version. 2012-11-02 10:51:10 +01:00
Aymeric Augustin f975c4857d Fixed #19225 -- Typo in shortcuts docs.
Thanks SunPowered for the report.
2012-11-02 09:29:55 +01:00
Tim Graham af7ea808d8 Added WizardView.file_storage exception message and docs
Thanks Danilo Bargen for the patch.
2012-11-01 16:14:51 -04:00
Tim Graham ede8a0be05 Fixed #19179 - Added mention of NamedUrlSessionWizard and NamedUrlCookieWizard; thanks Tom for the report. 2012-11-01 06:58:02 -04:00
Tim Graham dd0d2c0be5 Fixed #19216 - Switched to user level installation in apps tutorial.
Thanks Nick Coghlan for the suggestion.
2012-10-31 19:56:53 -04:00
Brett Koonce c4b71beb65 minor fix (+'.' to end of line) 2012-10-31 15:40:08 -05:00
Aymeric Augustin 146ed13a11 Fixed #17083 -- Allowed sessions to use non-default cache. 2012-10-31 09:46:16 +01:00
Brent O'Connor d55c54a5da The timeout variable wasn't defined, which was a little confusing. 2012-10-30 16:19:31 -07:00
Tim Graham 08cf54990a Fixed #16671 - Added a tutorial on reuseable apps
Thank-you Katie Miller and Ben Sturmfels for the initial draft,
as well as Russ and Carl for the reviews.
2012-10-30 18:40:21 -04:00
Claude Paroz 9a02851340 Fixed #17744 -- Reset default file storage with setting_changed signal 2012-10-30 22:23:28 +01:00
Aymeric Augustin 43d7cee86e Added release notes for 1.6.
Since 1.5 is feature-frozen, we need them to document new features.
2012-10-30 21:35:23 +01:00
Preston Holmes 9741912a9a Fixed #17869 - force logout when REMOTE_USER header disappears
If the current sessions user was logged in via a remote user backend log out
the user if REMOTE_USER header not available - otherwise leave it to other auth
middleware to install the AnonymousUser.

Thanks to Sylvain Bouchard for the initial patch and ticket maintenance.
2012-10-29 22:58:14 -07:00
Aymeric Augustin 24b2aad8e3 Fixed #19209 -- Documented |date:"I".
Thanks mitar for the report.
2012-10-29 23:12:20 +01:00
Aymeric Augustin bc00075d51 Fixed #19208 -- Docs for mod_wsgi daemon mode
Thanks Graham Dumpleton for the patch.
2012-10-29 21:39:12 +01:00
Preston Holmes 4ea8105120 Fixed #19061 -- added is_active attribute to AbstractBaseUser 2012-10-28 23:04:03 -07:00
Ramiro Morales 0b98ef6321 Ensure that version detection in docs from 373df56d uses the right Django copy. 2012-10-28 18:18:09 -03:00
Aymeric Augustin 5fec97b9df Fixed #18194 -- Expiration of file-based sessions
* Prevented stale session files from being loaded
* Added removal of stale session files in django-admin.py clearsessions

Thanks ej for the report, crodjer and Elvard for their inputs.
2012-10-28 09:19:38 +01:00
Aymeric Augustin cd17a24083 Added optional kwargs to get_expiry_age/date.
This change allows for cleaner tests: we can test the exact output.

Refs #18194: this change makes it possible to compute session expiry
dates at times other than when the session is saved.

Fixed #18458: the existence of the `modification` kwarg implies that you
must pass it to get_expiry_age/date if you call these functions outside
of a short request - response cycle (the intended use case).
2012-10-27 23:15:45 +02:00
Claude Paroz fc2681b22b Fixed #17787 -- Documented reset caches by setting_changed signal 2012-10-27 21:55:50 +02:00
Florian Apolloner b7d81715dc Removed a redundant colon in the query docs.
Thanks to Berker Peksag for the patch.
2012-10-27 21:21:33 +02:00
Aymeric Augustin 83ba0a9d4b Fixed #18978 -- Moved cleanup command to sessions.
This removes a dependency of 'core' on 'contrib'.
2012-10-27 18:31:00 +02:00
Ramiro Morales 373df56d36 Advanced version identifiers for 1.6 cycle. 2012-10-26 22:01:34 -03:00
Claude Paroz 90c7656466 Fixed #19191 -- Corrected a typo in CustomUser docs
Thanks spleeyah for the report.
2012-10-26 10:23:33 +02:00
Tim Graham 5c143cb340 Fixed #19180 - Clarified policy regarding older versions of the docs. 2012-10-25 17:55:42 -04:00
Preston Holmes f2fd4ebfb8 Merge pull request #472 from ericflo/patch-1
Fixed typo in docs/releases/1.5.txt
2012-10-25 14:46:26 -07:00
Tim Graham 48be78cf08 Fixed broken links + spell check in 1.5 release notes. 2012-10-25 17:20:55 -04:00
Eric Florenzano 9912a30b06 Update docs/releases/1.5.txt
Fix typo.
2012-10-25 13:26:22 -07:00
Preston Holmes e8b258895a Tweaked tense of URL tag changes for clarity 2012-10-25 12:03:01 -07:00
Jacob Kaplan-Moss 137fdbeebd Added release notes for Django 1.5 alpha 1.
Also updated 1.5-proper release notes a bit.
2012-10-25 13:59:13 -05:00
Tom Christie 502be865c6 Add 'page_kwarg' attribute to `MultipleObjectMixin`, removing hardcoded 'page'. 2012-10-25 10:31:14 +01:00
Tim Graham da958eb209 Fixed #9471 - Expanded ModelAdmin.raw_id_fields docs; thanks adroffne for the suggestion. 2012-10-24 17:43:24 -04:00
Aymeric Augustin 495a8b8107 Fixed #6527 -- Provided repeatable content access
in HttpResponses instantiated with iterators.
2012-10-24 17:08:37 +02:00
Aymeric Augustin 104ca49c57 Removed inaccurate statement from the StreamingHttpResponse docs.
Iterators will be closed for both regular and streaming responses;
this shouldn't be described as a difference.
2012-10-21 22:44:02 +02:00
Preston Holmes e987d20ac9 Added 1.4.2 release notes 2012-10-21 07:49:35 -07:00
Tim Graham 2f722d9728 Fixed #13869 - Warned that QuerySet.iterator() doesn't affect DB driver caching; thanks jtiai for the suggestion. 2012-10-20 15:22:34 -04:00
Aymeric Augustin 4b27813198 Fixed #7581 -- Added streaming responses.
Thanks mrmachine and everyone else involved on this long-standing ticket.
2012-10-20 20:05:11 +02:00
Tim Graham 300d052713 Fixed arguments for get_inline_instances example; refs #17856 2012-10-20 09:57:15 -04:00
Aymeric Augustin c2e19e26bc Fixed #17856 -- Passed obj to get_inline_instances
Thanks ybon, quinode and sjaensch for the patch, and Tim Graham
for the review.
2012-10-20 15:49:52 +02:00
Claude Paroz dfd4a71751 Fixed #5611 -- Restricted accepted content types in parsing POST data
Thanks paulegan for the report and Preston Holmes for the review.
2012-10-20 14:56:16 +02:00
Tim Graham eed4faf16f Fixed #17006 - Documented ModelAdmin get_form() and get_formsets() 2012-10-20 08:40:54 -04:00
Claude Paroz 3084b1cfd6 Separated GIS installation docs in sections 2012-10-20 11:08:52 +02:00
Tim Graham 4cef9a09f9 Fixed #17388 - Noted in the custom model field docs that field methods need to handle None if the field may be null. 2012-10-19 17:51:24 -04:00
Tim Graham db598dd8a0 Fixed #18046 - Documented than an index is created by default for ForeignKeys; thanks jbauer for the suggestion. 2012-10-18 16:58:05 -04:00
Claude Paroz 0775ab2955 Fixed #19132 -- Added example for creating custom lazy function
Thanks flagzeta@yahoo.it for the report and Luke Plant for his
expert assistance.
2012-10-18 09:02:20 +02:00
Preston Holmes 31dcaf49a0 Fixed an error in cookie documentation 2012-10-17 14:53:21 -07:00
Tim Graham 3e0857041b Fixed #18473 - Fixed a suggestion that GZipMiddleware needs to be first in the list of middleware. 2012-10-17 15:46:59 -04:00
Tim Graham fd02bcff4a Fixed #18548 - Clarified note regarding reusing model instances when form validation fails. 2012-10-16 20:39:13 -04:00
Claude Paroz 8f94d28223 Fixed #19128 -- Reworded admonition about Jython and Django 1.5
Thanks adam@hopelessgeek.com for the report.
2012-10-16 09:04:12 +02:00
Tim Graham 9190d89829 Fixed #10936 - Tempered recommendation of SQLite - thanks Karen Tracey for the feedback. 2012-10-15 19:55:46 -04:00
Tim Graham 07abb7a6b7 Fixed #18715 - Refactored tutorial 3. Thank-you Daniel Greenfeld! 2012-10-15 19:47:26 -04:00
Adrian Holovaty 1636b03382 Added docs link to new third-party Lithuanian localflavor 2012-10-15 14:18:16 -05:00
Adrian Holovaty 72efdc4d92 Merge pull request #436 from ddbeck/patch-1
Removed heteronormativity from coding style doc
2012-10-15 07:45:27 -07:00
Claude Paroz a451d2b4a2 Replaced mentions of Subversion by Git in docs 2012-10-14 23:03:01 +02:00
Claude Paroz e6f45aa623 Added release note about removed div around csrf token
Refs #18484. Thanks Simon Charette for the suggestion.
2012-10-13 21:01:30 +02:00
Claude Paroz 22742e4ac4 Added ref to format localization in Date[Time]Field docs
Thanks henrik@aisti.fi for the suggestion in #19119.
2012-10-13 11:17:25 +02:00
Claude Paroz 10dc4797ea Fixed #19119 -- Corrected default date input formats in docs
Thanks henrik@aisti.fi for the report.
2012-10-13 11:02:18 +02:00
Russell Keith-Magee b3b3db3d95 Fixed #19067 -- Clarified handling of username in createsuperuser.
Thanks to clelland for the report, and Preston Holmes for the draft patch.
2012-10-13 13:36:07 +08:00
Russell Keith-Magee c433fcb3fb Fixed #19077, #19079 -- Made USERNAME_FIELD a required field, and modified UserAdmin to match. 2012-10-13 11:44:50 +08:00
Tim Graham 5fb22329a1 Merge pull request #422 from elvard/18996
Fixed #18996 - Clarified overriden model methods not called on bulk operations
2012-10-12 16:45:45 -07:00
Tim Graham c870cb48cd Fixed #18256 - Added a potential pitfall when upgrading to MySQL 5.5.5 2012-10-12 19:17:00 -04:00
Adrian Holovaty f8c3acc807 Updated localflavor docs to note the new packages 2012-10-12 17:00:35 -05:00
Brian Galey 95f7ea3af1 Fixed #19028 -- Support GeoJSON output with SpatiaLite 3.0+ 2012-10-12 17:23:22 +02:00
Tim Graham 470deb5cbb Fixed #10936 - Noted that using SQLite for development is a good idea 2012-10-11 20:01:30 -04:00
Tim Graham 6b56aeec6e Merge pull request #428 from donspaulding/patch-1
Removed extra indent in docs/topics/db/queries.txt
2012-10-11 16:19:32 -07:00
Tim Graham dd0cbc6bdc Fixed #16588 - Warned about field names that conflict with the model API 2012-10-11 18:05:12 -04:00
Tim Graham 2d1214d92a Fixed #14165 - Documented that TransactionMiddleware only applies to the default database. 2012-10-11 17:47:37 -04:00
Ramiro Morales 0614e99fbd More URL reversion docs typo fixes. 2012-10-11 15:40:38 -03:00
Tim Graham 0921b74e69 Merge pull request #437 from dmedvinsky/bug/docs-typo-reversing
Fixed typo in URL reversing docs
2012-10-11 03:15:39 -07:00
Tim Graham 06f5da3d78 Fixed #16817 - Added a guide of code coverage to contributing docs.
Thanks Pedro Lima for the draft patch.
2012-10-11 06:11:52 -04:00
Dmitry Medvinsky b498ce8203 Fix typo in URLs reversing docs 2012-10-11 12:38:14 +04:00
Tim Graham 7ef2781ca0 Fixed #4501 - Documented how to use coverage.py with Django tests.
Thanks krzysiumed for the draft patch.
2012-10-10 20:03:27 -04:00
Daniel D. Beck f315006d50 Remove heteronormativity from coding style doc 2012-10-10 20:38:48 -03:00
Preston Holmes c99ad64df7 Fixed #19097 -- documented module of origin for HttpRes/req objects 2012-10-09 20:30:28 -07:00
Anssi Kääriäinen b625e8272b Moved F() '&' and '|' to .bitand() and .bitor()
Done for consistency with Q() expressions and QuerySet combining. This
will allow usage of '&' and '|' as boolean logical operators in the
future. Refs #16211.
2012-10-10 01:15:29 +03:00
Anssi Kääriäinen a8b1861fc4 Revert "Fixed #16211 -- Added comparison and negation ops to F() expressions"
This reverts commit 28abf5f0eb.

Conflicts:

	docs/releases/1.5.txt
2012-10-10 01:15:29 +03:00
Ramiro Morales ec1aad1671 Added section about URL reversion to URL mapper document. 2012-10-07 20:21:07 -03:00