Commit Graph

1131 Commits

Author SHA1 Message Date
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