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