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
aaf228de9a
Omitted AUTHORS change from last [5163]. Refs #4144 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5164 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-08 02:57:18 +00:00
Malcolm Tredinnick
93e2f246fd
Fixed #4144 -- Only check sys.modules when required during Model class
...
construction. Patch from Marty Alchin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5163 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-08 02:56:18 +00:00
Malcolm Tredinnick
abff821f14
Fixed #4197 -- Added some updates to the German translation. Thanks, Thomas
...
Steinacher.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5162 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-08 02:50:41 +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
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