Commit Graph

1589 Commits

Author SHA1 Message Date
Malcolm Tredinnick 84bc65e137 Fixed #4941 -- Changed imports for interactive portion of the example to be consistent with the source code file, at the expense of slightly more typing required. This might help reduce some confusion. Thanks, John Shaffer.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5871 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12 10:37:56 +00:00
Malcolm Tredinnick a564adb8e1 Fixed #4914 -- Documented the Session.modified attribute for forcing session saves. Thanks, Thomas Güttler and SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5869 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12 10:24:21 +00:00
Russell Keith-Magee 3d012a18ce Added documentation for widgets in newforms.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12 06:25:05 +00:00
Adrian Holovaty dd0f5d9284 Fixed #4818 -- Improved 'Step 2' example in docs/databrowse.txt. Thanks, kevin@berndtgroup.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5866 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12 03:59:09 +00:00
Adrian Holovaty d1bef59905 Fixed #5110 -- Made a small clarification in docs/model-api.txt. Thanks, Jarek Zgoda
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5860 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12 03:01:37 +00:00
Malcolm Tredinnick 20e3ae5222 Fixed #4987 -- Added documentation for newforms.DecimalField. Based on a patch from james_027@yahoo.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5855 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11 12:10:23 +00:00
Malcolm Tredinnick 1d4a0054e3 Fixed #4762 -- Corrected an example. Thanks, Collin Grady and SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5851 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11 11:06:14 +00:00
Malcolm Tredinnick aca2761faf Fixed #4611 -- Removed "new in development version" annotation for the permission_required decorator. It was in 0.96. Thanks, John Shaffer.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5850 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11 11:05:59 +00:00
Malcolm Tredinnick 9864c9d8bf Added "new in development version" annotation to HttpRequest.encoding documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5846 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11 09:47:52 +00:00
Malcolm Tredinnick df1f76ac02 Documented the encoding attribute on the HttpRequest class.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5845 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11 09:47:38 +00:00
Malcolm Tredinnick 0afbca9c60 Fixed #3526 -- Added content_type as an alias for mimetype to the HttpResponse constructor. It's a slightly more accurate name. Based on a patch from Simon Willison. Fully backwards compatible.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5844 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11 09:37:42 +00:00
Adrian Holovaty f1edb8c2b3 Fixed #5097 -- Made various updates and corrections to the documentation. Thanks, Nicola Larosa
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5825 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-07 02:33:11 +00:00
Adrian Holovaty 404bf3b188 Fixed #5105 -- Fixed two ReST errors in docs/newforms.txt. Thanks, Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5824 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-07 02:18:36 +00:00
Russell Keith-Magee 16cf24393f Added note that FileField and ImageField are only in development version. There are also some minor backwards compatibility issues with the changes introduced in [5819] - see the wiki for details.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5820 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06 14:17:10 +00:00
Russell Keith-Magee fbd1a6277e Fixed #3297 -- Implemented FileField and ImageField for newforms. Thanks to the many users that contributed to and tested this patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5819 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06 13:58:56 +00:00
Adrian Holovaty e471f42ba1 Fixed #4980 -- Removed 'forms' from the 'not considered stable and will be rewritten' section of docs/api_stability.txt. They've already been rewritten.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5818 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06 05:37:17 +00:00
Adrian Holovaty 3e2fa60df2 Fixed #4985 -- Clarified location of HttpResponse in docs/request_response.txt. Thanks for raising the issue, rainer.mansfeld@romulo.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5817 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06 05:34:45 +00:00
Adrian Holovaty d4623df463 Added note to docs/model-api.txt about help_text not being escaped in the admin interface
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5816 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06 05:33:18 +00:00
Adrian Holovaty b304ebb906 Added a closing </p>' to a code example in docs/email.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5814 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06 05:27:58 +00:00
Adrian Holovaty 9a090b2c1f Fixed #5053 -- Added 'action' attribute to <form> tags that didn't have that attribute in docs/newforms.txt examples. Perfectionism appreciated, trickyb
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5813 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06 05:16:35 +00:00
Adrian Holovaty 89977a6e16 Fixed #5064 -- Fixed potentially confusing sentence in docs/authentication.txt. Thanks, Collin Grady
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5812 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06 05:13:06 +00:00
Adrian Holovaty 89d4a56594 Edited docs/newforms.txt changes from [5804]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5808 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06 04:52:14 +00:00
Adrian Holovaty 1474a5fd2c Fixed #5074 -- Added link to audio clip of 'Django' pronunciation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5807 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06 04:36:43 +00:00
Russell Keith-Magee f96e933534 Fixed #4001 -- Added dynamic save_m2m method() to forms created with form_for_model and form_for_instance on save(commit=False).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-05 07:39:36 +00:00
Gary Wilson Jr 212ee65be7 Fixed #2101 -- Renamed `maxlength` argument to `max_length` for oldforms `FormField`s and db model `Field`s. This is fully backwards compatible at the moment since the legacy `maxlength` argument is still supported. Using `maxlength` will, however, issue a `PendingDeprecationWarning` when used.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5803 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-05 05:14:46 +00:00
Gary Wilson Jr 973f44aa4c Changed some more links to be relative in the documentation. I had a couple unsaved files that didn't get in with [5798].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5802 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-05 04:42:26 +00:00
Gary Wilson Jr eba5703fee Refs #5089 -- Added file name to poll detail template examples in the tutorial.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5801 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-05 04:39:52 +00:00
Gary Wilson Jr d018b92bbe Fixed #5083 -- Fixed typo in newforms documentation, thanks Rik.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5800 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-04 14:52:13 +00:00
Gary Wilson Jr ac027df253 Changed several documentation links to be relative.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5798 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-04 03:39:24 +00:00
Gary Wilson Jr 8a4a3f7707 Changed the 0.95 release notes to point to the 0.95 documentation index.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5797 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-04 03:36:58 +00:00
Gary Wilson Jr b54de86010 Fixed #5078 -- Fixed several broken links to the syndication documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5796 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-04 03:19:14 +00:00
Gary Wilson Jr 9a54c8f2d4 Fixed #5037 -- Fixed use of wrong field type in a db-api docs example, thanks ubernostrum.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5783 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-01 05:52:18 +00:00
Adrian Holovaty d76e532077 Added 'New in Django development version' to changes in docs/authentication.txt from [5771]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5774 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-29 18:21:16 +00:00
Simon Willison fd2b99b5f1 After discussing with Malcolm, added set_unusable_password() and has_usable_password() methods to the User object, plus tests and updated documentation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5771 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-28 18:30:40 +00:00
Russell Keith-Magee 5b898f3f94 Fixed #4995 -- Fixed some problems in documentation ReST formatting. Thanks, Simon G.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5770 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-28 07:27:53 +00:00
Russell Keith-Magee 650cea9170 Fixed #4460 -- Added the ability to be more specific in the test cases that are executed. This is a backwards incompatible change for any user with a custom test runner. See the wiki for details.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5769 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-28 04:02:52 +00:00
Adrian Holovaty 812583ce3b Added section to docs/contributing.txt about docstring coding style
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5765 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-26 17:16:34 +00:00
Adrian Holovaty 6b7c33286a Added 'New in Django development version' to docs/db-api.txt change from [5746]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5757 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-25 03:15:05 +00:00
Russell Keith-Magee 3b78695a64 Added documentation for a test runner argument that has always been present, but was undocumented.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5753 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-23 13:52:59 +00:00
Russell Keith-Magee 1b7fe09660 Fixed #3771 -- Modified the test runner to observe the --noinput argument controlling script interactivity. This means that test scripts can now be put in a buildbot environment. This is a backwards incompatible change for anyone that has written a custom test runner. Thanks for the suggestion, moof@metamoof.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5752 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-23 12:14:32 +00:00
Gary Wilson Jr cae92ae615 Fixed #4373 -- Modified the get_object_or_404/get_list_or_404 shortcuts to also accept `QuerySet`s. Thanks SuperJared.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5746 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-22 03:41:11 +00:00
Adrian Holovaty 910bbe8f1f Added some additional docs to docs/model-api.txt db_type() section
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5736 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-20 21:24:30 +00:00
Russell Keith-Magee 56394220d5 Fixed #4901 -- Modified assertContains to provide a default check of 'any instances of text in content'. Thanks for the suggestion, nis@superlativ.dk.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5731 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-20 14:32:20 +00:00
Russell Keith-Magee bdc5a3eb51 Refs #3782 -- Added documentation note that suite() handling is only in development version.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5730 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-20 14:07:54 +00:00
Russell Keith-Magee 9922a04bb6 Fixed #3782 -- Added support for the suite() method recommended by the Python unittest docs. Thanks for the suggestion, rene.puls@repro-mayr.de.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5729 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-20 13:57:49 +00:00
Adrian Holovaty ac2b9f2a3f Added a db_type() method to the database Field class. This is a hook for calculating the database column type for a given Field. Also converted all management.py CREATE TABLE statements to use db_type(), which made that code cleaner. The Field.get_internal_type() hook still exists, but we should consider removing it at some point, because db_type() is more general. Also added docs -- the beginnings of docs on how to create custom database Field classes. This is backwards-compatible.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5725 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-20 06:28:56 +00:00
Gary Wilson Jr 62f207caef Fixed #4851 -- Fixed description of an example query in `db-api` docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5720 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-16 22:29:09 +00:00
Adrian Holovaty 0d9f21bb75 Improved docs/templates.txt section on the 'regroup' tag
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5710 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-15 21:16:32 +00:00
Adrian Holovaty 2a500b3551 Edited docs/db-api.txt changes from [5700]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5709 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-15 19:34:21 +00:00
Gary Wilson Jr 208352e5d7 Fixed #4877 -- Fixed typo in testing documentation, patch from John Shaffer.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5702 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-15 05:11:06 +00:00
Russell Keith-Magee eff675b91e Clarified the documentation on the steps that happen during a save, and how raw save affects those steps.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5700 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-15 04:41:59 +00:00
Adrian Holovaty 0f869d1124 Edited docs/db-api.txt changes from [5658]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5698 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-14 16:58:54 +00:00
Malcolm Tredinnick d48a39650f Fixed #4869 -- Added a note that syncdb does not alter existing tables. Thanks,
James Bennett.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-14 05:27:22 +00:00
Adrian Holovaty 9fa91e0ab3 Documented the 'commit' argument to save() methods on forms created via form_for_model() or form_for_instance()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5691 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-13 21:20:07 +00:00
Russell Keith-Magee b9232cd955 Fixed #4538 -- Split the installation instructions to differentiate between installing a distribution package and installing an official release. Thanks to Carl Karsten for the idea, and Paul Bissex for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 14:41:32 +00:00
Russell Keith-Magee 3990efff69 Fixed #4525 -- Fixed mistaken documentation on arguments to runfcgi. Thanks, Johan Bergstrom <bugs@bergstroem.nu>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5675 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 14:21:51 +00:00
Russell Keith-Magee 0f10867519 Fixed #4522 -- Clarified the allowed filter arguments on the time and date filters. Thanks for the suggestion, admackin@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5674 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 14:11:41 +00:00
Russell Keith-Magee 53a06763c5 Fixed #4502 -- Clarified reference to view in tutorial. Thanks for the suggestion, Carl Karsten <carl@personnelware.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5673 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 14:05:16 +00:00
Russell Keith-Magee 1345f3c521 Fixed #4764 -- Added reference to Locale middleware in middleware docs. Thanks, dan@coffeecode.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5670 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 13:41:27 +00:00
Russell Keith-Magee 7f5797e640 Fixed #4722 -- Clarified discussion about PYTHONPATH in modpython docs. Thanks for the suggestion, Collin Grady <cgrady@the-magi.us>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5668 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 13:32:00 +00:00
Russell Keith-Magee ab368c9c75 Fixed #4640 -- Fixed import to stringfilter in docs. Proposed solution to move stringfilter into django.template.__init__ introduces a circular import problem.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 13:23:11 +00:00
Russell Keith-Magee 6cf7a4ac65 Fixed #4627 -- Added details on MacPorts packaging of Django. Thanks, Paul Bissex.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5666 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 12:55:28 +00:00
Russell Keith-Magee 7df9e7da5b Fixed #4763 -- Minor typo in cache documentations. Thanks, dan@coffeecode.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5665 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 12:50:02 +00:00
Russell Keith-Magee 119c6005a6 Fixed #4745 -- Updated docs to point out that 0 is not a valid SITE_ID when running the tests. Thanks for the suggestion, Lars Stavholm <stava@telcotec.se>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5664 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 12:48:27 +00:00
Russell Keith-Magee 1655103666 Fixed #4837 -- Updated Debian packaging details. Thanks for the suggestion, Yasushi Masuda <whosaysni@gmail.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5662 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 12:33:24 +00:00
Russell Keith-Magee 2d6d20def7 Fixed #4459 -- Added 'raw' argument to save method, to override any pre-save processing, and modified serializers to use a raw-save. This enables serialization of DateFields with auto_now/auto_now_add. Also modified serializers to invoke save() directly on the model baseclass, to avoid any (potentially order-dependent, data modifying) behavior in a custom save() method.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5658 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 07:45:35 +00:00
Adrian Holovaty 090aa5210e Improved syndication feed framework to use RequestSite if the sites framework is not installed -- i.e., the sites framework is no longer required to use the syndication feed framework. This is backwards incompatible if anybody has subclassed Feed and overridden __init__(), because the second parameter is now expected to be an HttpRequest object instead of request.path
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5654 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 05:29:32 +00:00
Adrian Holovaty dcd5750d7a Added RequestSite class to sites framework
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5653 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 05:28:04 +00:00
Adrian Holovaty 8c4cc32352 Edited changes to docs/tutorial04.txt from [5649]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5651 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 04:44:45 +00:00
Adrian Holovaty 0c5d001531 Added 'New in Django development version' note to docs/syndication_feeds.txt changes from [5643]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5650 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 04:43:29 +00:00
Jacob Kaplan-Moss 74fe707e04 Fixed #4615: corrected reverse URL resolution examples in tutorial 4. Thanks for the patch, simeonf.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 00:33:44 +00:00
Malcolm Tredinnick 86640f33c1 Fixed #3760 -- Added the ability to manually set feed- and item-level id
elements in Atom feeds. This is fully backwards compatible. Based on a patch
from spark343@cs.ubc.ca.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5643 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-10 12:33:55 +00:00
Gary Wilson Jr 541c9ff797 Fixed #4814 -- Fixed some whitespace issues in tutorial01, thanks John Shaffer.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5639 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-10 02:45:11 +00:00
Gary Wilson Jr 0be6d32c24 Fixed #4817 -- Removed leading forward slashes from some urlconf examples in the documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5638 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-10 02:34:42 +00:00
Malcolm Tredinnick 79e914e496 Added CACHE_MIDDLEWARE_SECONDS to global settings and documentation (it's
used by the cache middleware). Refs #1015.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5618 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-05 11:08:40 +00:00
Malcolm Tredinnick 7c35eee103 Form encoding should be changed only via HttpRequest, not on GET and POST
directly. 


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5614 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-05 01:25:05 +00:00
Malcolm Tredinnick e7427cb22f Fixed some ReST errors.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5612 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-04 12:48:12 +00:00
Malcolm Tredinnick 953badbea5 Merged Unicode branch into trunk (r4952:5608). This should be fully
backwards compatible for all practical purposes.

