Malcolm Tredinnick
318c1c32dd
[1.0.X] The tests added in r9185 were altering the test environment in bad
...
ways. Fixed this with proper setUp() and tearDown() methods.
Backport of r9200 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9203 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-08 08:42:39 +00:00
Malcolm Tredinnick
b3c2cf3d1d
[1.0.X] Fixed #9233 -- Allow date and message-id headers to be passed in
...
manually in email messages. Previously we were creating duplicate headers,
which was bad.
Backport of r9197 from trunk. I'm calling this a bugfix, since the docs are
unclear about which headers you can pass into an EmailMessage constructor.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9198 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-07 12:26:00 +00:00
Malcolm Tredinnick
742ff0800b
[1.0.X] Fixed #9215 -- Added a view/template example of using pagination.
...
Based on a patch from shacker and Matt Dennenbaum.
Backport of r9193 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9196 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-07 11:58:40 +00:00
Malcolm Tredinnick
4991aac216
[1.0.X] Added a link to the "documentation" documentation in the contributing docs.
...
Backport of r9192 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9195 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-07 11:58:02 +00:00
Malcolm Tredinnick
8e1c848099
[1.0.X] Added a note about where custom manager specifications go in a model
...
(for the style guide).
Backport of r9191 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9194 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-07 11:56:49 +00:00
Malcolm Tredinnick
3963a01697
[1.0.X] Fixed #9224 -- Prevent a crash when certain query strings are sent using
...
modpython.
Backport of r9189 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9190 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-07 10:55:02 +00:00
Malcolm Tredinnick
fb4f82f2ea
Reverted r9186 -- Committed to the wrong branch (it's a feature addition).
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9187 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-07 09:04:55 +00:00
Malcolm Tredinnick
ed48b0b37e
Fixed #5888 -- Added methods to the test client to support HEAD, PUT, DELETE
...
and OPTIONS support. Thanks Scott Barr and Leah Culver.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9186 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-07 08:47:05 +00:00
Malcolm Tredinnick
66c77d03d2
[1.0.X] Fixed #9199 -- We were erroneously only prepending "www" to the domain
...
if we also needed to append a slash (when PREPEND_WWW=True).
Based on a patch and tests from gonz. Thanks.
Backport of r9184 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9185 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-07 08:26:31 +00:00
Karen Tracey
0604225387
[1.0.X] Update svnmerge.py metadata to reflect changesets that have been merged from trunk, which is all non-blocked ones to date.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9183 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 18:21:49 +00:00
Karen Tracey
f98243375c
[1.0.X] Set svnmerge.py metadata to block non-bugfix changesets from trunk.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9182 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 18:02:19 +00:00
Karen Tracey
e75fe1a83f
[1.0.X] Initialize svnmerge.py metadata for 1.0.X branch.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9181 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 17:49:42 +00:00
Malcolm Tredinnick
e4b28a9b61
[1.0.X] Added a lot more explanation about form field validation, including
...
expanded examples. Fixed #5843 , #6652 , #7428 .
Backport of r9177 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9180 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 11:28:39 +00:00
Malcolm Tredinnick
6a30f5a2ea
[1.0.X] Fixed #7011 -- Clarified what User.is_active really means in the documentation.
...
Backport of r9176 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9179 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 11:26:59 +00:00
Malcolm Tredinnick
378dadc210
[1.0.X] Fixed #6979 -- Fixed the documentation cross-reference between the
...
TIME_ZONE setting and manual settings configuration.
Backport of r9175 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9178 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 11:25:45 +00:00
Malcolm Tredinnick
f4a57bedd8
[1.0.X] Fixed #8768 -- Clarified that ugettext_lazy() results are unicode
...
proxies and can't be used as bytestrings.
Still a number of markup changes to be made in this file (and in this
changeset). That's intentional for now, since I'm going to rewrite the file
later this week.
Backport of r9168 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9174 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 08:48:17 +00:00
Malcolm Tredinnick
82a01a63a6
[1.0.X] Fixed #8184 -- Added a note to the documentation for reverse() that all
...
views must be importable for URL reversing to work correctly.
Backport of r9167 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9173 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 08:46:54 +00:00
Malcolm Tredinnick
282c38d406
[1.0.X] Fixed #9254 -- Added information to the porting guide about the removal
...
of "core" and the new methods on model file- and image-fields.
Backport of r9166 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9172 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 08:45:40 +00:00
Malcolm Tredinnick
51fb4bb0d3
[1.0.X] Fixed #8688 -- Added a note about using a settings variable for the
...
static media viewer with the development server. Based on a suggestion from
trodrigues.
Backport of r9165 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9171 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 08:44:40 +00:00
Malcolm Tredinnick
167a131e53
[1.0.X] Fixed a couple of markup errors in the documentation.
...
Backport of r9164 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9170 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 08:43:38 +00:00
Malcolm Tredinnick
6f0bcd23e6
[1.0.X] Fixed #9047 -- Marked up django.core.urlresolvers.reverse() properly in
...
the docs. It now appears in the index.
Backport of r9163 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9169 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 08:42:45 +00:00
Malcolm Tredinnick
b5ac7f7918
[1.0.X] Added some better error reporting and path handling when creating template paths.
...
We now raise UnicodeDecodeError for non-UTF-8 bytestrings (thanks to Daniel
Pope for diagnosing this was being swallowed by ValueError) and allow UTF-8
bytestrings as template directories. (The last bit is arguably a feature-add,
but we allow UTF-8 bytestrings everywhere else, so I'm counting it as a bugfix.)
Refs #8965 .
Backport of r9161 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9162 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 06:37:53 +00:00
Malcolm Tredinnick
c201d14269
[1.0.X] Fixed #5753 -- Allow createsuperuser to work in situations where there
...
might be a valid password database entry for the current user id.
Backport of r9158 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9159 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 04:56:50 +00:00
Karen Tracey
48f4388c8b
[1.0.X] Fixed #9212 : Added code to check the xgettext version, and if it is lower than 0.15, undo an incorrect encoding to utf-8 done by xgettext. This bug was fixed in xgettext 0.15, but the most-easily-installed Windows gettext binaries are older (0.13.1), so we work around it.
...
Backport of r9155 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9156 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 01:38:22 +00:00
James Bennett
075274203f
[1.0.X]: Add note to 1.0 porting guide about removal of dictionary access to HTTP request objects
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9154 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 16:04:55 +00:00
Malcolm Tredinnick
9273575e6b
[1.0.X] Fixed #9068 -- Fixed a couple of typos in InsertQuery.clone(). Thanks, rush.
...
Backport of r9150 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9151 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 11:57:11 +00:00
Malcolm Tredinnick
89c2fba23b
[1.0.X] Fixed #9283 -- Deliberately silence one deprecation warning raised by python 2.6.
...
Backport of r9148 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9149 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 11:41:19 +00:00
Malcolm Tredinnick
5da08047b9
[1.0.X] Changed the "write your own settings" recommendation to mention that Django
...
uses tuples, but not making it a recommendation. That might head off the endless
tuples vs. lists debates.
Fixed #8846 .
Backport of r9146 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9147 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 09:00:07 +00:00
Malcolm Tredinnick
9b5c2293c6
[1.0.X] Fixed #8964 -- Added a note that MyISAM may not necessarily be the default
...
storage engine for MySQL. Some packagers seem to like causing confusion.
Backport of r9143 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9144 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 07:00:58 +00:00
Malcolm Tredinnick
ee9c6ae269
[1.0.X] Fixed a typo and clarified how django.core.mail.outbox works in the testing framework. Fixed #9237 .
...
Backport of r9140 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9142 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 06:41:15 +00:00
Malcolm Tredinnick
2993ef3d7e
[1.0.X] Added django.contrib.markup to the docs contents page. Thanks, Marc Fargas.
...
Refs #9237 .
Backport of r9139 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9141 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 06:40:47 +00:00
Malcolm Tredinnick
01b6e55f20
[1.0.X] Fixed #9257 -- Fixed a small mismatch in text in part 2 of the tutorial.
...
Backport of r9134 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9138 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 06:23:23 +00:00
Malcolm Tredinnick
e15bdf767e
[1.0.X] Fixed #9291 -- Tweaked a piece of example code slightly to set a good
...
example for others (now uses an encoding that is guaranteed to work for XML
consumers).
Backport r9133 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9137 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 06:22:58 +00:00
Malcolm Tredinnick
f9e78ed612
[1.0.X] Fixed #9301 -- Correct a markup typo in the docs.
...
Backport of r9132 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9136 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 06:22:25 +00:00
Malcolm Tredinnick
b0be5af39c
[1.0.X] Fixed #9300 -- Typo fix in docs.
...
Backport of r9131 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9135 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 06:21:52 +00:00
Malcolm Tredinnick
571b159dd3
[1.0.X] Fixed #9259 -- Fixed a validation error for Spanish identity card numbers.
...
Patch from Marc Garcia.
Backport of r9129 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9130 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 06:00:55 +00:00
Malcolm Tredinnick
245399becb
[1.0.X] Fixed #8963 -- Use the require_POST decorator instead of doing things manually in one of the comment views. Thanks, zgoda.
...
Bakcport of r9121 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9128 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 05:21:14 +00:00
Malcolm Tredinnick
e88b70b779
[1.0.X] Fixed #9100 -- Added a missing CSS class to a submit button.
...
Thanks, mordyovits and thejaswi_puthraya.
Backport of r9120 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9127 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 05:20:40 +00:00
Malcolm Tredinnick
ccc2387fd2
[1.0.X] Add internationalisation support to the comment templates. Fixed #8868 , #8905
...
Thanks to zgoda for a patch that did most of the internationalisation part.
Backport of r9119 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9126 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 05:20:00 +00:00
Malcolm Tredinnick
389307025f
[1.0.x] Fixed #8803 -- Allow authenticated users without first_name/last_name values set to post comments.
...
Backport of r9118 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9125 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 05:18:25 +00:00
Malcolm Tredinnick
4393fea682
[1.0.X] Fixed #8869 -- Fixed comments templates to be well-formed XHTML.
...
Based on a patch from zgoda.
Backport of r9117 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9124 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 05:17:29 +00:00
Malcolm Tredinnick
769709e994
[1.0.X] Fixed #8879 -- Used ungettext instead of ngettext in the comments framework.
...
Patch from zgoda.
Backport of r9116 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9123 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 05:16:38 +00:00
Malcolm Tredinnick
3e2803f3e8
[1.0.x] Fixed #9141 -- Removed two templates from django.contrib.comments that were not being used.
...
Backport of r9115 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9122 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 05:16:08 +00:00
Malcolm Tredinnick
e4bc9e1f4a
[1.0.X] Altered a failing url template tag test to work more reliably.
...
There's no guarantee about the order in which ambiguous patterns are resolved.
The solution is "don't do that" and avoid ambiguity.
This is a port of r9113 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9114 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 05:02:55 +00:00
Karen Tracey
b7f40091ad
Fixed #9260 : [1.0.X] Correct version calculation code so setup.py works on 1.0.X branch. Thanks for the report Warren.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9109 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-01 17:26:40 +00:00
James Bennett
a59c27ac5d
[1.0.X] Apply fix from [9107]
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9108 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-01 01:23:55 +00:00
James Bennett
9971852234
[1.0.X] Apply doc fix from [9105]; refs #9255 .
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-30 22:31:06 +00:00
James Bennett
f585dea14e
[1.0.X] Port Adrian's doc fix from [9101] and publicly shame him for forgetting to apply it here.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9104 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-30 22:25:41 +00:00
James Bennett
5e272e0f1a
Update django.VERSION in 1.0.x branch per previous discussion
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9102 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-30 17:49:26 +00:00
Malcolm Tredinnick
b17453bbc9
[1.0.X] Fixed another case of reverse URL resolving that wasn't working.
...
This is a similar situation to that fixed in r9087. We weren't merging
multiple levels of include() calls together correctly.
Backported from r9099 on trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9100 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-30 05:57:13 +00:00