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
1889db475d
Fixed comma splice in error message introduced in [5133]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5154 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-06 04:12:08 +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
bc6535b599
Minor edit of initialisation logic.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5145 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-03 13:53:42 +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
21a2ca6a21
Fixed #3472 -- Don't BASE64-encode UTF-8 (or ASCII) email messages.
...
Patch from smurf@smurf.noris.de .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5143 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-03 12:08:31 +00:00
Malcolm Tredinnick
befbd82d85
Fixed bozo error in [5141].
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5142 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-03 11:50:43 +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
d943f5ae92
Fixed #4130 -- Added more self-explanatory error message when a typo is made in
...
a queryset field argument.
We may need to fine-tune the error message based on experience down the line,
but this stands as an improvement on its own. Thanks, Ned Batchelder.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5133 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-01 03:21:54 +00:00
Malcolm Tredinnick
0b2f9e89cd
Fixed #3946 -- Added Swiss localflavor. Thanks, charly.wilhelm@gmail.com.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5132 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-01 03:10:10 +00:00
Malcolm Tredinnick
acde998521
Fixed #3905 -- Report app_name correctly in errors during custom SQL
...
installation. Thanks, kbussell@gmail.com .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5131 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-01 02:44:24 +00:00
Malcolm Tredinnick
157ade371b
Fixed #4084 -- Added formfield() support to the USStateField model field.
...
Thanks, polpak@yahoo.com .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5130 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-01 02:35:15 +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
1cae38c731
Fixed #4044 -- Allowed callable views specifier to mix (i.e. not crash) with
...
prefix strings in URLConfs. Thanks, Vinay Sajip.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5127 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-29 09:41:46 +00:00
Malcolm Tredinnick
d9f1a0aaef
Renamed one test to avoid a name-clash with an earlier test of the same name.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5125 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-28 16:41:44 +00:00
Malcolm Tredinnick
2f61bff0b7
Fixed #3980 -- Updated German translation. Thanks, Jannis Leidel.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5124 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-28 16:37:02 +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
Malcolm Tredinnick
d9cc22b3e3
Fixed #3268 -- Changed default model formfields to use a select widget when the
...
field has a choices attribute. Based on a patch from mrmachine.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5119 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-28 14:18:03 +00:00
Malcolm Tredinnick
b09bdd2ae8
Refactored the formfield() methods on models.fields.Field subclasses slightly
...
to remove some repetition.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5118 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-28 13:55:24 +00:00
Malcolm Tredinnick
c675ee7612
Fixed #4180 -- Fixed docstring typo noticed by Gary Wilson.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5117 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-28 13:31:44 +00:00
Malcolm Tredinnick
4ac69165f8
Fixed #4176 -- Fixed unintended change introduced in [5104]. Thanks,
...
SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5116 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-28 04:45:38 +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
Russell Keith-Magee
8a4a8023d6
Fixed #3698 -- Modified newforms labels to only add a colon if the label text doesn't end with punctuation. Thanks, SmileyChris.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5112 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-27 14:27:07 +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
Malcolm Tredinnick
33ce769786
Fixed #4169 -- Updated Norwegian translation. Thanks, tt@gurgle.no.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-27 13:53:47 +00:00
Malcolm Tredinnick
14fac203e8
Fixed #4166 -- Fixed some format string errors in the Greek translation.
...
Thanks, orestis@orestis.gr .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5109 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-27 13:44:58 +00:00
Malcolm Tredinnick
592f1280f6
Added tests for Brazilian CRPF field that were accidentally omitted in [5089].
...
Refs #3957 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5108 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-27 12:50:24 +00:00
Malcolm Tredinnick
7894336a25
Updated Henrique Romano's AUTHOR entry. Refs #3945 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5107 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-27 12:46:41 +00:00
Malcolm Tredinnick
fb30e774f9
Fixed #2608 -- Generate correct SQL for multi-level foreign key relations.
...
Based on a patch from Gopal Narayanan.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-27 12:45:08 +00:00
Malcolm Tredinnick
f30ca6636b
Minor tweak. Removed unnecessary argument default.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5105 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-27 12:27:19 +00:00
Malcolm Tredinnick
54f11ee63c
Fixed #4164 , #4171 -- Reworked some of the template lexer logic to ensure we
...
don't get caught out by a couple of corner cases.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5104 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-27 12:16:22 +00:00
Malcolm Tredinnick
6fe5235cea
Renamed filter template tests to be in their own sequence. Makes it easier to
...
add tests if the related names aren't spread out across creation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5103 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-27 11:01:45 +00:00
Russell Keith-Magee
81a712762f
Fixed #3954 -- Disabled termcolors when loading fixtures. Well spotted, Vijay Sajip.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5102 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-27 10:55:47 +00:00
Adrian Holovaty
51e867a2e5
Fixed inconsistent period usage in localflavor.br error messages from [5089]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5099 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-26 15:05:47 +00:00
Adrian Holovaty
143270856b
Small formatting changes to localflavor/cl/forms.py
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5098 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-26 14:59:27 +00:00
Malcolm Tredinnick
4bce3c17ec
Revert [5092], since this should only have been applied to newforms-admin.
...
Refs #1576 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5097 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-26 14:58:38 +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
af6ed6c91d
Small formatting changes to localflavor/is_/forms.py
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5095 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-26 14:55: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