Fixed #2391, #2489, #2996, #3322, #3344, #3370, #3406, #3432, #3454, #3492, #3582, #3690, #3878, #3891, #3937, #4039, #4141, #4227, #4286, #4291, #4300, #4452, #4702


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-04 12:11:04 +00:00
Adrian Holovaty 4c958b15b2 Converted some tabs to four spaces in two docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5600 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-03 19:26:34 +00:00
Adrian Holovaty 3d6785fb8e Fixed tabs -> spaces in [5598]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5599 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-03 19:21:33 +00:00
Adrian Holovaty 107dd89385 Fixed an error in a RequestContext example in docs/templates_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5598 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-03 19:20:56 +00:00
Adrian Holovaty 510e545776 Fixed #4690 -- Fixed a bunch of ReST errors in docs. Thanks, Paul B.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5571 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-01 01:00:23 +00:00
Adrian Holovaty 3336bd5c3d Made docs/contributing.txt docs style guidelines notes more consistent. The section after the dash is always a full sentence
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5569 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:29:42 +00:00
Adrian Holovaty b60442f32a Added 'subclass' to docs/contributing.txt docs style guidelines
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5568 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:28:13 +00:00
Adrian Holovaty cf4e74a56d Lowercased 'Realize' in docs/contributing.txt to fix potential ambiguity
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5567 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:26:42 +00:00
Adrian Holovaty 64f20046f1 Edited docs/db-api.txt changes from [5555]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5566 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:25:10 +00:00
Adrian Holovaty 6e1385b862 Added database name style to docs/contributing.txt documentation style section
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5565 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:24:56 +00:00
Adrian Holovaty 353110075b Added 'Documentation style' section to docs/contributing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5564 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:20:44 +00:00
Adrian Holovaty 23a50aa491 Edited docs/email.txt changes from [5550]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5563 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:20:25 +00:00
Adrian Holovaty b67a2feebf Edited docs/email.txt changes from [5548]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5562 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:06:47 +00:00
Adrian Holovaty 918738919e Edited docs/email.txt changes from [5547]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5561 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:03:41 +00:00
Adrian Holovaty 8cea4c7c5e Fixed some awkward wordings from docs/model-api.txt from [5519] and added 'new in Django development version' notes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5560 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 20:58:36 +00:00
Jacob Kaplan-Moss a9807db552 Fixed #4712: added mention of Oracle in docs from [5555]. Thanks, Tom.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5556 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 19:16:05 +00:00
Jacob Kaplan-Moss 24512a74be Fixed #1465: added support for regex lookups. Thanks, Tom Tobin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5555 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 18:58:10 +00:00
Malcolm Tredinnick 26659f2782 Typo fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5552 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 12:44:29 +00:00
Malcolm Tredinnick d605611bc5 Removed some duplication. I suck at documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5551 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 12:43:28 +00:00
Malcolm Tredinnick 987f8aa257 Fixed #3985 -- Added support for custom email headers.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5550 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 12:41:37 +00:00
Malcolm Tredinnick bcb088b558 Trivial edit to docs from [5548].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 12:19:21 +00:00
Malcolm Tredinnick 719a90391d Added support for creating multipart/alternative email messages. Also allow
tweaking of main body MIME subtype for brave people. Fixed #3605.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5548 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 12:18:05 +00:00
Malcolm Tredinnick 2d082a34dc Fixed #1541 -- Added ability to create multipart email messages. Thanks, Nick
Lane.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5547 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 09:44:55 +00:00
Malcolm Tredinnick 621db31c3a Fixed #4684 -- Added an Oracle reference to the supported database servers.
Thanks, nick@efford.org.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5542 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-26 12:53:33 +00:00
Malcolm Tredinnick 85f6f15263 Fixed #4668, #4669, #4670, #4671 -- Fixed a group of ReST markup errors. Thanks, Richard House.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5537 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-25 16:11:32 +00:00
Malcolm Tredinnick ac64e91a0c Merged boulder-oracle-sprint branch (r3965:5512) back into trunk. All
expected tests pass for all databases.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5519 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-23 14:16:00 +00:00
Malcolm Tredinnick 284c6ba44b Fixed #4657 -- Fixed an error in an edge case of the urlizetrunc filter.
Thanks, SmileyChris.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5513 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-23 03:10:32 +00:00
Malcolm Tredinnick 880e3cfaa6 Backed out the changes in [5482] for a bit whilst some more investigation into
side-effects is done. Refs #4565.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5511 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-22 07:15:04 +00:00
Adrian Holovaty dbebf54d6c Fixed #4648 -- Fixed awkward wording in docs/newforms.txt. Thanks, jim-django@dsdd.org
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5506 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-21 16:05:23 +00:00
Adrian Holovaty 042d7e44fa Fixed #4637 -- Fixed broken link in docs/model-api.txt. Thanks, john.scott.atlakson@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5505 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-20 19:39:24 +00:00
Adrian Holovaty 7c3fa24fad Fixed #4638 -- Fixed typo in docs/model-api.txt. Thanks, john.scott.atlakson@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5504 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-20 19:38:19 +00:00
Adrian Holovaty 024c3daa11 Fixed #4537 -- Added note to docs/install.txt about get_python_lib() shortcut. Thanks, Carl Karsten
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5503 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-20 06:23:15 +00:00
Adrian Holovaty c6cac4a78e Fixed #4586 -- Fixed typo in docs/tutorial01.txt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5496 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-20 06:07:06 +00:00
Adrian Holovaty a65c458b99 Fixed #4610 -- Made docs/install.txt a bit clearer about skipping the Apache installation. Thanks, James
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5495 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-20 06:03:51 +00:00
Luke Plant b6b1ab22b5 Updated documentation for User.objects.make_random_password, fixing
punctuation at the same time.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5490 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-18 10:02:58 +00:00
Malcolm Tredinnick bccb8897e6 Fixed #4565 -- Changed template rendering to use iterators, rather than
creating large strings, as much as possible. This is all backwards compatible.
Thanks, Brian Harring.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5482 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-17 07:11:37 +00:00
Malcolm Tredinnick 88632cd7f9 Fixed #4547 -- Included a fix missed in [5468].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5469 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-15 00:07:03 +00:00
Malcolm Tredinnick 1e57d6ccf0 Fixed #4547 -- Trivial typo fixing time. Thanks, Grant Kelly.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5468 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-13 02:22:26 +00:00
Malcolm Tredinnick 9bc8941f67 Fixed #4532 -- Trivial typo fix. Noticed by philliptemple@yahoo.co.uk.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5466 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-12 00:31:55 +00:00
Malcolm Tredinnick 5c346840bb Fixed #4473 -- Added documentation of the three cleaning methods invoked on
form data. Based on a patch from Joe Heck.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5460 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-11 11:49:25 +00:00
Malcolm Tredinnick 04f5bd4378 Fixed #4406 -- Documented the maxlength parameter (added in [4295]) for the
URLField.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5459 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-11 11:19:43 +00:00
Malcolm Tredinnick 484527f780 Fixed #3807 -- Some small fixes to a couple of examples. Thanks,
jon.i.austin@gmail.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5458 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-11 11:14:05 +00:00
Malcolm Tredinnick b91226027e Added a man page for django-admin.py. Also install it correctly as part of the
auto-generated rpm. Thanks to Marc Fargas and Paul Bissex for writing the man
page. Refs #3341.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@5457 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-10 06:33:31 +00:00
Malcolm Tredinnick 1b02534ac3 Fixed #4488 -- Fixed a typo pointed out by luca.ferroni@labs.it.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5452 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-10 02:13:58 +00:00
Russell Keith-Magee 16269c4d0a Fixed #3523 -- Added list unpacking to for loops in templates. Thanks to SmileyChris and Honza Kral for their work.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5443 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-08 11:58:03 +00:00
Adrian Holovaty 83fe33e277 Made some changes to docs/newforms.txt that I'd had lying around
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5442 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-07 22:28:06 +00:00
Adrian Holovaty 8494ffc730 Fixed misspelling in docs/add_ons.txt from [5432]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5439 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-07 21:41:41 +00:00
Adrian Holovaty ceba11abf5 Fixed typo in docs/db-api.txt from [5431]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5438 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-07 21:40:56 +00:00
Jacob Kaplan-Moss 21acccbca2 Fixed #4214: added a bit of explicit info on updating FK fields to db-api.txt. Thanks, david@kazserve.org.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5437 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-07 18:24:27 +00:00
Jacob Kaplan-Moss f6491bf984 Fixed #4000 - changed documentation to note that filter arguments no longer need to be quoted (and added a test to that effect). Thanks, SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5436 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-07 18:18:44 +00:00
Jacob Kaplan-Moss 908b72f76d Fixed #3880: added a link to the transaction docs from the model API. Thanks, ken37@tds.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5435 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-07 18:12:12 +00:00
Jacob Kaplan-Moss 6434de96b7 Fixed #3842 - clarified PythonPath directive in modpython.txt. Thanks, jon.i.austin@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5434 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-07 18:03:21 +00:00
Jacob Kaplan-Moss 43a06c9a9a Fixed #3833 - added "PT" flag to mod_rewrite/fcgi example in documentation. Thanks, Nesh.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5433 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-07 18:01:17 +00:00
Jacob Kaplan-Moss e9a3e2faf0 Fixed #1791 - documented dependancies of contrib packages.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5432 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-07 17:50:53 +00:00
Jacob Kaplan-Moss 7747c42503 Fixed #4496 - fixed section header in db-api doc. Thanks, hattawayd@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5431 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-07 17:46:55 +00:00
Malcolm Tredinnick 5ec6ffd6ce Fixed #4455 -- Small typo fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5418 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-02 08:00:11 +00:00
Adrian Holovaty 4d9ab5435c Small grammar fixes to docs/serialization.txt changes from [5409]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5415 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-01 17:09:54 +00:00
Adrian Holovaty 80dfe69ddf Small rewording of docs/testing.txt changes from [5380]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5414 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-01 17:06:06 +00:00
Adrian Holovaty a97c22bfa3 Fixed grammar error in docs/settings.txt from [5380]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5413 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-01 17:04:36 +00:00
Adrian Holovaty 007ca57374 Negligible spacing change to docs/templates_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5412 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-01 17:03:14 +00:00
Adrian Holovaty 956056f7b5 Edited docs/url_dispatch.txt changes from [5362]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5411 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-01 16:59:56 +00:00
Russell Keith-Magee ea07351799 Fixed #3466 -- Fixed problem with specifyin a 'fields' argument to a JSON serializer. Also added documenation for the 'fields' argument.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-01 13:39:08 +00:00
Malcolm Tredinnick 9b94115843 Fixed #4401 -- Added documentation about mimetype parameter to
direct_to_template generic view. Thanks, Forest Bond and Marc Fargas.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5406 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-01 10:37:39 +00:00
Malcolm Tredinnick 2dd753fa88 Fixed #4370 -- Clarified how syncdb searches for initial data files. Thanks,
Simon Greenhill and gsf@perfectlygood.net.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5405 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-01 10:11:43 +00:00
Malcolm Tredinnick a3b6e4e7d3 Fixed #4423 -- Typo fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5402 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-01 09:38:32 +00:00
Malcolm Tredinnick eb29552b20 Fixed #4409 -- Fixed a typo in tutorial (thanks, mitch.hunt.007@gmail.com
). Also updated the reverse() documentation to reflect that it can take
function references or strings for function names.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5401 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-01 09:35:29 +00:00
Adrian Holovaty 8d3026bd94 Fixed #4439 -- Fixed typo in docs/testing.txt. Thanks, hayley
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5387 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-31 04:30:40 +00:00
Adrian Holovaty f2aaa3d1d1 Fixed #4420 -- Fixed broken link in docs/testing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5383 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-29 18:15:24 +00:00
Malcolm Tredinnick 0c4385bb02 Added new TEST_DATABASE_CHARSET and TEST_DATABASE_COLLATION settings to ensure
that databases are created with the expected encoding during testing.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5380 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-29 12:42:08 +00:00
Russell Keith-Magee d9f6470f2d Fixed #1278 -- Added a context processor that puts MEDIA_URL in the context, and added that context processor to the default set. Thanks to Ubernostrum for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5379 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-29 11:09:24 +00:00
Malcolm Tredinnick 3ae89e6abd Fixed #4331 -- Updated possible installation paths for Python site-packages on
Mac OS X. Thanks, mokeefe8@comcast.net.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5370 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-28 01:22:42 +00:00
Malcolm Tredinnick ac2772bd5c Fixed a typo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5369 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-27 14:09:57 +00:00
Malcolm Tredinnick 5bb8c84882 Fixed #4221 -- Removed dependence on hard-coded URL in tutorial 4.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5368 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-27 13:41:10 +00:00
Malcolm Tredinnick 67abbb6ea0 Fixed #4366 -- Fixed a small typo. Thanks, Ivan Sagalaev.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5367 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-27 13:20:48 +00:00
Malcolm Tredinnick 47c94244e4 Fixed #4364 -- Added a link to the main docs page to the end of the tutorial in
case it isn't obvious.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5366 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-27 13:19:37 +00:00
Malcolm Tredinnick 13db259fe0 Fixed #4307 -- Clarified that ROOT_URLCONF is in settings.py and fixed a small
typo. Pointed out by rogerpack2005@gmail.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5365 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-27 13:11:30 +00:00
Malcolm Tredinnick 5785763833 Added references to the various get_FOO_*() methods for FileField and
ImageField. Fixed #4025.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5364 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-27 13:01:21 +00:00
Malcolm Tredinnick b0b5023313 Fixed #4150 -- Added an explanation of how to use eggs with mod_python.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5363 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-27 12:45:14 +00:00
Malcolm Tredinnick a4e3581dfc Added documentation for reverse() (based on a patch from Simon Greenhill) and
another cross-reference to permalink(). Fixed #4103.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5362 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-27 12:05:59 +00:00
Malcolm Tredinnick 43dd1c647d Fixed #3227 -- Clarified DATABASE_HOST semantics for PostgreSQL.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5361 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-27 11:33:57 +00:00
Malcolm Tredinnick 451cbfe894 Added a clarification that {#...#} is only for single-line comments.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5359 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-27 10:44:42 +00:00
Malcolm Tredinnick ee2dfe7e46 Fixed #4395 -- Fixed a couple of typos in the examples.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5358 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-27 04:37:46 +00:00
Malcolm Tredinnick 3c948d45d2 Fixed #4388 -- Documented where the view shortcuts are imported from. Based on
a patch from Jure Cuhalev.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5356 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-26 09:53:16 +00:00
Malcolm Tredinnick aae36cfc8e Fixed #4355 -- Clarified a confusing example in the use of the url template
tag. Based on a patch from Collin Grady.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5353 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-26 09:43:32 +00:00
Malcolm Tredinnick c1efc3cd9f Fixed #4353 -- Fixed a typo in newforms documentation. I can't believe the
documentation editor didn't spot this. Thanks, zendak.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5352 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-26 09:22:55 +00:00
Malcolm Tredinnick c0c9534697 Fixed #4351 -- Attempted to make it easier for readers to see the difference
between null and blank if they are reading from top to bottom.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5351 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-26 09:17:38 +00:00
Adrian Holovaty 35cc9d9b09 Added 'New in Django development version' notes to docs/model-api.txt regarding DecimalField and FloatField (see [5302])
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5308 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-21 20:45:33 +00:00
Malcolm Tredinnick e71240d60f Fixed #4344 -- Trivial typo fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5303 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-21 03:48:52 +00:00
Malcolm Tredinnick 92c35a0617 Fixed #2365, #3324 -- Renamed FloatField to DecimalField and changed the code
to return Decimal instances in Python for this field. Backwards incompatible
change.

Added a real FloatField (stores floats in the database) and support for
FloatField and DecimalField in newforms (analogous to IntegerField).

Included decimal.py module (as django.utils._decimal) from Python 2.4. This is
license compatible with Django and included for Python 2.3 compatibility only.

Large portions of this work are based on patches from Andy Durdin and Jorge
Gajon.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@5302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-21 01:29:58 +00:00
Adrian Holovaty 744d06528e Added small note to docs/newforms.txt 'Complex template output' section
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-20 20:43:51 +00:00
Adrian Holovaty 1bf43df33d Edited docs/newforms.txt changes from [5294] and [5295]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-20 20:39:32 +00:00
Russell Keith-Magee d43522b077 Modified the example views in newforms.txt to include a HttpResponseRedirect (as per best practice), and remove a duplicated form instantiation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5295 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-20 02:18:22 +00:00
Malcolm Tredinnick 0f424f5084 Fixed #4232 -- Added example usages to the newforms documentation. Thanks, Joe
Heck.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5294 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-19 19:13:39 +00:00
Malcolm Tredinnick 7e975bb636 Fixed #4327 -- Fixed silly typo in code example. Pointed out by
jshaffer2112@gmail.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5292 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-19 18:51:37 +00:00
Malcolm Tredinnick 5ab9c3ac82 Fixed #4334 -- Fixed typo in model-api.txt. Thanks, Gary Wilson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5290 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-19 18:35:42 +00:00
Adrian Holovaty cef77fcf19 Added 'http://' to python.org link in docs/install.txt, so it will be auto-linked when converted to HTML
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5285 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-19 04:17:54 +00:00
Adrian Holovaty 60acd7c71c Fixed small grammar error in docs/model-api.txt from [5250]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5281 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-18 16:40:27 +00:00
Adrian Holovaty b723a3e9dd Simplified a coding style example in docs/contributing.txt from [5264]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5265 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-16 21:36:31 +00:00
Adrian Holovaty e168f79365 Added some Django-specific style guidelines to docs/contributing.txt, which I've been meaning to do for a while
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5264 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-16 21:34:43 +00:00
Adrian Holovaty 6f44cffc77 Fixed #4303 -- Fixed typos in docs/db-api.txt. Thanks, Gary Wilson
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5253 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-15 19:35:53 +00:00
Adrian Holovaty 72e824ad14 Fixed #4303 -- Fixed typo in docs/db-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5252 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-15 19:06:52 +00:00
Malcolm Tredinnick 7969c1bb65 Fixed #3664 -- Documented that get_absolute_url() and item_link() (in
syndication) links are expected to be strings that can be used in URLs without
further quoting or encoding.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5250 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-15 18:03:00 +00:00
Malcolm Tredinnick b996e214c0 Changed the fix from [5231] so that the backwards-incompatibility is made more
obvious and everything still has nice names.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5237 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 16:24:51 +00:00
Adrian Holovaty 70703a6b71 Fixed #3780 -- Added first stab at 'Built-in Field classes' section to docs/newforms.txt, with help from SmileyChris and Marc Fargas
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5222 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 05:32:35 +00:00
Adrian Holovaty 0810919694 Fixed #4217 -- Added note to docs/databrowse.txt about import. Thanks, Thomas Güttler
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5221 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 03:29:13 +00:00
Adrian Holovaty a386aa7cc2 Fixed #4285 -- Fixed ReST error in docs/testing.txt. Thanks, Michał Kwiatkowski
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5220 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 03:27:07 +00:00
Adrian Holovaty cc1d02a5aa Fixed ReST error in docs/newforms.txt from [5218]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5219 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 03:02:55 +00:00
Adrian Holovaty 2c86d57284 Added unit tests and docs for the newforms case in which the form's data doesn't include a value for a nonrequired field
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5218 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 02:57:42 +00:00
Adrian Holovaty edc014b255 Another word tightening and clarification in docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5217 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 02:21:28 +00:00
Adrian Holovaty 3d86329f82 Clarified migration plan in docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5216 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 02:20:12 +00:00
Adrian Holovaty 1130f5e6b7 Fixed some ReST errors in docs/newforms.txt from [5212]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5213 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-12 17:11:19 +00:00
Adrian Holovaty 6500f3fefa Edited changes to docs/newforms.txt from [5202]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5212 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-12 17:02:44 +00:00
Adrian Holovaty 330cc98c73 Fixed #4281 -- Fixed error in docs/i18n.txt example
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5207 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-12 15:38:24 +00:00
Adrian Holovaty 2af00ca29a Changed 'email' to 'e-mail' in docs/testing.txt, to fit our consistent style
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5206 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-12 15:35:11 +00:00
Russell Keith-Magee 6aa5091d58 Added docs for form_for_model and form_for_instance, and added a fields argument so it is easy to create forms from a subset of model fields.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5202 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-12 14:42:46 +00:00
Malcolm Tredinnick 5a803f5ebd Fixed #4252 -- Fixed a typo in ReST formatting. Thanks, Collin Anderson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5191 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-11 09:51:07 +00:00
Malcolm Tredinnick de5f67f17e Fixed #4267 -- In example code, extract the template tag name correctly in
error messages where Token.split_contents() has failed. Thanks,
keisuke.nishida@gmail.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5188 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-11 08:50:54 +00:00
Russell Keith-Magee 5c68ab6e29 Added configurable arguments to assertRedirects and assertContains to allow for other response status codes. Thanks for the suggestion, Jiri Barton.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5179 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-10 11:27:59 +00:00
Russell Keith-Magee 469314e7bc Added redirection for email services during test conditions.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5173 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-08 11:19:34 +00:00
Malcolm Tredinnick af846c0b8b Removed a bunch of trailing whitespace. Don't people realise whitespace is a
scarce resource, not to be wasted?


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5169 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-08 03:45:33 +00:00
Malcolm Tredinnick b72c7d0517 Fixed #3936 -- Mentioned that the DATABASE_USER in the test settings file needs
permission to create a new database on the system. Patch from Vinay Sajip.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5168 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-08 03:42:19 +00:00
Malcolm Tredinnick faa31732ca Fixed #3753 -- Allow optional display of invalid variable name in
TEMPLATE_STRING_IF_INVALID. Thanks, Matt McClanahan.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5167 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-08 03:36:16 +00:00
Malcolm Tredinnick 77ec8ae811 Fixed #4203 -- Noted that "blank" defaults to False in models. Thanks,
david@kazserve.org.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5166 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-08 03:20:49 +00:00
Malcolm Tredinnick 4fddf43b81 Fixed #4042 -- Fixed typo in serialization example. Thanks, Vinay Sajip.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5165 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-08 03:07:58 +00:00
Malcolm Tredinnick ce0084fbfc Fixed #4202 -- Corrected namespacing of exception in one of the examples.
Thanks, luftyluft@gmail.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5161 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-08 02:48:38 +00:00
Malcolm Tredinnick 00d2fb7e70 Fixed #4226 -- Added DATABASE_NAME to the list of settings required to be
mentioned in the settings file for the tests to run. Thanks, Paul Smith.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5160 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-08 02:33:10 +00:00
Malcolm Tredinnick a374bf9d50 Removed "new in development version" warning, since this feature was in the
0.96 release.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5159 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-08 02:27:30 +00:00
Malcolm Tredinnick c2a13da823 Fixed #4242 -- Changed docs to use full name for the Brazilian Portugese language.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5158 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-08 02:25:02 +00:00
Russell Keith-Magee f073797f4c Added assertFormError, assertTemplateUsed and assertTemplateNotUsed for use during unit testing.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5156 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-07 12:34:18 +00:00
Adrian Holovaty 64adc41377 Edited docs/email.txt changes from [5141] and other recent changesets
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5155 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-06 04:23:12 +00:00
Adrian Holovaty 3d52993b46 Finally began proofreading docs/testing.txt. Did the intro for now; more to come
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5153 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-06 03:59:37 +00:00
Russell Keith-Magee 36b164d838 Backwards incompatible change: Changed the way test.Client.login operates. Old implemenation was fragile, and tightly bound to forms. New implementation interfaces directly with the login system, is compatible with any authentication backend, and doesn't depend upon specific template inputs being available.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5152 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-05 15:16:15 +00:00
Russell Keith-Magee a0ef3ba2f7 Added a default test Client to TestCase, and added some assertions for some common testing patterns.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5150 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-05 03:03:33 +00:00
Malcolm Tredinnick e986e8aba4 Added "new in development version" markers to new email stuff.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5147 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-03 17:52:38 +00:00
Malcolm Tredinnick 5ff1d96a52 Fixed #3307 -- Added BCC support to the EmailMessage class. En-passant, fixed a
number of RST formatting errors in the email docs.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5146 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-03 14:38:45 +00:00
Malcolm Tredinnick 7a84ad93e6 Fixed #2897 -- Added support for TLS connections to email handling. This means
servers like Google's SMTP server can now be used for admin emails.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5144 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-03 13:35:02 +00:00
Malcolm Tredinnick 95d7cb27d0 Fixed #3366 -- Part 1 of the email code refactoring and feature extension. This
part refactors email sending into a more object-oriented interface in order to
make adding new features possible without making the API unusable. Thanks to
Gary Wilson for doing the design thinking and initial coding on this.

Includes documentation addition, but it probably needs a rewrite/edit, since
I'm not very happy with it at the moment.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5141 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-03 11:35:11 +00:00
Adrian Holovaty 1f88c7fc67 Fixed #4201 -- Fixed pre-MR style code example in docs/sessions.txt. Thanks, Collin Grady
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5140 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-02 22:10:12 +00:00
Adrian Holovaty d82860ec07 Fixed #4068 -- Fixed incorrect docstring in docs/syndication_feeds.txt. Thanks, Jeff Hilyard and Vinay Sajip
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5139 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-02 20:31:15 +00:00
Adrian Holovaty 4b41fb4ba9 Fixed #4034 -- Updated docs/documentation.txt to reflect the removal of build_documentation.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5138 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-02 20:27:37 +00:00
Adrian Holovaty 0b265e6a2b Fixed #4139 -- Fixed typo in docs/templates_python.txt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5137 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-02 20:24:36 +00:00
Malcolm Tredinnick 94cb93edca Fixed #4188 -- Removed the explicit list of default LANGUAGES setting values,
because it will keep getting out of date. Replaced it with a pointer to the
source of the that list.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5129 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-01 02:13:34 +00:00
Malcolm Tredinnick 372f43a574 Fixed #4181 -- Corrected anchor names in links to settings document. Thanks,
Karen Tracey.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5121 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-28 14:32:16 +00:00
Malcolm Tredinnick fe0f238841 Fixed #4175 -- Fixed a couple of ReST markup errors. Thanks, Matt McClanahan.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5120 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-28 14:23:41 +00:00
Adrian Holovaty 812c261006 Made small formatting tweaks to docs/settings.txt and docs/email.txt changes from [5111]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-28 04:08:31 +00:00
Malcolm Tredinnick ec577d88ea Fixed up some omissions and one mysteriously documented, yet non-existent field
in the validator documentation. Patch from alang@bright-green.com. Refs #2266.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-27 15:06:45 +00:00
Malcolm Tredinnick 1c2fdf1ebd Fixed #4163 -- Added some "quick notes" documentation about the configuration
variables required to send email. Thanks, Karen Tracey.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5111 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-27 14:25:05 +00:00
Adrian Holovaty 38d8e84248 Edited docs/install.txt changes from [5085]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5096 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-26 14:58:18 +00:00
Adrian Holovaty bf89e4b151 Added note about Django development version to docs/authentication.txt change from [5073]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5094 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-26 14:52:40 +00:00
Adrian Holovaty 2944320eba Added 'New in Django development version' note to docs/settings.txt changes from [5072], and fixed alphabetizing
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5093 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-26 14:51:50 +00:00
Malcolm Tredinnick 21d9387cea Fixed #4158 -- Fixed a small formatting typo. Thanks, SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5085 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-26 10:29:55 +00:00
Malcolm Tredinnick 2a7d9ef23f Fixed #3316 -- Added support for crypt hashing of passwords, mostly to support
easy porting from existing Unix-based legacy apps. Thanks, axiak@mit.edu.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5073 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-25 09:34:29 +00:00
Malcolm Tredinnick 5dfe74f221 Fixed #3185 -- Made values for login, logout and post-login redirect URLs
configurable. This is a combined patch from Vasily Sulatskov, Marc Fargas and
Collin Grady.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5072 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-25 08:49:57 +00:00
Malcolm Tredinnick 939f678e65 Fixed #3857 -- Used a table to describe the required arg for FileField. This
makes it consistent with other argument descriptions. Thanks, whiteinge.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5066 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-25 06:38:23 +00:00
Adrian Holovaty 39aa40d108 Fixed #4133 -- Fixed broken links in docs. Thanks, Gary Wilson
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5064 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-24 05:58:03 +00:00
Simon Willison 53eddd4a0f Added HTTP_HOST example header
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5063 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-23 21:24:41 +00:00
Malcolm Tredinnick c2b1986525 Fixed #4101 -- Clarified a potentially confusing URL pattern in one example.
Thanks, Collin Grady.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5050 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-21 04:21:45 +00:00
Malcolm Tredinnick 8ffb8001b4 Fixed #4097 -- Updated distribution information for Fedora and Gentoo, based on
research by Gary Wilson.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5049 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-21 04:18:15 +00:00
Malcolm Tredinnick 24118edf21 Added a note that MySQLdb versions prior to 1.2.1p2 will only work with
mysql_old backend. Refs #3786.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5044 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-20 13:33:09 +00:00
Malcolm Tredinnick b786cc1017 Changed all URL references for django_admin/ to the canonical name of
django-admin/. This will avoid problems with missing HTTP redirects in future
historical documents. Refs #3992.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5040 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-20 09:22:01 +00:00
Malcolm Tredinnick 6f78709985 Changed all references to tutorial1/ to be tutorial01/ (and similarly for
tutorials 2, 3 and 4). This matches the canonical name we use under
djangoproject.com/documentation/ as well as the source filename. Should avoid
problems with archived documentation and missing HTTP redirects. Refs #4013.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5039 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-20 09:15:30 +00:00
Adrian Holovaty 3b55c34704 Fixed ReST error in docs/databrowse.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5012 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-16 22:00:29 +00:00
Adrian Holovaty 30fb62d71a Added django.contrib.databrowse
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5011 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-16 21:56:10 +00:00
Russell Keith-Magee 83c4c53120 Fixed #4038 -- Added reference to django.contrib.webdesign in the template docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5010 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-16 11:26:07 +00:00
Russell Keith-Magee d46a826840 Refs #3786 -- Added reference to database-specific documentation in install.txt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5009 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-16 11:11:16 +00:00
Adrian Holovaty 73269ec8bc Fixed #4029 -- Fixed some broken links and made some links relative in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5005 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-13 01:19:44 +00:00
Adrian Holovaty e9e728c212 Fixed #3786 -- Fixed sqlinitialdata references in some docs. Thanks, Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5004 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-13 01:01:57 +00:00
Russell Keith-Magee ebfa5b0406 Fixed #3830 -- Added installation note on removing old versions of Django (especially eggs) before installing a new version.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4999 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-12 13:59:09 +00:00
Russell Keith-Magee 49ae68925c Fixed #3956 -- Minor typo in template docs. Thanks, Nick Fishman.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4998 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-12 11:12:45 +00:00
Adrian Holovaty a02e13c7da Edited docs/syndication_feeds.txt changes from [4982]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4988 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-09 15:48:08 +00:00
Russell Keith-Magee bbeb62c9af Backwards-incompatible change -- Removed LazyDate helper class. To preserve existing functionality, query arguments can now be callable. Callable query arguments are evaluated with the query is evaluated.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4985 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-09 13:28:09 +00:00
Malcolm Tredinnick 3720154027 Clarified that there is no feed-level description element in Atom feeds and the
subtitle element (and model attribute) may be a substitute in many cases.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4982 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-09 12:35:05 +00:00
Malcolm Tredinnick e4671d158c Fixed #3916 -- Small tweak to information in tutorial 2. Based on a patch from
Simon Greenhill.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4980 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-09 12:16:46 +00:00
Malcolm Tredinnick 1c7a264a96 Fixed #3909 -- Added a couple of small clarifications to django-admin.py
documentation. Thanks, adurdin@gmail.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4978 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-09 12:11:19 +00:00
Adrian Holovaty 421be9fb2a Edited docs/url_dispatch.txt changes from [4901]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4966 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-09 02:07:04 +00:00
Adrian Holovaty a698afe392 Fixed #3893 -- Changed docs/legacy_databases.txt examples to use manage.py instead of django-admin.py. Thanks, Kashif Razzaqui
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4965 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-09 01:47:15 +00:00
Adrian Holovaty 099022c6aa Added note to docs/django-admin.txt about the examples using django-admin.txt but the examples being just as relevant for manage.py. Refs #3893
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4964 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-09 01:44:26 +00:00
Adrian Holovaty 7693000788 Fixed #3933 -- Updated docs/documentation.txt to reflect the lack of comments on documentation. Thanks, Paul B.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4960 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-09 01:13:49 +00:00
Adrian Holovaty 0498eb30cb Fixed #3935 -- Fixed typo in docs/modpython.txt. Thanks, alexis@smirnov.ca
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4958 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-09 01:06:09 +00:00
Adrian Holovaty 7fd887b2d7 Fixed #3939 -- Fixed typo in docs/modpython.txt. Thanks, jack.mangels@mexpro.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4957 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-09 01:05:21 +00:00
Adrian Holovaty 1c12cb0f76 Fixed #3968 -- Fixed typo in docs/request_response.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4956 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-09 01:04:19 +00:00
Russell Keith-Magee dabd96646c Fixed #3790 -- Fixed a problem with sequence resetting during fixture loads when using Postgres. Thanks to Jon Ballard and scott@staplefish.com for the report, and to Zach Thompson for suggesting a solution.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4937 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-06 02:25:58 +00:00
Adrian Holovaty 87471549b3 Fixed #3913 -- Fixed legacy/confusing 'mysite.settings.main' in docs/faq.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4915 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-03 21:57:15 +00:00
Malcolm Tredinnick b6f085aa43 Typo fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4903 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 07:36:06 +00:00
Malcolm Tredinnick d882656ea3 Added the ability to name URL patterns. Helps with disambiguity reverse matches.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4901 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 07:25:20 +00:00
Adrian Holovaty a071609a70 More ReST antics with docs/fastcgi.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4900 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 06:44:17 +00:00
Adrian Holovaty 9a6261a837 Fixed ReST error in docs/fastcgi.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4899 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 06:42:35 +00:00
Adrian Holovaty 9b6a518e17 Edited faq.txt and fastcgi.txt changes from [4897]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4898 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 06:40:01 +00:00
Malcolm Tredinnick 72dfcab0d4 Fixed #3047 -- Updated fastcgi documentation to mention SCGI and AJP support.
Thanks Barry Pederson and Simon Greenhill.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4897 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 06:00:45 +00:00
Malcolm Tredinnick 78b86d7eeb Fixed #3889 -- Fixed incorrect anchor in link.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4895 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 05:32:44 +00:00
Adrian Holovaty da1d001ce1 Edited docs/model-api.txt permalink changes from [4879]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4891 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 05:22:14 +00:00
Adrian Holovaty 99fbb7b62b Documented HttpResponseBadRequest. Refs #3847 and [4867]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4890 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 05:18:47 +00:00
Russell Keith-Magee f271e0896b Fixed #2841 -- Clarified documentation on procedure for field validation. Thanks, dave@avaragado.org.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4886 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 01:25:01 +00:00
Russell Keith-Magee 9191fa1f64 Fixed #3532 -- Made spaceless template tag remove all spaces, rather than preserving a single space. Thanks for the suggestion, ampaze@gmx.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4885 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 01:09:21 +00:00
Malcolm Tredinnick d7cf8eb406 Fixed #3540 -- Updated permalink documentation to fix an error and document how
to pass keyword arguments.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4879 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-31 11:35:06 +00:00
Malcolm Tredinnick 1ccdcbf765 Fixed #3801 -- Added note about double-escaping Windows paths when configuring
mod_python.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4877 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-31 09:40:27 +00:00
Malcolm Tredinnick 179b5b8422 Fixed #3840 -- Attempted to clarify how to specify the settings file
configuration for mod_python.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4864 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-30 06:16:41 +00:00
Adrian Holovaty 97e65d1c9d Fixed ReST error in docs/webdesign.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4858 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-30 01:50:46 +00:00
Adrian Holovaty d22e39c10d Fixed #3799 -- Added django.contrib.webdesign and moved 'lorem' template tag into there
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4857 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-30 01:50:06 +00:00
Russell Keith-Magee c1a73d80da Fixed #3253 -- Included test errors in the return code.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4850 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-29 11:59:31 +00:00
Russell Keith-Magee 5f68a26ff4 Fixes #3799 -- Oops - ran last checkin from the wrong directory. Checked in the rest of the lorem templatetag implementation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4848 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-29 11:43:24 +00:00
Russell Keith-Magee 4dab533f7e Fixed #3858 -- Updated pieces of tutorial 1 to reflect recent changes. Thanks to Kashif Razzaqui for the report, and Simon for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4846 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-29 11:05:44 +00:00
Russell Keith-Magee 4a6c7e75c2 Fixed #3855 -- Fixed typo in testing docs. Thanks for the report adamduren@gmail.com, and thanks to Simon for working up the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4845 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-29 10:55:48 +00:00
Adrian Holovaty e2937ef6a0 Fixed #3814 -- Fixed HTML typo in docs/templates.txt regroup section. Thanks, djangorat@shitsoftware.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4834 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-27 22:30:59 +00:00
Adrian Holovaty 9a2a9a9fe8 Fixed #3781 -- Improved docs/add_ons.txt to clarify use of contrib apps. Thanks, Simon G.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4833 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-27 22:18:52 +00:00
Adrian Holovaty 932928a1e2 Edited docs/templates.txt changes from [4830]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4832 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-27 19:02:32 +00:00
Jacob Kaplan-Moss 45f9217cbd Cleaned up the docs from [4830] a bit.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4831 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-27 17:30:57 +00:00
Jacob Kaplan-Moss d6fd9fb22b Fixed #3826: added a {% with %}. Thanks, SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4830 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-27 17:25:56 +00:00
Adrian Holovaty a5bb14ed2e Fixed #3648 -- Added support for cmemcached Python library. Thanks, floguy@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4827 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-25 23:29:31 +00:00
Adrian Holovaty 9c10a2f118 Fixed #3793 -- Fixed grammar in docs/release_notes_0.96.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4826 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-25 23:22:37 +00:00
Adrian Holovaty 293d6cf284 Fixed #3816 -- Fixed typo in docs/sessions.txt. Thanks, jon austin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4825 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-25 23:22:04 +00:00
Adrian Holovaty 5d079ee214 Added start of 'Creating custom fields' section to docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4819 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-25 21:06:12 +00:00
Adrian Holovaty bd8c2fead8 Fixed typo in docs/django-admin.txt. Refs #3786
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4818 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-25 18:09:43 +00:00
Jacob Kaplan-Moss ae7568b9c6 Removed note about setuptools from install.txt -- it's not correct any more.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4812 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-23 21:18:08 +00:00
Jacob Kaplan-Moss 334499d6f3 Fixed explicit reference to 0.95 in install.txt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4811 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-23 21:16:32 +00:00
James Bennett 1c13d05043 Remove notes about things added/removed in development version, since the development version is about to become 0.96
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-23 20:45:30 +00:00
James Bennett 7155d7100c One more typo in the notes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4803 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-23 20:43:44 +00:00
James Bennett a3d427138d Hopefully finalized release notes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4802 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-23 20:43:10 +00:00
James Bennett 05e248e5cd Correcting formatting styles in release notes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4801 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-23 20:42:32 +00:00
James Bennett 0cf10f0c28 Fix broken link in MySQLdb notes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4800 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-23 20:41:19 +00:00
James Bennett c858dfa217 Minor reordering of sections in 0.96 release notes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4799 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-23 20:39:59 +00:00
James Bennett af1aa1baea Note non-availability of DATABASE_OPTIONS in mysql_old backend
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4782 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-23 14:01:14 +00:00
James Bennett da8e722a63 Some work on the 0.96 release notes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4781 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-23 06:25:54 +00:00