Compare commits

...

853 Commits

Author SHA1 Message Date
Russell Keith-Magee 2ad77f73b7 [1.0.X] Reverted r12000. 1.0.X branch is in security fix only mode.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@12003 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-27 04:10:19 +00:00
Nicola Larosa 18754633ef [1.0.X] Italian translation updated
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@12000 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-26 16:36:22 +00:00
Jarek Zgoda 01e5b21e3a Reverted changes in PL translation - thanks Karen Tracey
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11941 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-22 08:27:45 +00:00
Jarek Zgoda 504cdb085c [1.0.X] Polish translations updated
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11881 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-16 19:22:52 +00:00
James Bennett 56b80c70b6 [1.0.X] Reset 1.0 branch packaging data post-release.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11616 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-09 22:18:16 +00:00
James Bennett 36b3916e3f [1.0.X] Correct download URL.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11610 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-09 21:29:17 +00:00
James Bennett b8332547b9 [1.0.X] Update setup.py for security release.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-09 21:07:57 +00:00
James Bennett c03090716a [1.0.X] Bump version number for security release.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11607 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-09 21:06:47 +00:00
Jacob Kaplan-Moss 594a28a904 SECURITY ALERT: Corrected regular expressions for URL and email fields.
Certain email addresses/URLs could trigger a catastrophic backtracking
situation, causing 100% CPU and server overload. If deliberately triggered, this
could be the basis of a denial-of-service attack.

This security vulnerability was disclosed in public, so we're skipping our
normal security release process to get the fix out as soon as possible.

This is a security related update. A full announcement will follow.



git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11605 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-09 20:59:25 +00:00
Karen Tracey 2099aba1bd [1.0.X] Fixed #6674: Documented a couple of widget arguments. Thanks timo.
r11478 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11479 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-08-29 12:44:44 +00:00
Matt Boersma 372736b70f [1.0.X] Fixed #11049: introspection on Oracle now identifies IntegerFields correctly.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11476 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-08-21 21:43:09 +00:00
Ramiro Morales 0f70fd99fd [1.0.X] One additional es_AR translation detail.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11453 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-08-14 14:31:59 +00:00
Ramiro Morales a7be652b41 [1.0.X] Updated es_AR translation.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11452 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-08-14 14:24:23 +00:00
Karen Tracey b72d6cf0f6 [1.0.x] Fixed #11508: Adding missing word to form wizard doc. Thanks thepointer and timo.
r11444 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11445 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-08-13 17:01:31 +00:00
Karen Tracey 6922ebadbc [1.0.X] Fixed #11573: Updated Nginx url. Thanks bryanveloso.
r11442 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11443 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-08-13 16:55:34 +00:00
Karen Tracey 17b7a743a1 [1.0.X] Updated svn:ignore properties for tests/regressiontests/servers.
r11352 from trunk.

Also updated blocked and integrated svnmerge metadata.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11441 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-08-13 16:48:31 +00:00
James Bennett 542904ee6d [1.0.X] Add trove classifiers to 1.0 series setup.py. Not sure why I didn't do this before.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11382 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-08-03 21:18:39 +00:00
Brian Rosner 7af2b34a5c [1.0.X] Updated my bio to reflect current status
Backported from trunk [11379]

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11380 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-08-03 08:40:53 +00:00
James Bennett dbce0a1507 [1.0.X] Remove download_url from setup.py, since that only applies to the specific revision we packaged as 1.0.3.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11372 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-31 01:38:46 +00:00
James Bennett e6aefffbdc [1.0.X] With 1.0.3 out the door, this branch is now 1.0.4 pre-alpha.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11367 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-29 09:33:07 +00:00
James Bennett f602e2bad4 [1.0.X] Update packaging information for impending 1.0.3 security/bugfix release.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11360 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-29 04:15:59 +00:00
James Bennett b8997d66be [1.0.X] We don't need to put the 'final' bit in the version number, and it messes up some pypi stuff. Backport of [11358] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11359 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-29 04:11:33 +00:00
Russell Keith-Magee df7f917b7f [1.0.X] SECURITY ALERT: Corrected a problem with the Admin media handler that could lead to the exposure of system files. Thanks to Gary Wilson for the patch.
This is a security-related backport of r11351. A full announcement, as well as a backport 0.96.X will be forthcoming.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11353 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-29 02:55:26 +00:00
Russell Keith-Magee f9249e4bd0 [1.0.X] Updated svnmerge properties
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11350 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-29 00:27:00 +00:00
Russell Keith-Magee e94ef54279 [1.0.X] Updated svnmerge properties
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11348 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-28 15:11:55 +00:00
Russell Keith-Magee 892ef07ac7 [1.0.X] Fixed #11556 -- Clarified the argument required by get_object_or_404. Thanks to rbonvall for the report.
Merge of r11344 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11347 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-28 14:41:45 +00:00
Nicola Larosa ca530f27c9 [1.0.X] Italian translation: further corrections
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11342 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-27 09:12:14 +00:00
Russell Keith-Magee f053d450e0 [1.0.X] Fixed #11519 -- Corrected minor typo in release notes index.
Merge of r11338 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11339 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-27 02:06:06 +00:00
Nicola Larosa 67d47daf05 1.0.X: italian translation: updates, corrections, added ugly but more correct suffixes to some gender-varying words
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11336 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-26 17:25:23 +00:00
Nicola Larosa cc5590b236 1.0.X: italian translation: commit of regenerated django.po to have significant commit diffs afterwards
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11335 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-26 16:58:17 +00:00
Russell Keith-Magee 59f0efa54b [1.0.X] Updated svnmerge properties.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11332 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-25 05:54:12 +00:00
Russell Keith-Magee 128787d3b5 [1.0.X] Fixed #11546 -- Modified the mail regression test to avoid getting hung up on 32/64 bit differences. Thanks to Richard Davies for the report.
Merge of r11328 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11329 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-25 05:17:38 +00:00
Russell Keith-Magee 10e90f9350 [1.0.X] Updated svnmerge properties
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11323 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-24 14:11:09 +00:00
Jannis Leidel e6d5d886bf [1.0.X] Updated German translation.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11317 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 17:46:28 +00:00
Ian Kelly 77b269e875 Fixed #11487: pass long strings to Oracle as CLOB rather than NCLOB to prevent an encoding bug that occurs in some installations. Backport of [11285] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11286 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-21 21:25:48 +00:00
Gary Wilson Jr 72e2713d1a [1.0.X] Updated my bio.
Backport of r11281 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11283 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-21 16:51:26 +00:00
Gary Wilson Jr 6c5ca9f480 [1.0.X] Added myself to AUTHORS and updated my bio.
Backport of r11265 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11282 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-21 16:50:14 +00:00
Russell Keith-Magee 1679202ebb [1.0.X] Fixed #11493 -- Added an internal document listing the APIs that have been formally deprecated. Thanks to Alex Gaynor for the draft text.
Merge of r11277 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11280 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-21 03:04:00 +00:00
Russell Keith-Magee 624194a33a [1.0.X] Cleanup of some minor markup problems in URL documentation. Thanks to Ramiro Morales for the patch (an apologies for ommitting the credit from r11275)
Merge of r11275 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11279 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-21 02:14:36 +00:00
Russell Keith-Magee dff276b9c1 [1.0.X] Fixed #11512 -- Corrected unclosed tag in HTML on debug page. Thanks to rlaager for the report.
Merge of r11276 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11278 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-21 02:09:06 +00:00
Russell Keith-Magee 29b53b2b1c [1.0.X] Fixed #11492 -- Corrected some typos, and added some extra markup for the URLs documentation. Thanks to Ramiro Morales for the patch.
Merge of r11258 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11259 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-17 01:01:50 +00:00
Russell Keith-Magee 393e06997d [1.0.X] Blocked recent revisions from merge
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11256 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-17 00:08:24 +00:00
Russell Keith-Magee 0056d79c4e [1.0.X] Fixed #11229 -- Updated the mod_wsgi deployment documentation to avoid references to mod_python and techniques that are not recommended or required for mod_wsgi. Thanks to Graham Dumpleton for the suggestion and guidance.
Merge of r11249 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11255 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-16 23:54:04 +00:00
Russell Keith-Magee ab3b5b2380 [1.0.X] Fixed #10908 -- Clarified the procedure for creating test users in the testing docs. Thanks to gruszczy and timo.
Merge of r11248 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11254 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-16 23:49:27 +00:00
Russell Keith-Magee 940b8a17d4 [1.0.X] Blocked some recent updates from merge
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11246 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-15 14:28:08 +00:00
Russell Keith-Magee 1c908784e6 [1.0.X] Fixed #11235 -- Added a missing clause from some sample SQL in the queryset docs.
Merge of r11239 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11245 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-15 14:24:49 +00:00
Russell Keith-Magee c7289a0402 [1.0.X] Fixed #11364 -- Modified the jsi18n example to use the {% url %} tag rather than a placeholder. Thanks to jcassee for the suggestion.
Merge of r11237 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11244 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-15 14:21:19 +00:00
Russell Keith-Magee 500202337e [1.0.X] Fixed #11374 -- Modified the documentation for forms.BooleanField to allow for the fact that it can be rendered using widgets other than a checkbox. Thanks to lygaret for the patch.
Merge of r11236 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11243 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-15 14:17:29 +00:00
Russell Keith-Magee ca3bd9ffb7 [1.0.X] Fixed #11469 -- Removed suspicion that Django developers have trouble counting to four. Thanks to msgre for the report.
Merge of r11235 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11242 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-15 14:14:04 +00:00
Russell Keith-Magee fcbd3bcec9 [1.0.X] Fixed #10287 -- Added better examples in the docs of formset validation. Thanks to Andrew Badr for the text.
Merge of r11234 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11241 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-15 14:11:06 +00:00
Russell Keith-Magee 9133e12a4c [1.0.X] Update svnmerge properties for recent changes
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11230 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-13 14:01:04 +00:00
Russell Keith-Magee c4f1970b03 [1.0.X] Blocked r11221 from merge.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11226 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-11 16:11:50 +00:00
Russell Keith-Magee 558e4e9482 [1.0.X] Fixed #11438 -- Corrected some bad grammar in the custom fields docs. Thanks to thepointer for the report.
Merge of r11220 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11225 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-11 16:09:18 +00:00
Russell Keith-Magee 5c2518539c [1.0.X] Fixed #11453 -- Added note on customizing SERVER_EMAIL for error reporting. Thanks to seveas for the suggestion and draft text.
Merge of r11219 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11224 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-11 16:06:59 +00:00
Russell Keith-Magee 7cfee7925a [1.0.X] Fixed #11450 -- Corrected markup problem in contenttype docs. Thanks to seveas for the report.
Merge of r11218 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11223 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-11 15:48:38 +00:00
Russell Keith-Magee 667042a060 [1.0.X] Fixed #11454 -- Corrected mismatched parenthesis in admin docs. Thanks to seveas for the report.
Merge of r11217 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11222 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-11 15:45:55 +00:00
Russell Keith-Magee 79af110d37 [1.0.X] Fixed #11107 -- Corrected the generation of sequence reset SQL for m2m fields with an intermediate model. Thanks to J Clifford Dyer for the report and fix.
Merge of r11215 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11216 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-11 14:30:14 +00:00
Justin Bronn aa0be5b7f0 [1.0.X] ixed GEOS & GDAL C function prototypes to explicitly use a subclass of `c_char_p` as the return type on routines that return strings. This prevents crashes on some 64-bit platforms, like FreeBSD. Thanks to wilsaj for discovering the problem. Refs #9747.
Backport of r11205 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11206 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-09 02:37:20 +00:00
Marc Fargas 18f12a3884 [1.0.X] Updated Spanish translation.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11203 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-07 13:31:57 +00:00
Marc Fargas e3cf57598e [1.0.X] Update Catalan translation.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11202 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-07 13:31:32 +00:00
Russell Keith-Magee f921908bc2 [1.0.X] Blocked r11176 from merge to branch
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11178 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-03 14:19:14 +00:00
Russell Keith-Magee 63a7b95693 [1.0.X] Fixed #9669 -- Corrected an answer in the admin FAQ that is wrong in a post-newforms-admin world. Thanks to Alex for the report.
Merge of r11175 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11177 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-03 14:16:21 +00:00
Russell Keith-Magee 7b5869e140 [1.0.X] Fixed #9607 -- Added documentation for the ``extra`` argument in test client methods. Thanks to jroes for the report and patch.
Merge of r11173 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11174 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-03 07:47:05 +00:00
Russell Keith-Magee 40f24b4635 [1.0.X] Fixed #10426 -- Added note on language variables required for Apache to survive non-ASCII file uploads. Thanks to daybreaker for the report, and david for the draft text.
Merge of r11170 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11172 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-03 07:23:37 +00:00
Russell Keith-Magee c05f4d5a22 [1.0.X] Fixed #11417 -- Corrected typo in MySQL collation notes. Thanks to vorushin for the report.
Merge of r11169 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11171 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-03 07:20:36 +00:00
Russell Keith-Magee df2011c61b [1.0.X] Added a Sphinx anchor that somehow got omitted from r11102.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11168 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-03 06:25:42 +00:00
Russell Keith-Magee 45411379b4 [1.0.X] Fixed #10604 -- Added note on the limitation of ungettext, especially as relating to the {% blocktrans %} tag. Thanks to bartTC for the report, and Ramiro Morales for the patch.
Merge of r11164 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11167 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-03 06:15:48 +00:00
Russell Keith-Magee 9219741ee7 [1.0.X] Fixed #11413 -- Added notes on the cycle and firstof tag detailing that variables output by those tags will not be escaped by default. Thanks to krystal for the report and draft patch.
Merge of r11163 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11166 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-03 06:12:50 +00:00
Russell Keith-Magee 4aca3be925 [1.0.X] Fixed #10539 -- Updated Sphinx configuration to accommodate 0.6 while retaining compatibility with 0.4 and 0.5. Thanks to Ramiro Morales for the patch.
Merge of r11162 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11165 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-03 06:09:57 +00:00
Russell Keith-Magee f538e15a2c [1.0.X] Updated svnmerge properties for recent commits
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11161 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-03 03:27:31 +00:00
Russell Keith-Magee c60901c031 [1.0.X] Fixed #10834 -- Corrected [11120] to ensure that there is a difference between catching a bad URL pattern and an new (no URLs) project. Thanks to Matt Welch for the report.
Merge of r11155 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11156 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-02 14:44:28 +00:00
James Bennett 2a7b781cfe [1.0.X] Fixed #11357: contrib.admindocs now correctly displays many-to-many relationships. Thanks to Ben Spaulding for the final version of the patch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11128 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-30 18:41:12 +00:00
Justin Bronn 8fd40001f5 [1.0.X] Fixed #11401 -- Update geographic admin to use OpenLayers 2.8 as OpenStreetMap does not support previous versions. Thanks, yourcelf for ticket and patch.
Backport of 11125 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11126 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-29 17:58:07 +00:00
Russell Keith-Magee 1153d4bf80 [1.0.X] Fixed #10834 -- Added bucket condition to ensure that URL resolvers won't ever return None. Thanks to Chris Cahoon for the patch.
Merge of r11120 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11122 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-29 14:23:28 +00:00
Russell Keith-Magee c4e240fae3 [1.0.X] Fixed #11392 -- Enforced a predictable result order for a couple of test cases. Thanks to Nathan Auch for the report and patch.
Merge of r11119 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11121 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-29 14:10:53 +00:00
Russell Keith-Magee 74b631667b [1.0.X] Updated svnmerge-blocked property for some old checkins
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11108 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-25 06:16:38 +00:00
Russell Keith-Magee 8d25e8f828 [1.0.X] Made some small improvements to docs/topics/http/sessions.txt
Merge of r10839 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11107 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-25 05:56:43 +00:00
Russell Keith-Magee 998a3776ed [1.0.X] Updated svnmerge-integrated property for some old checkins
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-25 05:52:54 +00:00
Russell Keith-Magee cef2a6f236 [1.0.X] Updated svnmerge properties for recent checkins
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11105 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-25 05:36:29 +00:00
Karen Tracey 7c8a6605ea [1.0.X] Fixed #10741: Updated instructions on the best gettext package to get for Windows. Thanks Ramiro.
r11103 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11104 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-24 23:40:00 +00:00
Russell Keith-Magee b287f8a96f [1.0.X] Fixed #8861 -- Added note on the availability of ModelForm.instance. Thanks to Ramiro Morales for the patch.
Merge of r11097 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11102 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-24 14:23:24 +00:00
Russell Keith-Magee 34fbf191c1 [1.0.X] Fixed #11327 -- Added missing prefix in HTML id in admin-docs. Prefix originally added in r10343, but missed the second usage. Thanks to Nathan for the report and patch.
Merge of r11096 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11101 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-24 14:22:11 +00:00
Russell Keith-Magee 60ec0bdec2 [1.0.X] Fixed #10415 -- Added documentation for features added in r7627 and r7630; extensibility points for the ModelAdmin?? and AdminSite??. Thanks to Ramiro Morales for the draft text.
Merge of r11095 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11100 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-24 14:21:19 +00:00
Russell Keith-Magee e717ddc0da [1.0.X] Fixed #11354 -- Remove stray whitespace in queryset docs. Thanks to flebel for the report.
Merge of r11094 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11099 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-24 14:20:38 +00:00
Russell Keith-Magee 589d96ce4a [1.0.X] Fixed #11356 -- Added links to the growing collection of 3rd party database backends that are available. Thank to Nathan Auch for the draft text.
Merge of r11093 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11098 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-24 14:19:44 +00:00
Karen Tracey 75de41f910 [1.0.X] Fixed #11344 -- Made a couple of minor clarifications to the mod_wsgi deployment doc. Thanks nartzpod and achew22.
r11079 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11080 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-19 01:38:53 +00:00
Russell Keith-Magee c9771f0b4a [1.0.X] Fixed #11270 -- Modified cache template tag to prevent the creation of very long cache keys. Thanks to 235 for the report and patch.
Merge of r11068 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11070 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 15:14:04 +00:00
Russell Keith-Magee bb0538d4d5 [1.0.X] Fixed #11270 -- Corrected naming conflict in templatetag test. Thanks to steveire for the report.
Merge of r11067 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 15:07:22 +00:00
Russell Keith-Magee 9356e16a62 [1.0.X] Updated svnmerge properties for recent commits
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11066 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 14:22:39 +00:00
Russell Keith-Magee 0c24c3ee17 [1.0.X] Fixed #11221 -- Replaced a reference to a non-existent URL with an actual explanation of sequences. Thanks to Rob Hudson for the report, and SmileyChris for the patch.
Merge of r11053 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11065 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 14:18:43 +00:00
Russell Keith-Magee 527609ccc9 [1.0.X] Fixed #10978 -- Clarified that the include statement is part of the urlpattern definition. Thanks to swatermasysk for the suggestion.
Merge of r11052 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11064 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 14:18:13 +00:00
Russell Keith-Magee 91e16bdcb7 [1.0.X] Fixed #11253 -- Normalized the way the docs refer to TestCase.assert* methods. Thanks to SmileyChris for the report and patch.
Merge of r11051 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11063 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 14:17:45 +00:00
Russell Keith-Magee 7cebfa1c49 [1.0.X] Fixed #11119 -- Corrected spelling error in 1.0 porting guide.
Merge of r11050 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11062 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 14:17:13 +00:00
Russell Keith-Magee 5301334f15 [1.0.X] Fixed #11141 -- Corrected a code example in the admin docs. Thanks to jodal for the report, and SmileyChris for the patch.
Merge of r11049 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11061 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 14:16:45 +00:00
Russell Keith-Magee c77f83ceae [1.0.X] Fixed #11322 -- Clarified docs regarding middleware processing. Thanks the Michael Malone for the patch.
Merge of r11048 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11060 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 14:16:13 +00:00
Russell Keith-Magee 82ffb6747f [1.0.X] Fixed #11318 -- Grammar correction in modelform docs. Thanks to seemant for the report.
Merge of r11047 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11059 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 14:15:27 +00:00
Russell Keith-Magee 7ccd095755 [1.0.X] Fixed #11312 -- Fixed the default value given for DEFAULT_FILE_STORAGE in the docs. THanks to x00nix@gmail.com for the patch.
Merge of r11046 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11058 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 14:14:52 +00:00
Russell Keith-Magee 9029db7b79 [1.0.X] Fixed #11278 -- Clarified query documentation regarding bulk assignment of m2m values. Thanks to zgoda for the patch.
Merge of r11045 and r11054 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11057 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 14:14:21 +00:00
Russell Keith-Magee 58e4a9d938 [1.0.X] Fixed #11272 -- Made some clarifications to the overview and tutorial. Thanks to jjinux for the review notes.
Merge of r11044 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11056 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 14:13:50 +00:00
Russell Keith-Magee 4a79eaac97 [1.0.X] Fixed #10848 -- Added prairiedogg to AUTHORS.
Merge of r11043 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 14:12:55 +00:00
Karen Tracey 7cccaaaf70 [1.0.X] Fixed #11339 -- Corrected typo in FAQ. Thanks Kellen.
r11041 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11042 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 12:42:57 +00:00
Karen Tracey a44960b083 [1.0.X] Fixed #11335 -- Corrected model reference in generic views doc. Thanks oyvind.
r11028 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11029 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-17 20:02:17 +00:00
Russell Keith-Magee 9d7e51d957 [1.0.X] Fixed #10336 -- Added improved documentation of generic views. Thanks to Jacob and Adrian for the original text (from the DjangoBook), and Ramiro for doing the work of porting the docs.
Merge of r11025 and r11026 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11027 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-17 14:19:54 +00:00
Russell Keith-Magee 40bcd34fab [1.0.X] Fixed #9919 -- Added note on the need to mark transactions as dirty when using raw SQL.
Merge of r11022 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11024 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-17 13:54:43 +00:00
Russell Keith-Magee e63e0bb400 [1.0.X] Fixed #11328 -- Added missing imports in the sample urls.py from Tutorial 3. Thanks to marcalj for the report.
Merge of r11021 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11023 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-17 13:52:05 +00:00
Russell Keith-Magee c19d10c180 [1.0.X] Fixed #9268 -- Ensured that the next argument is passed on when previewing comments. Thanks to leanmeandonothingmachine for the patch.
Merge of r11019 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-17 13:12:28 +00:00
Russell Keith-Magee d0a3b92e4b [1.0.X] Fixed #9023 -- Corrected a problem where cached attribute values would cause a delete to cascade to a related object even when the relationship had been set to None. Thanks to TheShark for the report and test case, and to juriejan and Jacob for their work on the patch.
Merge of r11009 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11010 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-15 15:06:35 +00:00
Russell Keith-Magee 8656fffbe0 [1.0.X] Fixed #11311 -- Reverted [10952], Refs #10785. Changeset [10952] caused problems with m2m relations between models that had non-integer primary keys. Thanks to Ronny for the report and test case.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11008 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-15 11:54:03 +00:00
Justin Bronn 1ff9ec9f12 [1.0.X] Fixed support for GDAL 1.6 on Windows. Thanks to jtia for spotting this.
Backport of r10985 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10986 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-12 17:19:19 +00:00
Luke Plant b9952794c3 [1.0.X] Fixed #9367 - EmailMultiAlternatives does not properly handle attachments.
Thanks to Loek Engels for the bulk of the patch.

Backport of r10983 from trunk


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10984 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-12 14:09:36 +00:00
Brian Rosner bbe034a74f [1.0.X] Fixed #11302 -- Avoid unnesscary (and possibly unintentional) queries/results from generic inline formsets.
When an instance with no primary key value is passed in to a generic inline
formset we ensure no queries/results occur. Thanks Alex Gaynor.

Backport of [10981] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10982 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-11 19:06:12 +00:00
Justin Bronn ea5e5a20a9 [1.0.X] Fixed #11245, #11246 -- Fixed validity check of `GeoIP` pointers and leaking of their references; also clarified initialization, fixed a stale test, added comments about version compatibility, and did some whitespace cleanup.
Backport of r10979 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10980 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-11 02:53:32 +00:00
Russell Keith-Magee 3f28be2b65 [1.0.X] Fixed #11056 -- Corrected reference to File class in storage docs. Thanks to wam for the report.
Merge of r10970 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10977 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-10 13:00:28 +00:00
Russell Keith-Magee a7f109d50f [1.0.X] Fixed #10801 -- Reverted a portion of [10371]. Practicality beats purity in this case. Thanks to bruce@z2a.org for the report. Refs #9771.
Merge of r10973 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10976 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-10 12:57:06 +00:00
Russell Keith-Magee 922aed5465 [1.0.X] Fixed #10845 -- Clarified the examples for using ModelForms with fields or exclude specified. Thanks to Andrew Durdin for the suggestion.
Merge of r10972 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10975 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-10 12:54:15 +00:00
Russell Keith-Magee 383c46dc8d [1.0.X] Fixed #10981 -- Clarified documentation regarding lazy cross-application relationships. Thanks to Ramiro for the suggestion.
Merge of r10971 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10974 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-10 12:51:35 +00:00
Russell Keith-Magee 0a4890466c [1.0.X] Blocked recent updates from merge.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10968 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-09 14:04:27 +00:00
Russell Keith-Magee 7ee3d0cd4d [1.0.X] Block recent trunk revisions from merge
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10957 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-08 14:51:44 +00:00
Russell Keith-Magee 8092c67d51 [1.0.X] Fixed #10785 -- Corrected a case for foreign key lookup where the related object is a custom primary key. Thanks to Alex Gaynor for the patch.
Merge of r10952 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10953 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-08 05:29:47 +00:00
Russell Keith-Magee a827ba72a1 [1.0.X] Blocked recent trunk update from merge to branch
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10932 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-06 13:48:00 +00:00
Russell Keith-Magee 7560497a50 [1.0.X] Blocked recent trunk updates from merge to branch
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10930 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-06 13:39:13 +00:00
Russell Keith-Magee a6db5f229b [1.0.X] Blocked update from merge to branch
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10927 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-06 08:36:13 +00:00
Russell Keith-Magee 056796b74d [1.0.X] Fixed #9479 -- Corrected an edge case in bulk queryset deletion that could cause an infinite loop when using MySQL InnoDB.
Merge of 10913-10914 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10915 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-03 13:43:05 +00:00
Gary Wilson Jr 53b0436102 [1.0.X] Fixed a few Python 2.3 incompatibilities that were causing test failures.
Backport of [10863] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10864 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-29 05:28:40 +00:00
Gary Wilson Jr 0871c87b77 [1.0.X] Fixed #11216 and #11218 -- Corrected a few typos, thanks buriy.
Backport of [10861] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10862 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-29 04:39:59 +00:00
Karen Tracey e2e092cff9 [1.0.X] Fixed #11204 -- Corrected typo in the pluralize doc. Thanks martin and SmileyChris.
r10849 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10850 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-27 16:28:38 +00:00
Karen Tracey 28380f48ca [1.0.X] Fixed #11209 -- Added a note to doc on connection.queries that the logged sql may not inlude parameter quoting.
r10847 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10848 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-27 16:21:49 +00:00
Karen Tracey 18feaead04 [1.0.X] Fixed #11215 -- Replaced erroneous catch with except in testing doc. Thanks jgomo3.
r10845 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10846 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-27 16:06:35 +00:00
Karen Tracey b9db62ee60 [1.0.X] Fixed #11205 -- Made the links to the str method description look the same as the links to the unicode method description in the tutorial part 1. Having one be fully qualified while the other was not was odd-looking.
r10843 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10844 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-26 16:48:49 +00:00
Karen Tracey f37a02ec03 [1.0.X] Fixed #11202 -- Removed mod_python information from FAQ, as it is no longer the recommended deployment option, in favor of more general pointers to the docs and wiki where deployment is discussed in depth.
r10841 from trunk.  Also updated svnmerge-integrated to indicate r10837 has been merged to the branch.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10842 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-26 16:33:10 +00:00
Brian Rosner 82f9f74821 [1.0.X] Fixed #8857 -- Corrected ref in modelforms documentation and added ref to file upload documentation in form documentation. Thanks Kyle Fox and prairiedogg.
Backport of [10837] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10838 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-24 06:48:43 +00:00
Karen Tracey 24108801b6 [1.0.X] Fixed #11188 -- Removed incorrect doc note about step being unsupported when slicing query sets.
r10835 from trunk.  Also updated svnmerge metadata for some other recent commits.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10836 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-23 13:06:26 +00:00
Jacob Kaplan-Moss 19e2585a38 [1.0.X] Fixed #10867: make the makemessages command ignore files and only process directories. Thanks, diegobz. Backport of [10833] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10834 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-20 20:05:49 +00:00
Jacob Kaplan-Moss 10637a94cb [1.0.X] Fixed #11134: signals recievers that disconnect during their processing no longer mess things up for other handlers. Thanks, Honza Kral. Backport of [10831] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10832 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-20 16:19:24 +00:00
Russell Keith-Magee e001738063 [1.0.X] Modified a test from r10787 so that the comparison order is reliable. Thanks to Alex Gaynor and Tom Tobin for the report via IRC.
Merge of r10828 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10829 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-20 00:26:07 +00:00
Karen Tracey 3cd3df814d [1.0.X] Blocked r10826 from merge to branch as it's a fix to code added in a blocked changeset. Also replaced r10824 with r10822 in svnmerge-integrated as I believe that was the intent of r10825.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10827 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-19 23:39:35 +00:00
Russell Keith-Magee cb73fe916e [1.0.X] Updated svnmerge properties for recent commits
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10825 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-19 15:05:22 +00:00
Russell Keith-Magee 593bcc155a [1.0.X] Fixed #9308 -- Corrected the updated of nullable foreign key fields when deleting objects. Thanks to Bob Thomas for the fix, and markshep for the improvements on the test case.
Merge of r10822 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10823 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-19 13:10:35 +00:00
Karen Tracey c6f7f2f092 [1.0.X] Blocked new function doc fix changesets from merge to branch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10821 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-18 16:06:04 +00:00
Karen Tracey ad2efbdd61 [1.0.X] Fixed #11138 -- Corrected the description of behavior related to the max_num parameter for model formsets.
r10819 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10820 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-18 16:02:43 +00:00
Karen Tracey efbe48cfcb [1.0.X] Fixed #10400: Added a note in the file uploads doc about the correct form type needed for file uploads to work. Thanks claudep and timo.
r10816 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10817 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17 18:47:32 +00:00
Karen Tracey 65966cebd3 [1.0.X] Fixed #10817 -- Corrected some grammar in the forms doc. Thanks nickretallack@gmail.com.
r10814 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10815 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17 18:11:58 +00:00
Karen Tracey d4e44699aa [1.0.X] Fixed #10846: Corrected typo in modwsgi.txt and updated reference to deployment in The Django Book. Thanks timo.
r10812 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10813 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17 18:06:12 +00:00
Karen Tracey fc24a69028 [1.0.X] Fixed #10855: Reference doc on creating superusers in the tutorial at the point where an account is needed, so that readers who neglected to create one earlier (or who forgot the password) don't get stuck or think they have to start all over. Thanks cwolf127 and timo.
r10810 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10811 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17 17:57:41 +00:00
Karen Tracey e2189f6d24 [1.0.X] Fixed #10925 -- Clarified the location of some code referenced in the tutorial. Thanks rm and timo.
r10808 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17 17:45:12 +00:00
Karen Tracey 509dfdd3a7 [1.0.X] Fixed #11031 -- Added doc for some additional roles needed when testing Oracle. Thanks JirkaV and Matt Boersma.
r10805 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10806 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17 17:28:34 +00:00
Karen Tracey 02b6f16422 [1.0.X] Fixed #11066 -- Corrected 11 duplicate "the"s found in docs and code comments. Thanks kaikuehne.
Merge of applicable parts of r10801 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10802 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17 16:53:38 +00:00
Karen Tracey 1f5626d087 [1.0.X] Fixed #11130 -- Corrected code example in custom template tag doc. Thanks phyfus.
r10799 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10800 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17 16:33:00 +00:00
Karen Tracey e6a6ce4f07 [1.0.X] Fixed #11106 -- Corrected typo in models doc. Thanks mnieber.
r10797 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10798 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17 16:22:44 +00:00
Karen Tracey ebd74921bb [1.0.X] Fixed #11128 -- Misc. fixes and improvements to the model forms doc. Thanks Ramiro and Alex.
r10795 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10796 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17 16:15:16 +00:00
Karen Tracey a04fd1ef30 [1.0.X] Updated blocked and merged metadata for svnmerge.py.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10794 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-16 19:01:51 +00:00
Russell Keith-Magee e21c85c58e [1.0.X] Updated svnmerge properties for recent commits
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10793 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-16 06:30:12 +00:00
Russell Keith-Magee f5dcd07977 [1.0.X] Fixed #9206 -- Added documentation on savepoints, and how to use them to recover from errors in PostgreSQL. Thanks to Richard Davies for the draft text.
Merge of r10791 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10792 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-16 06:27:44 +00:00
Matt Boersma 985c939dd0 [1.0.X] Fixed import statement in admin_views test to work with Python 2.3.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10790 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-15 15:06:57 +00:00
Russell Keith-Magee 55f1c3e176 [1.0.X] Fixed #11120 -- Corrected handling of inlines attached to inherited classes, broken by r10756. Thanks to George Song and Michael Strickland for the simultaneous reports.
Merge of r10787 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10788 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-15 13:06:57 +00:00
Jacob Kaplan-Moss 7f90dc1ba2 [1.0.X] Fixed #10348: ChangeList no longer overwrites a select_related provided by `ModelAdmin.queryset()`. Backport of [10782] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10783 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-14 15:13:49 +00:00
Jacob Kaplan-Moss c293450173 [1.0.X] Fixed #10992: fixed a bug saving inlines with custom primary key fields. Thanks, Zain. Backport of [10777] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10779 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-14 02:30:25 +00:00
Jacob Kaplan-Moss 5015860ebf [1.0.X] Fixed a weird intentation glitch in `django/forms/models.py`. Five spaces!?
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10778 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-14 02:28:56 +00:00
Jacob Kaplan-Moss 91a17a843f [1.0.X] Fixed #10795: added a link to model formsets docs from the formsets docs. Backport of [10774] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10775 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-14 02:15:53 +00:00
Jacob Kaplan-Moss ce369dce13 [1.0.X] Fixed #10273: added an explanation of `SetPasswordForm` and `UserChangeForm` to the docs. Thanks, Tarken. Backport of [10772] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10773 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-14 02:03:35 +00:00
Jacob Kaplan-Moss cefeb13f91 [1.0.X] Fixed #10272: documented the signatures for the contrib.auth views. Thanks, Idan Gazit. Backport of [10770] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10771 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-14 02:01:54 +00:00
Jacob Kaplan-Moss bcda65e991 [1.0.X] Fixed #11046: fixed a use of the deprecated cycle tag syntax in the template documentation. Backport of [10768] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10769 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-14 01:54:41 +00:00
Karen Tracey 86c278f2a5 [1.0.X] Blocked a few more changesets and added a couple more that have been integrated.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10767 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-13 19:14:02 +00:00
Jacob Kaplan-Moss 4c79ef99c2 [1.0.X] Fixed #11102: corrected a 1.1-ism in the tutorial.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10766 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-13 18:48:35 +00:00
Jacob Kaplan-Moss f4fce99bc1 [1.0.X] Fixed #10687: fixed request parsing when upload_handlers is empty. Thanks, Armin Ronacher. Backport of [10723] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10765 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-13 18:45:16 +00:00
Jacob Kaplan-Moss 11d08bca2b [1.0.X] Fixed #10448: correcting errors on "save as new" now correctly create a new object instead of modifying the old one. Thanks, bastih. Backport of [10713] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10764 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-13 18:41:39 +00:00
Ian Kelly 68033811ee [1.0.X] Fixed BooleanFields being coerced null=True in Oracle. Backport of r10505 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10763 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-13 17:11:18 +00:00
Karen Tracey cccfeaaa18 [1.0.X] Added admin URLs back to the urls.py example in the tutorial - had a complaint from someone following the tutorial that they got to that step and the admin stopped working and they weren't sure why.
Merge of r10727.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10762 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-13 16:19:52 +00:00
Karen Tracey 9e03bf2d47 [1.0.X] Blocked a few more changesets not applicable to the branch, and updated svnmerge-integrated to reflect changesets that have been merged.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10761 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-13 16:05:23 +00:00
Karen Tracey 3961b855e7 [1.0.X] Blocked a bunch of new function fixes from merge to branch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10760 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-13 15:38:18 +00:00
Russell Keith-Magee fe42c64a41 [1.0.X] Updated svnmerge properties for recent checkins
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10759 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-13 14:39:48 +00:00
Russell Keith-Magee c482859105 [1.0.X] Fixed #10243, #11043 -- Corrected handling of formsets over a ForeignKey that uses to_field, and by extension, fixed the admin for handling fields of that type. Thanks to apollo13 for the initial patch.
Merge of r10756 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10758 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-13 14:32:18 +00:00
Russell Keith-Magee 17d214a982 [1.0.X] Fixed #10288 -- Corrected _has_changed handling of DateTimeInput when a custom date/time format is in use. Thanks to Koen Biermans for the report and patch.
Merge of r10641 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10757 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-13 14:31:39 +00:00
Jacob Kaplan-Moss cc96ed9ecd [1.0.X] Fixed #10643: fixed the formtools security hash to handle allowed empty forms or forms without changed data. Backport of [10753] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10755 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-12 22:03:32 +00:00
Jacob Kaplan-Moss 08577ab0f1 [1.0.X] Fixed #10034: the formtools security hash function is now friendlier to browsers that submit leading/trailing whitespace in form fields. Backport of [10752] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10754 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-12 22:03:19 +00:00
Matt Boersma 5e20f14c8b [1.0.X] Fixed #11033 -- handle cx_Oracle.UNICODE when driver was compiled without Unicode support. Thanks, JirkaV.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10750 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-12 20:32:03 +00:00
Jacob Kaplan-Moss a1d6fdafce [1.0.X] Fixed #9675: added note about upgrading the URLconf to the comment upgrade guide. Backport of [10746] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10748 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-12 17:25:29 +00:00
Jacob Kaplan-Moss da4ddabbe5 [1.0.X] Fixed #11063: updated install docs to mention mod_wsgi instead of mod_python. Backport of [10745] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10747 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-12 17:25:07 +00:00
Matt Boersma 0f98f0b214 [1.0.X] Fixed #11050 -- Oracle now passes all but one introspection unit test.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10744 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-11 20:56:38 +00:00
Malcolm Tredinnick 9b8644407d [1.0.X] Changed r10672 to not falsely error out when using generic inlines.
The bug was picked up by the tests already, but only if run against a
backend that supports referential integrity.

Backport of r10732 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10736 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-11 01:48:06 +00:00
Russell Keith-Magee 1b6fac19ce [1.0.X] Updated svnmerge properties for recent checkins
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10734 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-11 00:06:03 +00:00
Russell Keith-Magee bc07a498fe [1.0.X] Fixed #10792 -- Ensured that ModelChoiceFields don't provide an empty option when the underlying field has blank=False and there is a default value available. Thanks to carljm for the report and patch.
Merge of r10729 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10733 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-11 00:01:40 +00:00
Russell Keith-Magee 0d930ee0e6 [1.0.X] Fixed #11042 -- Corrected admin inlines for inherited models. Thanks to jsmullyan for the report, and mir for helpful triage work. Patch includes regression test for #8093, and a commented out test for #10992.
Merge of r10725 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10726 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-09 11:52:15 +00:00
Russell Keith-Magee cde397df31 [1.0.X] Updated svnmerge properties for recent checkins
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10724 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-09 05:31:19 +00:00
Matt Boersma 1fe7eb603d [1.0.X] Fixed test suite on Oracle that was broken by using keyword "date" as a field name. Refs #4140 and #10422.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10722 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-08 16:49:49 +00:00
Russell Keith-Magee 8397c1fdfa [1.0.X] Fixed #10899 -- Ensured that log messages for deletions in the admin contain useful descriptions. Thanks to Jeremy Dunck for the patch.
Merge of r10686 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10720 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-08 16:12:51 +00:00
Russell Keith-Magee 41ba8e7ca6 [1.0.X] Fixed #10516 -- Corrected admin search when the search_fields definition contains multiple fields on the same base model. Thanks to Zain Memon
Merge of r10684 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10719 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-08 16:08:55 +00:00
Russell Keith-Magee 7bcbc99b9e [1.0.X] Fixed #9493 -- Corrected error handling of formsets that violate unique constraints across the component forms. Thanks to Alex Gaynor for the patch.
Merge of r10682 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10718 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-08 16:04:59 +00:00
Jacob Kaplan-Moss cd4f12d116 [1.0.X] Fixed #10651: fixed a javascript error on the admin user add form. Thanks, seanl. Backport of [10714] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10715 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-08 12:58:57 +00:00
Jacob Kaplan-Moss 4f383e2939 Reverted r10709 which I applied to the wrong branch. Sorry for my git-svn fail!
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10710 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-08 11:13:17 +00:00
Jacob Kaplan-Moss 864b78135a Fixed #10188: prevent newlines in HTTP headers. Thanks, bthomas.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10709 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-08 11:10:23 +00:00
Jacob Kaplan-Moss 7935231ef0 [1.0.X] Fixed #8817: get_image_dimensions correctly closes the files it opens, and leaves open the ones it doesn't. Thanks, mitsuhiko.
While I was at it, I converted the file_storage doctests to unit tests.

Backport of [10707] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10708 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-08 11:02:49 +00:00
Jacob Kaplan-Moss a109a223b8 [1.0.X] Fixed #10335: handle system locals unknown to Python in timezone name handling. Thanks, mitsuhiko. Backport of [10703] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10704 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-08 09:56:25 +00:00
Gary Wilson Jr e93b3a7b02 [1.0.X]: Fixed #9610 -- Fixed duplicate uploaded file name mangling when directory contained a dot and file didn't. Based on patches from fadlytabrani and adurdin.
Backport of r10701 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10702 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-08 05:52:44 +00:00
Gary Wilson Jr 1b9893f991 [1.0.X]: Fixed #9344 -- In the `TemporaryFile` class used by Windows, proxy to the wrapped file object. Thanks julien and mitsuhiko.
Backport of r10699 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10700 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-08 04:46:30 +00:00
Jacob Kaplan-Moss 899d484afb [1.0.X] Make sure that all uses of max_length in the test suite use values smaller than 255. If we use max_length > 255 the test suite can't be run on MySQL 4. Backport of [10697] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10698 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-07 18:11:43 +00:00
Marc Fargas 6a080b199c [1.0.X] Updated Spanish translation.
left one fuzzy string on purpose.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10696 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-07 17:55:54 +00:00
Jacob Kaplan-Moss 09c2559b41 [1.0.X] Fixed #11030: fixed file uploads on non-utf8 filesystem encoding. Thanks, Honza Kral. Backport of [10693] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10695 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-07 17:55:38 +00:00
Marc Fargas b03e58b936 [1.0.X] Updated Calatan translation.
Left one fuzzy string on purpose.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10694 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-07 17:55:31 +00:00
Jacob Kaplan-Moss 67f9ad2801 [1.0.X] Fixed #9659: fixed `wsgi.file_wrapper` in the builtin server. Thanks, mitsuhiko. Backport of [10690] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10691 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-07 15:40:13 +00:00
Jacob Kaplan-Moss 9b724aea20 [1.0.X] Fixed #11026, a small typo in the regroup template tag docstring. Thanks, mitsuhiko. Backport of [10687] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10688 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-07 13:48:35 +00:00
Jacob Kaplan-Moss 643e914d2b [1.0.X] Fixed #8971: correctly reverse urls in admindocs reST roles. Thanks, mitsuhiko. Backport of [10683] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10685 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-07 12:54:33 +00:00
Russell Keith-Magee fc15d690b1 [1.0.X] Updated svnmerge properties for recent changes
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10679 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-05 22:31:15 +00:00
Russell Keith-Magee 6541739765 [1.0.X] Fixed #10275 -- Corrected the edge case of rendering a LogEntry with a contenttype of None. Thanks to Jarek Zgoda for the report, and Peter Bengtsson for the patch
Merge of r10675 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-05 12:46:50 +00:00
Russell Keith-Magee c03a0a7837 [1.0.X] Updated svnmerge and svn:ignore properties for recent checkins
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10673 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-03 13:50:09 +00:00
Russell Keith-Magee 0e5c80f86c [1.0.X] Fixed #9932 -- Added a validation error when an inline tries to exclude the foreign key that provides the link to the parent model. Thanks to david for the report and patch.
Merge of r10668 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10672 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-03 13:48:27 +00:00
Russell Keith-Magee f137a7391e [1.0.X] Fixed #9362 -- Prevented inline forms from overwriting the content_type_id attribute on objets being inlined. Thanks to carljm for the report and patch.
Merge of r10667 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10671 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-03 13:47:36 +00:00
Russell Keith-Magee aefb07d865 [1.0.X] Fixed #8903 -- Corrected rendering of admin inline formsets (tabular and stacked) when the inline model has a custom non-autofield primary key. Thanks to dgouldin for the patch.
Merge of r10666 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10670 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-03 13:46:30 +00:00
Russell Keith-Magee e7555c09d8 [1.0.X] Updated svnmerge properties for recent changes
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10663 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-02 15:00:01 +00:00
Russell Keith-Magee 6a21ada37e Fixed #9609 -- Modified the clean method of(Null)Boolean field to accept '1' and '0' as valid inputs. Thanks to psagers for the patch.
This is required to support the use of non-default form widgets such as RadioSelect when the data comes from MySQL, which uses 1/0 to represent booleans.

Merge of r10660 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10662 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-02 14:56:35 +00:00
Russell Keith-Magee 5a089a5b00 [1.0.x] Fixed #10367 -- Corrected an example in the documentation for GenericRelation. Thanks to George Song for the patch.
Merge of r10659 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10661 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-02 14:55:50 +00:00
Russell Keith-Magee c5bc893248 [1.0.X] Updated svnmerge properties for recent changes
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10658 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-02 07:46:37 +00:00
Russell Keith-Magee 6e1869c46b [1.0.X] Fixed #9206 -- Clarified documentation of transaction handling in raw SQL, and error recovery for Postgres. Thanks to Richard Davies for the suggestion and draft text.
Merge of r10655 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10657 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-02 07:44:39 +00:00
Russell Keith-Magee 5f730ded91 [1.0.X] Fixed #10954 -- Corrected error in docs example describing extending the JSON serializer. Thanks to Glenn for the report.
Merge of r10654 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10656 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-02 07:43:55 +00:00
Russell Keith-Magee d22290b2ce [1.0.X] Fixed #10349 -- Modified ManyToManyFields to allow initial form values to be callables. Thanks to fas for the report and patch.
Merge of r10652 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10653 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-02 07:16:30 +00:00
Russell Keith-Magee 3c222b1b8b [1.0.X] Updated svnmerge properties
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-30 15:44:05 +00:00
Russell Keith-Magee 23c12c9c2b [1.0.X] Fixed #10134 -- Added unique_for_[date|day|month|year] validation to ModelForm handling. Thanks to Alex Gaynor for the patch.
Merge of r10646 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10647 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-30 13:49:14 +00:00
Russell Keith-Magee 655b602020 Updated svnmerge properties for recent checkins
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10645 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-28 14:33:31 +00:00
Russell Keith-Magee bf10bded7a [1.0.X] Fixed #10082 -- Modified BaseFormSet so that ordering checks work when the formset is empty. Thanks to Petr Marhoun for the report and test case, and bmathieu for the fix.
Merge of r10643 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10644 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-28 14:22:39 +00:00
Jannis Leidel e114ffb90a [1.0.X] Updated German translation, thanks zerok and bartTC
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10640 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-28 09:44:48 +00:00
Justin Bronn a7bfcba5db [1.0.X] Fixed #10888 -- May now insert NULL `GeometryField` values on Oracle.
Backport of r10631 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10632 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-24 20:25:48 +00:00
Jacob Kaplan-Moss 3b3c05df72 [1.0.X] Fixed #10163: add an artificial ordering to querysets used by formsets, thus ensuring that POSTed data "lines up" correctly every time. Thanks to Karen Tracey for pointing in the right direction here.
This is a backport of [10625] from trunk, in a sense. In 1.1 I added a `QuerySet.ordered` property to deal with the logic of determining whether a queryset has ordering, but we can't add new features on a bugfix branch. So here in 1.0-land, the logic has to live in the formset. This smells, but it's better than having a bug.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10630 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-23 14:18:11 +00:00
Jacob Kaplan-Moss 91d063c405 [1.0.X] Fixed a needless list() coercion in in ChangeList. Refs #10163. Backport of [10624] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10629 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-23 14:18:02 +00:00
Jacob Kaplan-Moss 2ceee52303 [1.0.X] Fixed the tests from [9438] to work consistantly across databases. In particular, it was failing on newer versions of PostgreSQL after [10586]. Backport of [10626] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10627 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-22 22:41:18 +00:00
Karen Tracey c39b59e1d9 [1.0.X] Blocked r10621 from merge to branch, and updated svnmerge-integrated to reflect all changesets that have been merged.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10622 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-22 19:26:00 +00:00
Jacob Kaplan-Moss 421b22e8ee [1.0.X] Fixed #10208: `ModelAdmin` now respects the `exclude` and `field` atributes of custom `ModelForm`s. Thanks, Alex Gaynor. Backport of r10619 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10620 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-22 16:14:02 +00:00
Luke Plant cb92893598 [1.0.X] Fixed #10884 - more lenient regexp for matching forms in CSRF post-processing
Thanks to Ryszard Szopa for the report and fix

Backport of r10617


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10618 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-21 23:44:28 +00:00
Justin Bronn 725ffa57bb [1.0.X] Fixed #10839 -- `GeoQuery` now unpickles properly on Oracle.
Backport of r10615 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10616 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-21 22:40:49 +00:00
Justin Bronn f110f91a03 [1.0.X] Fixed various Oracle errata and test failures present in this branch (including not going to 11).
Backport of Oracle-related changes from trunk in r10197.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10614 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-21 21:25:47 +00:00
Justin Bronn ed5e3c3d2b [1.0.X] Fixed #10791 -- The GeoDjango test runner now respects the `--noinput` command-line option, thanks to seanl for ticket & patch.
Backport of r10601 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10613 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-21 20:14:42 +00:00
Karen Tracey 7ff22ef258 [1.0.X] Fixed #9651: fixed save_as with inline forms. Thanks, kmike and Mnewman.
Backport of r10353 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10612 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-21 18:58:32 +00:00
Karen Tracey 0d17a5c7c6 [1.0.X] Fixed #10693: updated params in the docs.
r10324 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10611 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-21 18:36:45 +00:00
Karen Tracey 65b64d5a08 [1.0.X] Unblocked r10324 and 10353. These changesets are applicable to the branch as well.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10610 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-21 18:34:27 +00:00
Matt Boersma 9fabfedcbe [1.0.X] Fixed #10716 so Oracle tests run again. Thanks very much, kmtracey.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-21 18:09:52 +00:00
Karen Tracey a486c1e9b6 [1.0.X] Added a test from Jamie Gennis to ensure #9848 doesn't reappear.
The bug itself was fixed at some point in the past months (there have
been a few improvements to update() recently). Fixed #9848. 

(Merge of r10528 from trunk.  Per comment in #9848 the fix was in r9967,
which was backported in r9968, thus it seems right to backport the new
test as well.)


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10607 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-21 17:56:54 +00:00
Karen Tracey 40a7b54a00 [1.0.X] Fixed #10601 -- Fixed edit inline display in admin for right-to-left locales. r10524 from trunk.
Also updated svnmerge metadata to reflect other changesets that have already been applied to the branch.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10606 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-21 17:48:00 +00:00
Karen Tracey f873836989 [1.0.X] Blocked a bunch of changesets related to new function from merge to branch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10605 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-21 16:41:33 +00:00
Justin Bronn dd51cf9876 [1.0.X] Fixed #10364 -- Correctly identify test spatial database creation errors to the user.
Backport of r10603 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10604 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-20 00:11:36 +00:00
Malcolm Tredinnick 1c925f65b3 [1.0.X] Fixed #8752 -- Fixed django.contrib.auth tests to be locale-independent.
Patch from Koen Biermans.

Backport of r10599 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10600 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-19 03:44:06 +00:00
Malcolm Tredinnick ecb3906791 [1.0.X] Fixed #10773 -- Fixed some damage I did to the French in r10509.
Patch from Karen Tracey.

Backport of r10595 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10596 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-19 02:33:20 +00:00
Jacob Kaplan-Moss f0e7dca9d1 [1.0.X] Fixed #10694: correctly check permissions in the change password admin. Thanks, jturnbull. Backport of r10591 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10592 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-18 21:06:19 +00:00
Jacob Kaplan-Moss 283442a50e [1.0.X] Fixed #10002: inline file uploads now correctly display prior data. Thanks, dgouldin. Backport of r10588 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10589 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-18 20:34:42 +00:00
Jacob Kaplan-Moss 01669a356a [1.0.X] Fixed #9122: generic inline formsets now respect exclude and max_num. Thanks, Alex Robbins. Backport of [10586] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10587 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-18 20:17:17 +00:00
Jacob Kaplan-Moss 681a26ca90 [1.0.X] Fixed #9124: fixed `SelectDateWidget` with `required=False`. Thanks, Bernd Schlapsi. Backport of [10584] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10585 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-18 17:36:45 +00:00
Jacob Kaplan-Moss 2ee33cf63b [1.0.X\ Fixed #10156: `ModelMultipleChoiceField.clean` now does a single query instead of O(N). Thanks, Alex Gaynor. Also, I ported a few more doctests to unittests. Backport of r10582 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10583 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-18 15:52:58 +00:00
Matt Boersma c17547ac50 [1.0.X] Fixed introspection test case which caused "ORA-00972: identifier is too long" errors against Oracle.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10581 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-17 16:28:13 +00:00
Russell Keith-Magee 5acc58360d Updated svnmerge properties for 1.0.X branch
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10578 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-16 15:02:33 +00:00
Russell Keith-Magee f80769d089 [1.0.X] Fixed #9948 -- Corrected URLField validation to match RFC1035 (URL analog of #9890). Thanks to kratorius for the report and fix.
Merge of r10574 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10577 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-16 15:00:20 +00:00
Russell Keith-Magee 5f20587fcb [1.0.X] Fixed #9890 -- Modified the regex validation for email addresses to match RFC822/1035. Thanks to ozgur for the report, and kratorius for the patch.
Merge of 10573 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10576 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-16 14:59:37 +00:00
Russell Keith-Magee 33eca69b95 [1.0.X] Fixed #10779 -- Corrected description of an example in the files docs. Thanks to timo for the patch.
Merge of r10567 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10571 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-16 13:29:31 +00:00
Russell Keith-Magee e249b0ec4d [1.0.X] Fixed #10776 -- Added metadata targets for the contrib.admin docs, and used one of those targets to clarify the SlugField docs. Thanks to ernop for the suggestion, and timo for the patch.
Merge of r10564 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10570 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-16 13:28:58 +00:00
Russell Keith-Magee c89bf435c2 [1.0.X] Fixed #10704 -- Resurrected documentation for {% else %} clause on {% ifchanged %}, lost during docs refactor. Thanks to Tarken for the report.
Merge of r10563 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10569 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-16 13:28:16 +00:00
Russell Keith-Magee b8abb9b872 [1.0.X] Fixed #10822 -- Corrected minor typo in i18n docs. Thanks to prairiedogg for the report.
Merge of r10561 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10568 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-16 13:27:46 +00:00
Russell Keith-Magee e471bbe209 [1.0.X] Fixed #10458 -- Corrected the `next_month` and `previous_month` context variables provided with the generic month_archive view. The value returned now matches the docstring and the generic views documentation. Thanks to fperetti for the report and initial patch.
Merge of r10556 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10557 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-13 13:26:31 +00:00
Russell Keith-Magee 960d3172f6 [1.0.X] Fixed #9522 -- Modified handling of values in base serializer so that field subclasses can define their own value_to_string() method for serialization. Thanks to Alex Koshelev for the report and initial patch.
Merge of r10554 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10555 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-13 12:40:43 +00:00
Russell Keith-Magee 6be2d903f3 [1.0.X] Fixed #9804 -- Corrected the introspection of sequence names. This was causing problems when flushing tables that had many-to-many relations through an inherited table. Thanks to jdimov for the report.
Merge of r10552 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10553 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-13 07:16:44 +00:00
Russell Keith-Magee 2c6e3b30b3 [1.0.X] Fixed #10237 -- Corrected the handling of self-referential m2m fields when using multi-table inheritance. Thanks to Justin Lilly for the report and patch.
Merge of r10550 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10551 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-13 03:07:59 +00:00
Malcolm Tredinnick cab85015c5 [1.0.X] Fixed #10716 -- Fixed a couple of typos in Oracle testing setup.
Thanks, canarix.

Backport of r10547 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10548 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-12 05:56:59 +00:00
Malcolm Tredinnick 1e0c34dd7f [1.0.X] Fixed #10692 -- Fixed DecimalField lookups for extreme values.
Backport of r10545 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10546 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-12 05:34:07 +00:00
Malcolm Tredinnick f0c9bc5563 [1.0.X] Fixed #10675 -- Added unicode paragraph and line-sep handling to escapejs.
There were a couple of line breaking Unicode characters (\u2028 and
\u2029) that cause Javascript errors, at least in Firefox, if not
escaped. So now we do so. Based on a patch from rleland.

Backport of r10543 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10544 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-12 04:57:50 +00:00
Malcolm Tredinnick a83e4cb195 [1.0.X] Fixed #10630 -- Be even more conservative in GZipMiddleware for IE.
Patch from sebastien_noack.

Backport of r10541 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10542 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-12 04:15:45 +00:00
Malcolm Tredinnick 6771f4e348 [1.0.X] Fixed #10267 -- Correctly handle IRIs in HttpResponse.build_absolute_uri().
Backport of r10539 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10540 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-12 03:54:49 +00:00
Malcolm Tredinnick 18baad0d2f [1.0.X] Fixed #10789 -- Updated Estonian translation from RaceCondition.
Backport of r10536 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10537 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-12 02:43:13 +00:00
Malcolm Tredinnick 95dcf56f4c [1.0.X] Fixed #9577 --Fixed URL display in the debug template.
Patch from Thomas Güttler.

Backport of r10534 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10535 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-12 02:25:18 +00:00
Malcolm Tredinnick 6d5f811cdb [1.0.X] Fixed #10438 -- Fixed MySQL backend behaviour for UPDATE behaviour.
We need to know the number of rows that are matched by an UPDATE query,
not just the number of rows that are changed. In the relatively unlikely
event that somebody was using Django's cursor proxy and relying on the
previous behaviour, well, that isn't the case any longer. We need to
this version.

Thanks to Daniel Tang for pointing out the solution here.

Backport of r10532 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10533 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-12 02:17:45 +00:00
Malcolm Tredinnick 4915d1d02f [1.0.X] Fixed #10071 -- Changed some internal database data representations.
We now pass numbers used in data queries as actualy numbers (integers) to the
database backends, rather than string forms. This is easier for some of the
less flexible backeds.

Patch from Leo Soto.

Backport of r10530 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10531 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-12 02:05:43 +00:00
Russell Keith-Magee d78ff63ec6 Updated svnmerge properties for some recent changes
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10525 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-11 15:13:31 +00:00
Malcolm Tredinnick 13475ed646 [1.0.X] Fixed #10369 -- Fixed auto-escaping inside "tran" and "blocktrans" tags.
Patch from Andrew Badr.

Backport of r10519 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10520 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-11 12:07:52 +00:00
Malcolm Tredinnick f943e2e418 [1.0.X] Fixed #10357 -- Fixed the "dbshell" command for Windows users.
Thanks to markshep for the patch.

Backport of r10517 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10518 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-11 11:50:21 +00:00
Russell Keith-Magee b6bd5ddc33 [1.0.X] Fixed #10571 -- Ensured that unicode POST data is correctly encoded by the test client. Thanks to Rick Wagner for his help identifying and fixing this problem.
Merge of r10513 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10514 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-11 09:27:04 +00:00
Malcolm Tredinnick c2a828c7ca [1.0.X] Fixed #10450 -- Fixed an initialisation problem in the savepoint code.
Patch from Jeremy Dunck.

Backport of r10511 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10512 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-11 07:52:07 +00:00
Malcolm Tredinnick b853ed4fe7 [1.0.X] Fixed #10773 -- Small fix to the French translation. Thanks, djoume.
Backport of r10508 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10509 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-11 06:28:58 +00:00
Jacob Kaplan-Moss b9c0ec63d3 Updated svnmerge metadata.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10504 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-10 21:45:21 +00:00
Jacob Kaplan-Moss 06f379bd5c [1.0.X] Fixed #10753 -- Fixed regression in dispatcher after [10398]. Thanks for the patch and tests, minmax. Backport of r10497 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10503 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-10 21:40:38 +00:00
Jacob Kaplan-Moss 2ab40287bc [1.0.X] Fixed #9640, #10549: BooleanFields with choices, a default, and null=False now correctly doesn't generate a blank option. Backport of r10500 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10502 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-10 19:57:11 +00:00
Jacob Kaplan-Moss 7a283f790c [1.0.X] Converted model_fields regression tests into unittests. Backport of r10499 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10501 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-10 19:56:56 +00:00
Jacob Kaplan-Moss 1a541eebd3 [1.0.X] Fixed #10038: make `BaseModelFormSet.save_existing_objects` use `Form.has_changed()` instead of looking at `changed_data` directly. Thanks, karihre. Backport of r10495 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10496 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-10 18:45:06 +00:00
Jacob Kaplan-Moss f3eff22de7 [1.0.X] Fixed a silly typo in my bio. How embarrassing. Backport of r10490 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10492 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-10 17:10:57 +00:00
Jacob Kaplan-Moss ca5b624b05 [1.0.X] Fixed #10774: accessing form media types in templates (i.e. ``{{ form.media.js }}``) now works. Thanks, tarequeh and Alex Gaynor. Backport of r10489 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10491 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-10 17:10:44 +00:00
Jacob Kaplan-Moss 53af452329 [1.0.X] Updated my bio. Backport of r10484 on trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10485 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-10 16:34:49 +00:00
Jacob Kaplan-Moss a5e0725247 [1.0.X] Fixed #10747: fixed the auth tests to ignore broken user-supplied login/logout templates. Backport of r10482 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10483 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-10 15:53:21 +00:00
Malcolm Tredinnick fe7250db64 [1.0.X] Fixed #10674 -- Updated Arabic translation from Ossama M. Khayat.
Backport of r10479 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10480 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-10 11:29:56 +00:00
Malcolm Tredinnick 4e588ee93d [1.0.X] Fixed #10652 -- Updated Slovenian translation from Gasper Zejn.
Backport of r10477 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10478 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-10 11:24:55 +00:00
Jarek Zgoda dccb6e9c9c [1.0.X] Polish translation updated
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10476 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-10 09:53:58 +00:00
Malcolm Tredinnick 3ae27692b2 [1.0.X] Fixed #10593 -- Updated Portugese Brazilian translation.
Thanks, Guilherme Gondim.

Backport of r10473 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10474 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-10 08:50:05 +00:00
Malcolm Tredinnick 4a0e683ef1 [1.0.X] Fixed #10567 -- Slovak translation update from Marian Andre.
Backport of r10471 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10472 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-10 08:42:13 +00:00
Malcolm Tredinnick 167d21e6ab [1.0.X] Fixed #10446 -- Updated Russiann translation. Thanks, dc.
Backport of r10469 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10470 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-10 08:36:56 +00:00
Malcolm Tredinnick 9e22d3ca4a [1.0.X] Fixed #10077 -- Fixed a Chinese translation error. Thanks, wizunion@gmail.com.
Backport of r10466 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10467 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-10 07:35:57 +00:00
Nicola Larosa 2d97ab1131 [1.0.X] Updated Italian translation
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10464 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-10 06:24:43 +00:00
Malcolm Tredinnick dd7198701a [1.0.X] Fixed #9315 -- Handle spaces in URL tag arguments.
Thanks Natalia Bidart and Matías Bordese for most of this patch.

Backport of r10462 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10463 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-10 04:49:00 +00:00
Malcolm Tredinnick 6c45765681 [1.0.X] Fixed #8515 -- Fixed validation of Polish REGON numbers.
Patch from Piotr Lewandowski.

Backport of r10460 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10461 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-10 01:13:29 +00:00
Jacob Kaplan-Moss 8c3d593b0f [1.0.X] Fixed #7944: date-based generic views no longer get confused with a numeric month format. Thanks to Justin Lilly and Alex Gaynor. Backport of r10457 and r10458 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10459 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-09 15:28:41 +00:00
Jacob Kaplan-Moss 3891c137d4 [1.0.X] Fixed #9341: add another on `ManyToManyField`s with `raw_id_admins` now works correctly. Backport of r10452 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10453 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-08 19:58:24 +00:00
Jacob Kaplan-Moss e013c78ef8 [1.0.X] Fixed the test from [10447] to not depend on `os.listdir()` ordering. I always forget about that one; thanks, buildbot. Backport of r10449 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10450 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-08 19:42:01 +00:00
Jacob Kaplan-Moss 136d8b2854 [1.0.X] Fixed #8422: FilePathField now respects required=False. Backport of r10447 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10448 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-08 18:55:06 +00:00
Jarek Zgoda 5fc10e9293 [1.0.X] Polish translations updated: new msgids in comments + unification of messages with trunk
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10445 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-08 09:02:29 +00:00
Jacob Kaplan-Moss 3cff712c21 Updated svnmerge metadata.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10442 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-07 22:21:10 +00:00
Jacob Kaplan-Moss 4f2259f539 [1.0.X] Added some tests to show that #9672 has been fixed ever since [10215]. Refs #9672. Backport of r10440 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10441 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-07 22:13:30 +00:00
Justin Bronn 806d898bbf [1.0.X] Fixed #10757 -- Fixed improper selection of primary keys across relations when using `GeoManager.values`. Thanks, David Gouldin for ticket and initial patch.
Backport of r10434 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10437 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-07 21:33:43 +00:00
Jacob Kaplan-Moss 866574a854 [1.0.X] Fixed #9957: feeds now respect time zone information provided by the pub date. Backport of r10435 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10436 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-07 21:21:17 +00:00
Jacob Kaplan-Moss 8c763da4f7 [1.0.X] Fixed #9555: respect the `feed_url` feed parameter. Thanks, sedden. Backport of r10432 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10433 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-07 20:30:04 +00:00
Jacob Kaplan-Moss 0013403eee [1.0.X] Fixed #10169: don't accidentally try to redirect to "None" after posting a comment. Backport of r10429 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10431 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-07 20:23:54 +00:00
Jacob Kaplan-Moss 1c2ee287c0 [1.0.X] Fixed #10633, #10691: marked strings in the comments app for translation. Thanks, zgoda. Backport of r10427 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10430 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-07 20:23:42 +00:00
Jacob Kaplan-Moss 6951cece53 [1.0.X] Replaced a misplaced import from [10425].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10426 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-07 19:53:42 +00:00
Jacob Kaplan-Moss 0c85192ebe [1.0.X] Fixed #10585: comment redirects built from the `next` parameter now work correctly when `next` already contains a query string. Backport of r10424 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10425 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-07 19:50:42 +00:00
Jacob Kaplan-Moss f78c70b3b2 [1.0.X] Fixed #9956: relax the URL pattern for primary keys in the comment redirect so that models with custom PKs aren't cut out of the loop. Backport of r10422 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10423 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-07 19:41:31 +00:00
Jacob Kaplan-Moss 503b3ca459 [1.0.X] Fixed #9792: corrected invalid HTML in the comment form and comment preview. Backport of r10420 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10421 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-07 19:35:11 +00:00
Jacob Kaplan-Moss a340c7f0e2 [1.0.X] Fixed #9268: pass the "next" param through in the comment preview/post view. Also updated the docs to make this a bit clearer. Backport of r10418 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10419 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-07 19:29:34 +00:00
Jacob Kaplan-Moss 4c7b2b8baf [1.0.X] Updated svnmerge metadata.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10417 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-07 19:13:15 +00:00
Jacob Kaplan-Moss ff4609b686 [1.0.X] Fixed #10714 - made mod_wsgi recommendation consistent across deployment documentation, and removed duplicate modwsgi nav link. Backport of r10411 and r10413 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10416 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-07 19:11:20 +00:00
Russell Keith-Magee 3931829c6e [1.0.X] Fixed #10183 -- Corrected the handling of unicode in assertContains and assertNotContains. Thanks to trbs for the patch.
Merge of r10414 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10415 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-07 12:15:25 +00:00
Karen Tracey bb558539ad [1.0.X] Made a set of small test changes to avoid leaving temp files hanging around after running the test suite. First, fixed a couple of places where temp dirs were (or could be) created without later being deleted. Second, added a missing close() before unlink() since Windows raises an error on an attempt to remove an open file. Finally, in the file_uploads tests, avoided opening-by-name temporary files that we already have a descriptor for. Doing additional opens seems to run afoul of the Windows issue with deleting open files, so it generally works better to just seek back to 0 instead of calling open multiple times.
Backport/merge of r10406.  Also updated svnmerge metadata.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10407 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-05 21:45:07 +00:00
Jacob Kaplan-Moss 520c670b9d [1.0.X] Fixed a sloppy test auth test. [10400] revealed that the auth test was relying on the weird difference between calling a management from the shell and from `call_command`. That this worked in the first case was pretty much an accident. Backport of r10404 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10405 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-05 19:01:03 +00:00
Jacob Kaplan-Moss 734a3ac767 [1.0.X] Fixed the test case from [10399] to be more robust against the order in which test cases are executed. Backport of r10402 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10403 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-05 17:54:40 +00:00
Jacob Kaplan-Moss 33173e98c1 [1.0.X] Fixed #10080: `call_command` now takes option defaults into account, sparing individual commands from any difference between `call_command` and being run from the shell. Thanks, Alex Koshelev. Backport of 10400 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10401 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-05 17:28:09 +00:00
Jacob Kaplan-Moss 35c30ee957 Fixed #9989: fixed a subtle edge case where removing signals could break. Thanks, ferringb. Backport of r10398 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10399 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-05 17:21:25 +00:00
Karen Tracey 50d3ebf72a Fixed #8900: Added errno=13 (permission denied) to the class of ignored OSErrors when attempting to delete the old file in file_move_safe.
This error was seen on Windows with Pythons < 2.5. In the case where the error was seen, the old file is auto-deleted on close anyway by the Windows-specific NamedTemporaryFile support.

No new test because the failure could be seen when running the file_uploads test with Python 2.3/2.4 on Windows. With this fix file_uploads runs clean in that environment.

While in the neignborhood fixed up the docstrings to better match the reality of what the code does and what the function is named. 

r10396 from trunk.



git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10397 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-05 04:48:11 +00:00
Karen Tracey a9931e5655 [1.0.X] Fixed the test added for #9005 to use the e.args[0] instead of e.message. Exceptions didn't have 'message' before Python 2.5, and it was deprecated as of Python 2.6. args[0] works without error or DeprecationWarning from Python 2.3 through 2.6.
r10394 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10395 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-04 19:48:26 +00:00
Karen Tracey 2d20e5265a [1.0.X] Fixed up the tests added for #9779 to run under Python 2.3, which doesn't have set.
Merge of the part of [10392] that applies to the 1.0.X branch.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10393 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-04 19:12:52 +00:00
Karen Tracey cfe9b6f642 [1.0.X] Replace test use of assertTrue with failUnless. No matter how many times we try, Python 2.3 still doesn't recognize assertTrue.
[10390] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10391 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-04 17:54:35 +00:00
Karen Tracey 055f9a0ebf [1.0.X] Fixed #10254: Changed the regex in get_valid_filename to allow unicode alphanumerics (thanks gulliver). Also updated the file_uploads test for this case to check the name after saving the uploaded file. As it was the test ensured that files with unicode characters in their names could be uploaded, but it wasn't actually ensuring that the unicode characters were preserved through save.
Backport of [10388]


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10389 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-04 17:42:43 +00:00
Karen Tracey 3c5f7bc262 [1.0.X] Update svnmerge metadata.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10387 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-04 17:19:50 +00:00
Russell Keith-Magee f3a81cb5af [1.0.X] Blocked r10385 from merge.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10386 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-04 06:59:59 +00:00
Jacob Kaplan-Moss fd8965198f [1.0.X] Fixed #9991: correctly introspect PostgreSQL 'real' types. Backport of r10379 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10380 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-03 20:53:50 +00:00
Jacob Kaplan-Moss b45cf13bed [1.0.X] Fixed #10372: made `get_svn_revision()` more robust. Thanks, mboersma. Backport of r10377 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10378 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-03 20:29:59 +00:00
Jacob Kaplan-Moss fbffc2e943 [1.0.X] Fixed #10522: accept tuples in `generic_inlineformset_factor(exclude)`. Thanks, mk. Backport of r10375 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10376 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-03 20:04:39 +00:00
Jacob Kaplan-Moss 9907495b3c [1.0.X] Fixed #9546: GenericRelations inherited from base models no longer query using the wrong content type. Backport of r10373 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10374 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-03 19:56:30 +00:00
Jacob Kaplan-Moss 597102199e [1.0.X] Fixed a whole bunch of small docs typos, errors, and ommissions. Backport of the parts of r10371 that apply to the 1.0 docs.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10372 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-03 18:37:43 +00:00
Jarek Zgoda 8c253bcea1 Polish translation updated
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10368 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-02 08:35:40 +00:00
Jacob Kaplan-Moss faf049c498 Updated svnmerge metadata.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10367 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-02 05:28:44 +00:00
Jacob Kaplan-Moss 4257feffe8 [1.0.X] Fixed #9520: make the date filter fail silently for non-date values. Thanks, Andrew Badr and Eric Holscher. Backport of r10365 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10366 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-02 05:22:17 +00:00
Jacob Kaplan-Moss 38aeee4839 [1.0.X] Added tests for database introspection. Refs #9779. Backport r10362 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10363 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-02 04:34:42 +00:00
Jacob Kaplan-Moss fd7280e4f4 [1.0.X] Fixed #10063: stop passing the -W flag to psql since it isn't needed and interferes with .pgpass. Thanks, Walter. Backport of r10360 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10361 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-02 02:04:59 +00:00
Jacob Kaplan-Moss 33c27f2f28 [1.0.X] The most exciting *backport* you'll ever see.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10359 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-02 01:57:12 +00:00
Jacob Kaplan-Moss c51722373b [1.0.X] Fixed the test in [10351] to work reguardless of the test settings. Backport of r10355 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10356 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-02 01:41:56 +00:00
Jacob Kaplan-Moss ef0a5fb9eb Updated svnmerge metadata.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10354 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-02 01:15:43 +00:00
Jacob Kaplan-Moss a080fcd1a6 [1.0.X] Fixed #9005: don't wig out when reversing a URL if SETTINGS_MODULE isn't set. While I was there, I fixed #10599 by re-raising the original error message, which is almost always a better idea. Thanks, Eric. Backport of r10350 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10351 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-01 23:09:45 +00:00
Joseph Kocherhans f58df036bd [1.0.x] Backport of r10348 from trunk, plus missing tests that should have been in r10286.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-01 22:35:41 +00:00
Jacob Kaplan-Moss c7a16bc6e0 [1.0.X] Fixed #10538: use a prefix for HTML ids on the admin doc page to avoid conflicts with existing elements. Thanks, Justin Lilly. Backport of r10343 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10344 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-01 21:35:00 +00:00
Jacob Kaplan-Moss 647ff3f1ac [1.0.X] Fixed #10265: fixed a bug when generating a password reset token for a user created on the same request. Thanks, crucialfelix. Backport of r10341 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10342 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-01 21:26:55 +00:00
Jacob Kaplan-Moss eb24c7fd0c [1.0.X] Fixed #9969: choices with options groups (added in [7977]) now work correctly in the admin with list_display and list_filter. Thanks, ramiro. Backport of r10318 from trunk; thanks, cramm.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10340 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-01 21:17:54 +00:00
Jacob Kaplan-Moss d0dce0257b [1.0.X] Fixed #8889: make admindocs function view work with class-based views. Backport of r10337-r10338 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10339 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-01 18:46:17 +00:00
Jacob Kaplan-Moss e047110657 [1.0.X] Fixed #10016: the cache middleware no longer vomits when handed long URLs. Thanks, Matt Croydon. Backport of r10335 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10336 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-01 18:20:53 +00:00
Jacob Kaplan-Moss 34e823a699 [1.0.X] Fixed #9644: fix a thread sync issue in the locmem cache. Thanks, mrts. Backport of r10333 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10334 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-01 17:06:20 +00:00
Jacob Kaplan-Moss 6efe30672d [1.0.X] Fixed #9474: user_passes_test may now be applied multiple times. Backport of r10328 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10329 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-01 16:18:25 +00:00
Jacob Kaplan-Moss 05e3242dc5 Updated svnmerge metadata.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10325 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-01 15:35:48 +00:00
Jacob Kaplan-Moss 92edfca2fb Update svnmerge metadata.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10322 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-01 15:10:48 +00:00
Jacob Kaplan-Moss 7cbbd782e1 [1.0.X] Fixed #9473: FormWizard now works with NullBooleanFields. As a bonus, we now have the beginnings of a test suite for FormWizard. Thanks, Keith Bussell. Backport of r10316 and r10319 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10321 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-01 15:07:31 +00:00
Jacob Kaplan-Moss 906f55bf09 [1.0.X] Fixed #7510: the ModelAdmin now uses `self.queryset` instead of the default manager. Thanks, Alex Gaynor. Backport of r10314 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10320 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-01 15:07:13 +00:00
Jacob Kaplan-Moss 53d5f27e75 [1.0.X] Fixed a couple of mistaken bits of the docs in [10312]
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10313 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-01 03:02:47 +00:00
Jacob Kaplan-Moss f770cf5c5a [1.0.X] Fixed #10031: updated SQLite database docs to more strongly indicate the problems with versions before 3.3.6. Thanks, ramiro. Backport of r10311 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10312 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-01 02:37:04 +00:00
Joseph Kocherhans 6b2e28d963 [1.0.x] Fixed #9452. InlineModelAdmin docs now mention the right default for 'form'. Backport of r10309 from trunk. Forgot to thank patrickk. Sorry about that.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10310 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-01 01:34:49 +00:00
Jacob Kaplan-Moss 8f6e1cdf9f Marked r10303-10304 as applied to 1.0.X.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10308 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-01 00:10:40 +00:00
Jacob Kaplan-Moss dc7c952e8d [1.0.X] Fixed a silly typo in databases ref. Thanks, Alex. Backport of r10304 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10307 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-01 00:08:48 +00:00
Jacob Kaplan-Moss a9017a1e5a [1.0.X] A whole lotta documentation fixes, backported from r10303 on trunk.
I got my commit message cut off the first try, but luckily I get to still thank Kevin Kubasik for rolling all these fixes up into a single easy patch.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10306 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-01 00:08:34 +00:00
Jacob Kaplan-Moss 97b22bde3c Made a bunch of edits to docs/topics/cache.txt, mostly based on stuff from the Django Book. Backport of [10055] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10305 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 23:54:13 +00:00
Karen Tracey e87c07ec63 [1.0.X] Remove the block on r10055. Per note from Adrian this one should be merged to the branch but he hasn't done it yet and I haven't gotten around to asking him why or if he just wants me to do it.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 22:41:43 +00:00
Jacob Kaplan-Moss 4bf87443d4 Blocked [10281] from 1.0.X.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10301 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 22:07:15 +00:00
Jacob Kaplan-Moss 6b937c67ea [1.0.X] Fixed #9970: added mod_wsgi docs. Thanks, Alex Gaynor. Backport of r10280 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10300 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 22:06:06 +00:00
Jacob Kaplan-Moss 377cc9c850 [1.0.X] Fixed #10513: floatformat now works with floatish things, not just real floats. Thanks, Alex. Backport of [10278] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 22:04:15 +00:00
Jacob Kaplan-Moss 4a3139d63e [1.0.X] Fixed #8847, #10370: added some missing methods to MultiValueDict after [8399]. Thanks, James Turk and rfk. Backport of r10241 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 22:02:37 +00:00
Jacob Kaplan-Moss 4502a2d3ca [1.0.X] Fixed #8749: add better breadcrumbs in the change password template. Thanks, SmileyChris. Backport of r10234 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10297 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 22:00:46 +00:00
Jacob Kaplan-Moss d032e15079 Block the rest of the 1.1 features to date from 1.0.X.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10296 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 21:59:09 +00:00
Jacob Kaplan-Moss bd4f2a1d46 Marked the rest of the revs already integreated into [1.0.X]
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10295 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 21:58:14 +00:00
Jacob Kaplan-Moss 795697dc22 [1.0.X] Fixed #8746: Check data in raw_id_fields more closely. Thanks, dgouldin
Backport of r10233 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10294 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 21:48:29 +00:00
Jacob Kaplan-Moss 67a5880162 [1.0.X] Fixed #10413: RelatedManager.add no longer fails silenty when trying to add an object of the wrong type. Thanks, dgouldin.
Backport of r10226 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10293 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 21:42:47 +00:00
Jacob Kaplan-Moss 0995396817 [1.0.X] Fixed #9883: no longer do strange things with whitespace in the linebreaks filter. Thanks, keithb.
Backport of r10225 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10292 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 21:40:40 +00:00
Jacob Kaplan-Moss 7475092c9f [1.0.X] Fixed #10157: correctly set the related objects pk when assigning a reverse OneToOne. Thanks, dgouldin.
Backport of r10224 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10291 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 21:15:55 +00:00
Jacob Kaplan-Moss fd0c4bb76e [1.0.X] Fixed #10387: removed some code duplication in django.utils.cache. Thanks, Travis Swicegood.
Backport of r10223 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10290 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 21:14:39 +00:00
Jacob Kaplan-Moss 766ff97208 Blocked some more revs from 1.0.X. Isn't this fun?
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10289 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 20:49:37 +00:00
Jacob Kaplan-Moss d41cfde686 Marked some more revs as integrated into 1.0.X.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10288 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 20:48:06 +00:00
Joseph Kocherhans 00087ef006 [1.0.X] Fixed #9863. A ForeignKey with editable=False to the parent in an inline no longer raises an exception. Thanks to keithb for the test case and Alex Gaynor for the patch. Backport of r10239 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10287 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 20:39:54 +00:00
Joseph Kocherhans 1e0acd537b [1.0.X] Forms in model formsets and inline formsets can now be deleted even if they don't validate. Related to #9587. Backport of r10283 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10286 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 20:30:05 +00:00
Jacob Kaplan-Moss 7f90c2cc56 Mark [10193] as integrated.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10285 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 20:04:55 +00:00
Jacob Kaplan-Moss c1691cc519 Blocked some commits from [1.0.X]
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10284 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 20:03:23 +00:00
Jacob Kaplan-Moss 93ffbd027f [1.0.X] Mark [10007] as merged.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10282 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 19:46:05 +00:00
Jacob Kaplan-Moss 606c5a7e7e [1.0.X] Fixed #10184: QueryDicts with multiple values can now be safely pickled. Thanks, Alex Gaynor.
Backport of [10240] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10279 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 19:34:08 +00:00
James Bennett 76fd191bfd [1.0.X] Fixed #9012: Changed inappropriate title of models documentation. Backport of [10276] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10277 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 18:15:01 +00:00
James Bennett 550dd62300 [1.0.X] Fixed #10367: Added note to generic-relation docs explaining when it's necessary to pass in field names to create a reverse relation. Backport of [10273] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10274 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 17:14:48 +00:00
James Bennett 8c776637b2 [1.0.X] Fixed #10306: Corrected form action in auth login example. Backport of [10269] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10270 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 17:01:42 +00:00
Gary Wilson Jr a352bf2145 [1.0.X]: Fixed #10018 -- Fixed typo in `BaseCommand` docstring, patch from dswistowski.
Backport of r10267 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10268 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 16:58:24 +00:00
Gary Wilson Jr 24a359f078 [1.0.X]: Fixed #10120 -- Added a `return` to a doc example, patch from andrews.
Backport of r10265 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10266 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 16:52:47 +00:00
Gary Wilson Jr e4e38e85c2 [1.0.X]: Fixed #10266 -- Clarified restart of shell in tutorial, patch from mboersma.
Backport of r10263 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10264 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 16:46:33 +00:00
Gary Wilson Jr 5967cbb045 [1.0.X]: Fixed #10332 -- Added new provinces to IT localflavor, patch from gogna.
Backport of r10261 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10262 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 16:41:29 +00:00
Gary Wilson Jr d073efa0bb [1.0.X]: Fixed #10375 -- Added documentation about the default format strings used for the `date` and `time` filters when no format string is passed to the filter, based on patch from kgrandis.
Backport of r10259 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10260 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 16:35:35 +00:00
Gary Wilson Jr b3b541b68e [1.0.X]: Fixed #10553 -- Corrected several uses of `URLconf` in documentation and comments, according to the Django style guide. Based on patch from rduffield.
Backport of r10256 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10257 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 16:09:22 +00:00
Justin Bronn f6524d9c1f [1.0.X] Fixed #9437 -- Now close database connection within `get_srid_info`. Thanks, mattxbart.
Backport of r10254 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10255 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 16:02:44 +00:00
Gary Wilson Jr 510a16679d [1.0.X]: Fixed #10575 -- Fixed wording in database docs, patch from rduffield.
Backport of r10252 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10253 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 15:42:58 +00:00
Gary Wilson Jr 09daf300c5 [1.0.X]: Fixed #10577 -- Fixed doc typo, patch from Zoramite.
Backport of r10250 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10251 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 15:40:34 +00:00
Jarek Zgoda abe640c735 [1.0.X] Updated Polish translation
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10247 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 08:01:24 +00:00
Gary Wilson Jr 955ec63c5e [1.0.X]: Fixed #10667 -- Added missing sys import.
Backport of r10244 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10245 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 07:25:09 +00:00
Gary Wilson Jr 68aa33f901 [1.0.X]: Fixed #10389, #10501, #10502, #10540, #10562, #10563, #10564, #10565, #10568, #10569, #10614, #10617, #10619 -- Fixed several typos as well as a couple minor issues in the docs, patches from timo, nih, bthomas, rduffield, UloPe, and sebleier@gmail.com.
Backport of r10242 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10243 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 07:16:25 +00:00
Gary Wilson Jr 9d808c14a5 [1.0.X]: Fixed #9946 -- Removed redundant mention of needing to define `list_display`.
Backport of r10237 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10238 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 23:33:08 +00:00
Gary Wilson Jr 9bbf94112f [1.0.X]: Fixed #9978 -- Fixed a KeyError exception that was being raised when using the logout method on the test client on an unauthenticated user, based on patch from ericholscher.
Backport of r10228 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10236 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 23:20:10 +00:00
Joseph Kocherhans 22ac97b17c [1.0.X] Fixed #10149. FileFields? in a form now validate max_length. Based on a patch by Massimo Scamarcia. Backport of r10227 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10232 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 22:56:05 +00:00
James Bennett 86842e21f4 [1.0.X] Ensure Django's test suite is included when we build release packages. Backport of [10230] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10231 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 22:55:56 +00:00
Gary Wilson Jr f9582c8f52 [1.0.X]: Fixed #9130 -- Fixed typo in comment, thanks scel.
Backport of r10220 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10221 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 22:11:36 +00:00
Joseph Kocherhans f7e52d449a [1.0.X] Fixed #9587. Formset.is_valid() now returns True if an invalid form is marked for deletion. Backport of r10206 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10219 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 22:03:20 +00:00
Gary Wilson Jr 3543e128df [1.0.X]: Fixed #8140 -- Made `UserManager.create_superuser` return the new `User` object, based on patch from ericholscher.
Backport of r10217 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10218 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 22:01:40 +00:00
Gary Wilson Jr 546d764a36 [1.0.X]: Fixed #9065 -- Fixed the `timesince` and `timeuntil` template tags to work when both values involved are date objects, thanks to morty and mboersma for the patch.
Backport of r10215 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10216 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 21:35:09 +00:00
Gary Wilson Jr b49e39152b [1.0.X]: Fixed #8643 -- Corrected docstrings of `MultiPartParser`, thanks KayEss.
Backport of r10213 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10214 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 21:01:08 +00:00
Gary Wilson Jr 487a7fdcce [1.0.X]: Fixed #10094 -- Fixed the `include` and `extends` template tags to work with filenames with spaces, patch from mcroydon.
Backport of r10211 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10212 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 20:33:42 +00:00
Gary Wilson Jr daae84a8e0 [1.0.X]: Fixed #10079 -- Moved settings import inside the function that uses it so that the module can be imported without needing settings, thanks kcarnold and mcroydon.
Backport of r10209 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10210 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 20:16:43 +00:00
Gary Wilson Jr ef28364365 [1.0.X]: Fixed a few class references in the model field docs.
Backport of r10207 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10208 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 19:55:29 +00:00
Gary Wilson Jr 10a3e41c8a [1.0.X]: Fixed #10076 -- Documented invalid arguments for `FileField`, based on patch from timo.
Backport of r10204 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10205 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 19:35:36 +00:00
Gary Wilson Jr 387bd8f386 [1.0.X]: Fixed #9944 -- Fixed a URL in tutorial four that was changed in the "Decoupling the URLconfs" section at the end of tutorial three, patch from programmerq.
Backport of r10202 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10203 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 19:01:30 +00:00
Gary Wilson Jr 46e37d20d4 [1.0.X]: Fixed #9914 -- Fixed field class name in models docs, patch from timo.
Backport of r10200 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10201 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 18:44:35 +00:00
Gary Wilson Jr 46292cdc71 [1.0.X]: Fixed #9853 -- Added information to the model date/time fields to note the Python objects used to represent them.
Backport of r10198 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10199 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 18:32:49 +00:00
Gary Wilson Jr 412e1d59c9 [1.0.X]: Fixed some long lines and removed trailing whitespace.
Backport of r10195 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10196 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 17:10:24 +00:00
Gary Wilson Jr 54d6fe97e9 [1.0.X]: Fixed #8462 -- Made `length` and `length_is` template filters fail silently when given a value that has undefined length and added tests for both filters. Based on patch from marcelor, rob, and SmileyChris.
Backport of r10193 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10194 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 16:48:24 +00:00
Gary Wilson Jr 4a5a21d10c [1.0.X]: Made the template tests error output a bit more pretty.
Backport of r10191 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10192 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 16:08:57 +00:00
Justin Bronn 8f996105ec [1.0.X] Fixed #10653 -- Update docs regarding Jython support. Thanks, Leo Soto for ticket & patch.
Backport of r10188 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10189 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 03:36:35 +00:00
Gary Wilson Jr ae5f451741 [1.0.X]: Removed an inadvertent raise statement added in [8777] and added the printing of tracebacks for template tests that raise an unhandled exception.
Backport of r10183 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10185 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-29 23:40:04 +00:00
Nicola Larosa 5e0a45d739 [1.0.X] Updated Italian translation
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10180 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-29 21:25:50 +00:00
Ian Kelly cdbc225e0b [1.0.X] Fixed an issue with unicode being mangled in Oracle when the database character set is non-unicode. Backport of r10175 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10176 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-27 19:52:47 +00:00
Russell Keith-Magee 2e05920401 [1.0.X] Fixed a breakage with ManyToManyFields in admin caused by r10140. Refs #9994.
Merge of r10170 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10173 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-25 11:00:20 +00:00
Malcolm Tredinnick dce8fdbc68 [1.0.X] Made a couple of cross-references in the model fields documentaiton consistent.
Backport of r10007 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10167 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 23:02:36 +00:00
Karen Tracey fff55111b6 [1.0.X] Updated svnmerge metadata to indicate 10078 was backported to the branch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10166 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 18:32:26 +00:00
Karen Tracey c0379b9a2c [1.0.X] Added some more blocked revsions.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10165 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 18:28:34 +00:00
Karen Tracey 69e228e862 [1.0.X] Fixed svnmerge-blocked: block r10128-10135, not 10028-10135.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10164 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 18:11:21 +00:00
Russell Keith-Magee c04a28df4c [1.0.X] Updated svnmerge properties for some recent trunk changesets
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10163 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 12:34:41 +00:00
Russell Keith-Magee 1c670a7053 [1.0.X] Fixed #10329 -- Added link target for get_FOO_display, get_next_by_FOO, and get_previous_by_FOO. Thanks to rctay for the report, and timo for the patch.
Merge of r10152 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10160 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 12:12:32 +00:00
Russell Keith-Magee 17401448b2 [1.0.X] Fixed #10503 -- Clarified docs on the operation of the noop option to {% trans %}. Thanks to liangent for the report.
Merge of r10151 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10159 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 12:09:56 +00:00
Russell Keith-Magee 2363f60879 [1.0.X] Fixed #10434 -- Corrected FastCGI example. Thanks to vithlani.
Merge of r10150 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10158 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 12:07:43 +00:00
Russell Keith-Magee ade3dcb494 [1.0.X] Fixed #10437 -- Corrected typo in Widget media example. Thanks to Manuel Saelices.
Merge of r10149 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10157 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 12:04:43 +00:00
Russell Keith-Magee c2e4e54eb6 [1.0.X] Fixed #10570 -- Grammar fix for Manager docs. Thanks to adamv.
Merge of r10147 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10156 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 12:01:23 +00:00
Russell Keith-Magee fae6702ea1 [1.0.X] Fixed #10591 -- Corrected link to Jython in docs. Thanks to framos.
Merge of r10146 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10155 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 11:57:36 +00:00
Russell Keith-Magee 177e997400 [1.0.X] Fixed #10592 -- Corrected typo in initial-data howto. Thanks to Paul Menzel.
Merge of r10145 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10154 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 11:53:30 +00:00
Russell Keith-Magee d9eb87adae [1.0.X] Fixed #10589 -- Removed duplicated model definition in null_fk_ordering regression test. Thanks to Julien Phalip for the report.
Merge of r10143 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10153 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 11:50:08 +00:00
Malcolm Tredinnick 50379f4c91 [1.0.X] Fixed #9994 -- Fixed admin filtering when to_field is used on relations.
Thanks to jzylks for diagnosing this one.

Backport of r10139 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10140 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 07:14:19 +00:00
Malcolm Tredinnick 2fba099779 [1.0.X] Fixed #9926 -- Fixes for some select_related() situations.
Using select_related(...) across a nullable relation to a multi-table
model inheritance situation no longer excludes results. Thanks to AdamG
for a test demonstrating part of the problem.

Backport of r10136 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10138 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 05:54:35 +00:00
Ian Kelly 2b098e64e0 [1.0.X] Added an import that should have been included in [10126].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10127 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-23 22:14:00 +00:00
Ian Kelly 7499416d0d [1.0.X] Fixed a false failure in the test suite when running Oracle. Backport of [10125] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10126 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-23 22:11:07 +00:00
Malcolm Tredinnick ebfe7faaa3 [1.0.X] Fixed #2698 -- Fixed deleting in the presence of custom managers.
A custom manager on a related object that filtered away objects would prevent
those objects being deleted via the relation. This is now fixed.

Backport of r10104 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-20 22:14:31 +00:00
Russell Keith-Magee 083a7206e4 [1.0.X] Corrected svnmerge-integrated property from r10086, updated to include some recent changes.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10087 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-18 12:38:39 +00:00
Russell Keith-Magee f781205859 [1.0.X] Corrected a problem with the database cache backend, and refactored the cache test suite to ensure that all the backends are actually tested.
Partial merge of r10031 and r10071 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10086 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-18 12:28:53 +00:00
Russell Keith-Magee 0abd798b9b [1.0.X] Fixed #10102 -- Set svn:executable on daily_cleanup script. Thanks to John Scott for the report
Merge of r10054 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10085 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-18 12:02:25 +00:00
Malcolm Tredinnick 39c450cc6d Fixed #10526 -- More fixes when specifying installed apps using "foo.*".
This adds a case that was missed in r9925: underscore handling.

Backport of r10078 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10079 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-18 01:08:34 +00:00
Jacob Kaplan-Moss 75b286798f [1.0.X] `ModelAdmin` validation now runs when using the `site.register(Model, **kwargs)` form.
Backport if [10074] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10076 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-17 20:51:06 +00:00
Jacob Kaplan-Moss 6b85095169 [1.0.X] Fixed `BaseFormSet.is_multipart()` so that it doesn't bomb when called on an empty formset.
Backport of [10073] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10075 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-17 20:47:47 +00:00
Malcolm Tredinnick 4d6763128f [1.0.X] Documented patterns for adding extra managers to model subclasses.
This seems to have been a source of confusion, so now we have some explicit
examples. Fixed #9676.

Backport of r10058 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10061 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-15 03:46:26 +00:00
Malcolm Tredinnick 8a0a17628b [1.0.X] Clarified and expanded documentation for Manager.use_for_related_fields.
This is for Manager subclasses that are default managers, but only
sometimes.  The general rule is: "don't use it." If you really need it,
read the instructions.

Backport of r10057 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10060 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-15 03:45:56 +00:00
Malcolm Tredinnick 97321c7645 [1.0.X] Use plain model.Manager, or suitable proxy, for model saving.
We can't use the default manager in Model.save_base(), since we need to
retrieve existing objects which might be filtered out by that manager. We now
always use a plain Manager instance at that point (or something that can
replace it, such as a GeoManager), making all existing rows in the
database visible to the saving code.

The logic for detecting a "suitable replacement" plain base is the same as for
related fields: if the use_for_related_fields is set on the manager subclass,
we can use it. The general requirement here is that we want a base class that
returns the appropriate QuerySet subclass, but does not restrict the rows
returned.

Fixed #8990, #9527.

Refs #2698 (which is not fixed by this change, but it's the first part of a
larger change to fix that bug.)

Backport of r10056 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10059 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-15 03:45:32 +00:00
Ian Kelly 0eac35ce11 [1.0.X] Fixed #10488: fixed DB cache backend test failures in Oracle. Backport of [10051] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-13 21:07:41 +00:00
Ian Kelly 0ced9f68f3 [1.0.X] Fixed #10238: coerce TextField values to unicode in the oracle backend. Backport of [10049] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10050 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-13 19:58:56 +00:00
Malcolm Tredinnick 6922925abc [1.0.X] Fixed a problem from r10038. Fixed #10470.
Backport of r10040 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10041 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-12 08:00:46 +00:00
Malcolm Tredinnick a02247ff73 [1.0.X] Fixed #10472 -- Fixed a race condition in reverse URL resolving.
This only shows up in for reverse() (not forwards resolving), since that
path uses a globally shared resolver object. Based on a patch from
Travis Terry.

Backport of r10037 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10039 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-12 07:37:37 +00:00
Malcolm Tredinnick fdde600f42 [1.0.X] Fixed #10470 -- Fixed a race condition in middleware initialization.
Thanks to Travis Terry and mrts.

Backport of r10036 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10038 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-12 07:37:08 +00:00
Ian Kelly 75cc96bc6f [1.0.X] Backport of [10024] from trunk. Refs #10443: Added Oracle to the #10443 regression test exemption, since we don't yet support it.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10025 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-10 22:50:37 +00:00
Ian Kelly 9a5942cd60 [1.0.X] Backport of 10022 from trunk. Added savepoint support to the Oracle backend, necessary per the thread at http://groups.google.com/group/django-developers/browse_thread/thread/c87cf2d97478c068/
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10023 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-10 18:38:45 +00:00
Russell Keith-Magee 6ab4b64bd0 [1.0.X] Updated svnmerge properties for some recent updates.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-10 12:18:39 +00:00
Russell Keith-Magee ee0320f634 [1.0.X] Fixed #10271, #10281 -- Fixed the handling multiple inline models that share a common base class and have the link to the inline parent on the base class. Includes modifications that allow the equivalent handling for GenericFields. Thanks to Idan Gazit, Antti Kaihola (akaihola), and Alex Gaynor for their work on this patch.
Backport of r10017 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10019 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-10 12:08:17 +00:00
Malcolm Tredinnick ea350187a5 [1.0.X] Fixed #10439 -- Fixed a subtle test failure caused by r9995.
Thanks to Ramiro Morales for debugging what was going on here.

Backport of r10015 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10016 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-10 05:55:55 +00:00
Malcolm Tredinnick c545e88b81 [1.0.X] Fixed #10443 -- Fixed model attribute updating after r10004.
Adding a get_db_prep_save() call to the UpdateQuery code path meant it
was being called twice if you updated an existing model attribute. This
change removes that double call and also makes TimeField.to_python() a
little more robust for the benefit of the Oracle backend (just in case).

Backport of r10013 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10014 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-10 05:26:40 +00:00
Jannis Leidel 9c770e05d4 [1.0.X] Updates German translation, fixes #10444
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10010 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-09 16:44:50 +00:00
Malcolm Tredinnick 6fe80b2a93 [1.0.X] Pass values through get_db_prep_save() in a QuerySet.update() call.
This removes a long-standing FIXME in the update() handling and allows for
greater flexibility in the values passed in. In particular, it brings updates
into line with saves for django.contrib.gis fields, so fixed #10411.

Thanks to Justin Bronn and Russell Keith-Magee for help with this patch.

Backport of r10003 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10004 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-09 00:07:50 +00:00
Malcolm Tredinnick b1fd7650a9 [1.0.X] Fixed #9626 -- Fixed a deletion race in the locmem cache.
Backport of r9998 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10001 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-08 10:02:23 +00:00
Malcolm Tredinnick 055c01103d [1.0.x] Fixed #9508 -- Added an appropriate FileField.__hash__ implementation.
Required because we declare a custom __eq__ method.

Backport of r9997 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10000 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-08 10:01:59 +00:00
Malcolm Tredinnick 244bb7e601 [1.0.X] Fixed #9469 -- Apply the fix from r9189 to the WSGI handler as well.
This is a defensive encoding fix. No functionality change for correct URLs.
Patch from magneto.

Backport of r9996 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9999 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-08 10:01:22 +00:00
Malcolm Tredinnick 7dcf651bc5 [1.0.X] Fixed #9323 -- Allow glob loading in INSTALLED_APPS to handle digits in names.
Patch from carljm.

Backport of r9994 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9995 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-08 09:41:37 +00:00
Malcolm Tredinnick 34b530fce7 [1.0.X] Fixed #9399 -- Added StopFutureHandlers to export list in file handling.
Thanks, George Vilches.

Backport of r9992 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9993 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-08 09:33:14 +00:00
Karen Tracey 8baac83f30 [1.0.X] Updated svnmerge integrated metadata to include changesets merged via other means.
Branch is up-to-date with trunk fixes.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9991 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-08 05:33:30 +00:00
Karen Tracey 20973954da [1.0.X] Block translation updates and one more new function fix from merge to branch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9990 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-08 04:52:07 +00:00
Karen Tracey 9c5eafe7d5 [1.0.X] Block new function (and fixes to same) from snvmerge.py consideration.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9988 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-08 04:12:56 +00:00
Malcolm Tredinnick fd5d0cdebb [1.0.X] Fixed #10432 -- Handle all kinds of iterators in queryset filters.
Only consumes the iterators once and works with Python 2.3.

Backport of r9986 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9987 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-08 03:37:47 +00:00
Malcolm Tredinnick 84b890b66e [1.0.X] Fixed #9649 -- Better error handling in model creation.
Previously, you could explicitly assign None to a non-null ForeignKey
(or other) field when creating the model (Child(parent=None), etc). We
now throw an exception when you do that, which matches the behaviour
when you assign None to the attribute after creation.

Thanks to ales.zoulek@gmail.com and ondrej.kohout@gmail.com for some
analysis of this problem.

Backport of r9983 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9984 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-06 04:53:33 +00:00
Malcolm Tredinnick dd5300274f [1.0.X] Fixed #6710 -- Made DATABASE_OPTIONS work with postgresql_psycopg2 backend.
Thanks to rcoup for the patch.

Backport of r9981 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9982 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-06 02:38:38 +00:00
Malcolm Tredinnick 31e059c9b3 [1.0.X] Improved table join handling for comparisons against NULL.
This fixes a broad class of bugs involving filters that look for missing
related models and fields. Most of them don't seem to have been reported
(the added tests cover the root cause). The exception is that this has
also fixed #9968.

Backport of r9979 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9980 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-06 02:09:59 +00:00
Ian Kelly de442c3ab6 [1.0.X] Clarified documentation regarding Oracle's treatment of nulls and empty strings. Backport of [9976] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9977 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-05 20:22:54 +00:00
Malcolm Tredinnick 79f53b4f20 [1.0.X] Made it explicit if you accidentally override a Field from a parent model.
This was always not working reliably (model initialization and serialization
were two of the problems). Now, it's an explicit error. Also, documented.

Fixed #10252.

Backport of r9974 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9975 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-04 10:40:50 +00:00
Malcolm Tredinnick 182301c8df [1.0.X] Fixed #10406 -- Fixed some problems with model inheritance and pk fields.
Manually specifying both a OneToOneField(parent_link=True) and separate a
primary key field was causing invalid SQL to be generated. Thanks to Ramiro
Morales for some analysis on this one.

Backport of r9971 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9973 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-04 07:24:30 +00:00
Malcolm Tredinnick dce458cde2 [1.0.X] Fixed #10251 -- Fixed model inheritance when there's also an explicit pk field.
Backport of r9970 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9972 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-04 07:23:18 +00:00
Malcolm Tredinnick b57d86f226 [1.0.X] Changed the row count value returned from update queries in some cases.
If an update only affected an ancestor model (not the child), we were
returning 0 for the number of rows updated. This could have been
misleading if the value is used to detect an update occuring. So we now
return the rowcount from the first non-trivial query that is executed
(if any). Still a slight compromise, but better than what we had.

Backport of r9966 from trunk (turns out this *is* a bugfix, since the returned
rowcount is used in Model.save(force_update=True)).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9969 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-04 05:40:22 +00:00
Malcolm Tredinnick f1c9080984 [1.0.X] Fixed #10362 -- An update() that only affects a parent model no longer crashes.
This includes a fairly large refactor of the update() query path (and
the initial portions of constructing the SQL for any query). The
previous code appears to have been only working more or less by accident
and was very fragile.

Backport of r9967 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9968 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-04 05:35:10 +00:00
Malcolm Tredinnick dcb0884d68 [1.0.X] Final pieces (he says, hopefully) of r9945 changes.
Fixed "django-admin.py diffsettings" and some GeoDjango stuff.
Refs #10395.

Backport of r9960 and r9961 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9962 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-03 02:50:23 +00:00
Malcolm Tredinnick 9e6d32edde [1.0.X] Minor update to documentation for many-to-many filter() calls.
Removed a potential ambiguity when describing how multiple conditions in one
filter() call are handled.

Backport of r9958 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9959 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-03 01:44:26 +00:00
Malcolm Tredinnick f520f440e1 [1.0.X] Fixed #10013 -- Updated French translation for 1.0 branch.
Thanks, Stéphane Raimbault and Claude Paroz.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9957 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-02 23:17:10 +00:00
Jarek Zgoda 8928a8c9f8 [1.0.X] Polish translations updated
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9956 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-02 08:53:23 +00:00
Malcolm Tredinnick 888b154e9b [1.0.X] Fixed #10392 -- Fixed an oversight from the refactoring in r9947.
Backport of r9953 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9954 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-02 08:26:07 +00:00
Malcolm Tredinnick 1a5588fceb [1.0.X] Small edit to the caching docs.
Turns out, super-lightning is not faster than normal lightning. :-)

Backport of r9949 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9950 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-02 05:47:25 +00:00
Malcolm Tredinnick 0249177836 [1.0.X] Removed a test that was accidentally merged as part of r9927.
This was testing a feature that doesn't exist in the 1.0.X branch.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9948 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-02 05:19:51 +00:00
Malcolm Tredinnick 32be118081 Removed some import-time dependencies on Django's settings.
Now you can import the file storage stuff and still call settings.configure()
afterwards. There is still one import-time usage of settings in
django.contrib.comments, but that's unavoidable.

Backport of r9945 and r9946 from trunk (this is needed in order to fix #8193 in
a clean fashion, which is why it's being backported).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9947 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-02 04:57:03 +00:00
Malcolm Tredinnick 9576353835 [1.0.X] The database cache wasn't correctly handling expired keys. Fixed now.
The cache tests have been failing for a long time with the db backend. This
change makes them pass again, so no test changes required here.

Backport of r9942 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9943 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-02 03:17:30 +00:00
Jannis Leidel ec5a3e7a8d [1.0.X] Updated German translation, fixes #10189. Thanks julianb
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9939 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-01 14:24:08 +00:00
Malcolm Tredinnick ec02cf7a85 [1.0.X] Changed the way cache specifiers are parsed.
Allows us to reuse the same code in multiple places, avoiding new and
interesting bugs (the testing framework had a DIY version that was slightly
wrong, for example). Fixed #9833.

Backport of r9936 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9937 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-01 08:15:52 +00:00
Malcolm Tredinnick 4d2de7a307 [1.0.X] Fixed #9548 -- Correctly detect existence of empty sessions with cache backend.
Backport of r9934 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9935 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-01 07:33:45 +00:00
Malcolm Tredinnick 3fc72ca8a8 [1.0.X] Fixed #8737 -- Made the PostgreSQL version number detection more flexible.
Backport of r9931 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9933 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-01 07:20:19 +00:00
Malcolm Tredinnick a899f7c662 [1.0.X] Fixed a misnamed test that was inadvertently hiding an earlier one.
Backport of r9929 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9932 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-01 07:19:55 +00:00
Malcolm Tredinnick 016f12a2c2 [1.0.X] Fixed insert/update handling when no database interaction is required.
Fixed #10205 as part of this.

Backport of r9926 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9927 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-01 01:59:18 +00:00
Malcolm Tredinnick 283c89e4c6 [1.0.X] Fixed #10202 -- Fixed another couple of slicing edge-cases with querysets.
Patch from Alex Gaynor and Ramiro Morales.

Backport of r9924 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9925 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-01 01:35:36 +00:00
James Bennett 9b5b2ee2f3 [1.0.X] Fixed #10377: Added clearer warning to database notes for cx_Oracle 5.0.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9923 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-28 06:05:44 +00:00
Malcolm Tredinnick 9b373d0789 [1.0.X] Fixed #10048 -- Handle non-existent timezone in dateformat functions.
Backport of r9919 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9920 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-28 04:52:16 +00:00
Malcolm Tredinnick 106bd0f49e [1.0.X] Fixed #10028 -- Fixed a problem when ordering by related models.
Some results were inadvertently being excluded if we were ordering across a
nullable relation which itself ordering by a non-nullable relation.

Backport of r9916 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9917 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-28 03:02:52 +00:00
Malcolm Tredinnick 7fdd26c582 [1.0.X] Fixed #9634 -- Updated Slovak translation. Thanks Marcel Telka, Marian Andre and scrool.
Backport of r9913 and r9263 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9914 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-28 01:24:24 +00:00
Russell Keith-Magee 2656e6bfa9 [1.0.x] Updated SVN merge properties for some recent commits.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9912 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-27 13:27:11 +00:00
Malcolm Tredinnick 424d158b01 [1.0.X] Invalidate the appropriate SITE_CACHE entry when saving a Site model.
This avoids the problem of, for example, saving a change to the Site model in
the admin interface and then seeing the wrong instanec returned in the next
call to get_current_site().

It's still possible to end up with an inconsistent cache if update() is used to
change the Site model, but that's pretty unavoidable. It's also a slightly odd
way to update a Site model, so if you really need to do that, you can manage to
call SiteManager.clear() at the same time.

Backport of r9908 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9909 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-27 05:00:38 +00:00
Luke Plant f799959008 [1.0.X] Fixed #10017 - PasswordResetForm.clean_email was not returning the value.
Thanks Zak Johnson, Leo

Backport of r9906 from trunk.



git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9907 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-26 17:18:16 +00:00
Karen Tracey c9a63889f6 [1.0.X] Fixed #10347 -- Fixed incorrect AttributeError raised when attempting to access a FileField without an instance. Thanks for the report and patch dc.
[9902] from trunk.  Also updated svnmerge metadata; all trunk changesets have either been merged or blocked.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9903 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-24 17:28:33 +00:00
Jacob Kaplan-Moss 3550aa2d14 [1.0.X] Fixed ##9842: allow imports of apps that use settings in __init__.py files.
Backport of r9843 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9901 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-24 17:05:36 +00:00
Jacob Kaplan-Moss 734376f947 [1.0.X] Fixed #9214: EmailMessage now respects the From header instead of blindly using from_email. Thanks, Tai Lee.
Backport of r9842 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9900 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-24 17:02:03 +00:00
Karen Tracey bd2e7a7876 [1.0.X] Block a bunch of trunk-only changesets from merge to branch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9899 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-24 16:58:50 +00:00
Brian Rosner 93b3f89c31 [1.0.X] Fixed #10274 -- Fixed an embarrassing mistake in BaseGenericInlineFormSet.get_queryset. Thanks Zak Johnson for the report and akaihola for the patch.
Backport of r9886 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9887 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-23 04:31:29 +00:00
Russell Keith-Magee eb442961f5 [1.0.X] Fixed #10307 -- Removed references to FM/Federated States of Micronesia from the US localflavor STATES_NORMALIZED setting. Thanks to mnd for the report.
Merge of r9855 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9885 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 11:25:25 +00:00
Russell Keith-Magee c2807db683 [1.0.X] Fixed #10256 -- Corrected the interaction of extra(select=) with values() and values_list() where an explicit list of columns is requested.
Merge of r9837 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9884 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 11:18:19 +00:00
Russell Keith-Magee 8366ef412e [1.0.X] Blocked AUTHORS addition in r9882 from merge.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9883 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 10:25:45 +00:00
Russell Keith-Magee 315fd2434c Added SVNmerge annotations for some revisions already merged, and some that need to be blocked.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9881 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 09:23:21 +00:00
Russell Keith-Magee ef66773cef [1.0.X] Fixed #9031 -- Clarified the error message when the label used to run a specific test case method doesn't name a valid test case class. Thanks to Thomas Guettler for the suggestion and patch.
Merge of r9879 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9880 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 08:38:42 +00:00
Russell Keith-Magee 3c48d866f6 [1.0.X] Fixed #9276 -- Corrected the way the CSS class is rolled out in a stacked edit-inline template. Thanks to creecode@gmail.com for the report and fix.
Merge of r9877 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9878 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 08:08:17 +00:00
Russell Keith-Magee 16f05e78f1 [1.0.X] Fixed #9347 -- Added an entry in the field reference for the verbose_name option. Thanks to marcoberi for the suggestion, and timo for the eventual patch.
Merge of r9865 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9875 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 07:19:26 +00:00
Russell Keith-Magee d12ee872a1 [1.0.X] Fixed #9939 -- Corrected minor error in model fields documentation. Thanks to seemant for the report.
Merge of r9864 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9874 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 07:17:23 +00:00
Russell Keith-Magee b8797aebf0 [1.0.X] Fixed #10007 -- Corrected (and narrowed) a reference to the Python standard library documentation. Thanks to d00gs for the report.
Merge of r9863 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9873 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 07:15:40 +00:00
Russell Keith-Magee 49216f50c6 Blocked r9862 from merge to v1.0.X branch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 07:13:17 +00:00
Russell Keith-Magee 0b619104dd [1.0.X] Fixed #10025 -- Corrected two minor typos in source documentation. Thanks to Tarken for the report.
Merge of r9861 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9871 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 07:03:16 +00:00
Russell Keith-Magee 624fc2e397 Blocked r9860 from merge to v1.0.X branch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9870 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 07:01:05 +00:00
Russell Keith-Magee 1bd70b4e22 [1.0.X] Fixed #10118 -- Clarified the error message raised when accessing a subclass model that doesn't exist. Thanks to peterbraden@peterbraden.co.uk for the suggestion.
Merge of r9859 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9869 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 06:43:35 +00:00
Russell Keith-Magee 8519146963 [1.0.X] Fixed #10141 -- Added a missing import to the complex Feed example. Thanks to Temoto for the report.
Merge of r9858 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9868 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 06:41:41 +00:00
Russell Keith-Magee 429b57d642 [1.0.X] Fixed #10298 -- Corrected the example for the get_list_or_404 shortcut. Thanks to Dagur for the report.
Merge of r9857 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 06:39:55 +00:00
Russell Keith-Magee a21e170de7 [1.0.X] Fixed #10312 -- Corrected a link to the Reportlab user guide. Thanks to JohnDoe for the report.
Merge of r9856 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9866 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 06:37:47 +00:00
Adrian Holovaty 267122978f [1.0.X] Merged trunk changes [9850], [9851], [9852], [9853]
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9854 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-21 08:54:32 +00:00
Russell Keith-Magee d9b5a414ca [1.0.X] Fixed #8551 -- Added REMOTE_ADDR to the default Test Client environment. Thanks to schmichael for the report and patch.
Merge of r9847 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9848 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-21 07:29:21 +00:00
Gary Wilson Jr 910aa0ea28 [1.0.X] Auth-related doc cleanups:
* Added to documentation of missing characters from `allowed_chars` in `make_random_password`.
  * Fixed several long lines and word wraps.
  * Added a reference link to the "How to log a user in" section and made a later reference to this section an actual link using the `:ref:` directive.
  * Turned a command line code example into a code block.
  * Added attribute reference link for a ``request.META`` mention.
  * Added `code-block:: html` directives for HTML examples.
  * Corrected reference links for all the `auth.views` functions.
  * Added a few function signatures and documentation of optional parameters that were missing for some of the the `auth.views` functions (refs #10272).

Backport of r9835 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9836 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-16 05:14:18 +00:00
Gary Wilson Jr b09a197a3e [1.0.X] A few minor wording, whitespace, punctuation, and link changes for the middleware documentation.
Backport of r9833 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9834 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-15 05:47:30 +00:00
Marc Fargas 0f84cf9dfe [1.0.X] Refs #8836, Updated translation for Slovenian.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9831 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-13 11:03:16 +00:00
Marc Fargas a03486e081 [1.0.X] Updated Catalan translation.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9830 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-13 10:58:40 +00:00
Marc Fargas 0924264cd8 [1.0.X] Updated Spanish Translation.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9829 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-13 10:58:08 +00:00
Brian Rosner 8a89cf9d18 [1.0.X] Fixed #10240 -- Restored YAML serialization with Decimal objects that broke with r9823. Thanks Alex Gaynor for the report.
Backport of r9825 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9826 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-12 02:55:32 +00:00
Brian Rosner 5db8dc3573 [1.0.X] Fixed #5903 -- DecimalField.get_default() now correctly returns a Decimal object when the model instance was not retrieved from the database. Thanks Justin Driscoll and pigletto.
Backport of r9823 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9824 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-11 20:14:24 +00:00
Ian Kelly c283875389 [1.0.X] Fixed #10224: Don't attempt to decode binary string data in the Oracle backend. Backport of [9821] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9822 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-11 00:16:44 +00:00
Ian Kelly b0fd405c28 [1.0.X] Fixed #10125: fixed the Oracle dsn construction code that was broken in [9712]. Backport of [9812] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9813 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-03 22:10:46 +00:00
Karen Tracey 962f0dbd77 Fixed #10075: Allowed saving of inline-edited models that use multi-table inheritance.
r9809 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9811 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-03 14:24:06 +00:00
Karen Tracey ebd30acd12 [1.0.X] Block changesets with new function and new function fixes from merge to branch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9810 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-03 14:19:51 +00:00
Gary Wilson Jr 5d417c44b7 [1.0.X] Corrected code block in apache auth docs.
Backport of r9806 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9807 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-03 03:15:25 +00:00
Justin Bronn 8a1b24cc42 [1.0.X] Now use `subprocess.Popen` instead of the deprecated os.popen3 to issue PostGIS test database creation commands.
Backport of r9801 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9802 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-01 17:52:25 +00:00
Russell Keith-Magee 2dce7064f4 [1.0.X] Fixed #8638 -- Added documentation on how to redirect email to a dummy server for testing purposes. Thanks to Rob Hudson and Marc Fargas for their work on the draft for this change.
Merge of r9793 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9798 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-29 23:40:57 +00:00
Russell Keith-Magee c3df5d96d2 [1.0.X] Blocked the F() expression feature in r9792 from merging.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9797 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-29 23:37:58 +00:00
Karen Tracey 0f8f27f417 [1.0.X] Fixed #10152 -- Fixed typo in porting guide. Thanks eagle-eyed anonymous.
r9795 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9796 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-29 20:25:25 +00:00
Karen Tracey aa0023b32c [1.0.X] Block new function changesets from merge to branch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9794 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-29 20:19:52 +00:00
Russell Keith-Magee 405b87c432 [1.0.X] Fixed #10110 -- Added FAQ on how and when to poke the core developers about tickets. Thanks to Graham King for turning a couple of django-dev posts into a good first draft.
Merge of r9789 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9790 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-24 12:12:26 +00:00
Karen Tracey 47ed900b41 [1.0.X] Fixed #10103: Testcase fix for Jython compatibility. Thanks for report and patch leosoto.
r9782 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9784 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-23 05:00:09 +00:00
Karen Tracey 042777c838 [1.0.X] Block new function fix from merge to branch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9783 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-23 04:57:15 +00:00
Ian Kelly ca777ab08c [1.0.X] Fixed #9275: Extended the Oracle date format to allow DATE columns to be used with DateTimeFields, especially when using legacy databases. Thanks to hollerith for the patch. Backport of [9779] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9780 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-19 20:50:31 +00:00
Karen Tracey 709476ae05 [1.0.X] Fixed #10069 -- Fixed the model form unique validation code to not proceed with using, for example, RelatedObjects returned by get_field_by_name as though they were model Fields.
r9777 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9778 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-19 19:43:01 +00:00
Malcolm Tredinnick 3e19109ab6 [1.0.X] Fixed #9789 -- Handle jython's compiled settings filename correctly.
Patch from Frank Wierzbicki.

Backport of r9775 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9776 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-19 12:48:41 +00:00
Karen Tracey 5ce4031a61 [1.0.X] Corrected code in serializers_regress testcase so that, in the case where an exception has been raised, rollback is called before attempting to leave transaction management. With the old code the original exception (IntegrityError on InnoDB) was getting hidden by a transaction management error resulting from attempting to leave transaction management with a pending commit/rollback.
r9773 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9774 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-18 22:09:56 +00:00
Karen Tracey 02980f1c3c [1.0.X] Fixed #8055: Replaced use of traceback.format_exc (new in Python 2.4) with something that works as far back as 2.3.
Thanks to Ramiro for diagnosis and patch. 

Backport of r9770 from trunk.

Also updated svn metadata; all trunk bugfixes have been merged to the 1.0.X branch.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9772 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-17 23:06:23 +00:00
Karen Tracey 2ffeea2013 [1.0.X] Block trunk new function commits from svnmerge.py consideration.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9771 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-17 22:36:07 +00:00
Matt Boersma f0e35e1bbe [1.0.X] Fixed #5543: callproc() and friends now work with Oracle and our FormatStylePlaceholderCursor.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9768 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-16 22:24:45 +00:00
Ian Kelly 4268ef3fdc [1.0.X] Fixed #6767: corrected a 2.3 compatibility issue in [9750]. Thanks to tlow. Backport of [9761] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9762 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-16 16:53:12 +00:00
Malcolm Tredinnick 7cef4ecd19 [1.0.X] Fixed #10014 -- Don't crash when using debug template tag inside a block node tag.
Returning non-ASCII characters from TextNode.__repr__ was causing
problems in the BlockNode.__repr__ method (and probably in other places
we don't know about yet). We now forcibly convert to ascii and replace any
unconvertible characters, rather than returning some moderately
corrupted data in the non-ASCII case.

Backport of r9757 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9758 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-16 09:00:24 +00:00
Ian Kelly ad93542c8f [1.0.X] Fixed #6767: changed the way the Oracle backend fetches numbers to prevent decimals being returned as floats. Backport of [9750] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9751 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-15 20:40:40 +00:00
Gary Wilson Jr 43c1a87708 [1.0.X] Updated name as per author's request.
Backport of r9740 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9741 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-15 06:38:27 +00:00
Jacob Kaplan-Moss 0cc51e8fdd A handful of fixes to django.contrib.comments:
* Fixed #9143, #9429, and #9439 (was r9730 on trunk)
  * Fixed #9959: comment preview documentation example (was r9731 on trunk)
  * Fixed #9346: comment upgrade SQL in documentation. (was r9732 on trunk).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9738 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-14 17:00:15 +00:00
Karen Tracey 7dd0abc113 [1.0.X] Bring svnmerge metadata up to date with what's actually been merged to the branch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9737 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-14 16:02:59 +00:00
Karen Tracey 8064e088e6 [1.0.X] Block two more revisions fumblefingers missed in the last attempt.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9736 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-14 15:37:23 +00:00
Karen Tracey 610aedacca [1.0.X] Block trunk new function commits from svnmerge.py consideration.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9735 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-14 15:33:07 +00:00
Justin Bronn 8bf4e84c85 [1.0.X] Fixed #9278, #9694 -- Geographic overlays now display in admin with right to left langauges; simplified transformation process in `OpenLayersWidget` to fix Ubuntu 8.10/Apache 2.2.9 crash; updated OpenLayers version to 2.7.
Backport of r9733 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9734 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-13 02:21:07 +00:00
Malcolm Tredinnick 37260e046f [1.0.X] Revised r9567 slightly to be backwards compatible with versions 1.0 - 1.0.2.
Also documented the change. We prefer to load directory_index.html for static
directory listings, but if you have the (older style) "directory_index"
template and no .html version, we'll load that. This should stop a bunch of
mysterious breakages when people upgrade to Django 1.0.3 or Django 1.1. Also
keeps the docs in sync with released code.

Fixed #9993.

Backport of r9725 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9726 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-09 12:42:35 +00:00
Malcolm Tredinnick 195a6ea791 [1.0.X] Fixed #9569, #9636: Updated Simplified Chinese translation.
Backport of r9721 and r9722 from trunk (with makemessages re-run to ensure the
line numbers match on the branch).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9723 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-08 10:38:40 +00:00
Malcolm Tredinnick 2842f5979a [1.0.X] Fixed #9888 -- Updated Japanese translation from Takashi Matsuo.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9720 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-08 10:20:58 +00:00
Malcolm Tredinnick cc76b89c59 [1.0.X] Fixed #9985 -- qs.values_list(...).values(...) was constructing incorrect SQL.
Backport of r9717 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9718 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-08 05:51:15 +00:00
Ian Kelly fe9cd02f38 [1.0.x] Fixed #9972: The dbshell command was ignoring the DATABASE_HOST and DATABASE_PORT settings in Oracle. Backport of [9713] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9716 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-08 05:16:47 +00:00
Justin Bronn f3f251a6de [1.0.X] Return None for null date/time fields in OGR-supported data sources. Thanks to Ariel Mauricio Nunez Gomez for bug report and initial patch.
Backport of r9711 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9712 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-07 20:23:23 +00:00
Ian Kelly f6cacacbff [1.0.X] Refs #9935: Added a note in the documentation to the effect that Django currently requires a 4.X release of cx_Oracle. Backport of [9709] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9710 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-06 18:25:52 +00:00
Malcolm Tredinnick ff3320cb6d [1.0.X] Documented that case-insensitive matching is not supported for non-ASCII
strings in SQLite. Refs #9905.

Backport of r9705 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9706 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-06 03:35:46 +00:00
Malcolm Tredinnick e8ddef57d8 [1.0.X] Fixed #9862 -- For better SQL portability, don't specify "NULL" on nullable columns when creating tables. Patch from Ian Kelly.
Columns are NULL by default, so we only need to use "NOT NULL" when we want
non-default behaviour.

Backport of r9703 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9704 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-06 01:57:03 +00:00
Russell Keith-Magee 7982e5c510 Added a link to RKM's blog in the committers file.
Backport of r9698 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9699 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-03 05:06:22 +00:00
Russell Keith-Magee f2986d89b9 [1.0.X] Fixed #9942 -- Added a to_python handler for FloatField to ensure correct typing of deserialized data before saving. Underlying problem is analogous to #8298, fixed in [8515]. Thanks to David Larlet <larlet@gmail.com> for the report and fix.
Backport of r9695 and r9696 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9697 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-03 04:59:05 +00:00
Justin Bronn 94b83db499 [1.0.X] Fixed `check_geom` and `check_srs` to accept larger sized pointer addresses as returned by some platforms (including OpenBSD 4.4 and Fedora 8).
Backport of r9693 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9694 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-03 01:42:56 +00:00
Karen Tracey 1f2e21ba07 [1.0.X] Update svnmerge metadata -- all bugfix changesets from trunk have been merged to 1.0.X.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-30 15:27:09 +00:00
Karen Tracey fadccc6494 [1.0.X] Block changeset relating to CSS refactor from svnmerge to 1.0.X branch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9691 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-30 15:22:04 +00:00
Justin Bronn d2c9c1261a [1.0.X] Fixed #9664 -- `LayerMapping` now works with MySQL spatial backends.
Backport of r9688 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9689 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-26 20:07:36 +00:00
Justin Bronn 04ce539ad2 [1.0.X] Fixed #9892 -- support additional binary packages for GEOS & GDAL libs on OSX & Ubuntu platforms.
Backport of r9686 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-26 16:04:48 +00:00
Adrian Holovaty fd9ddb2dc1 [1.0.X] Merged [9682], [9683] and [9684] from trunk. These were changes dealing with documenting and adding a helpful error message for the quirk of admin users needing 'change user' permission to add users. Refs #9866
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9685 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-26 06:02:44 +00:00
Gary Wilson Jr 3abbb455b2 [1.0.X] Fixed #8245 -- Added a LOADING flag to autodiscover to prevent an admin.py module with errors from raising a spurious AlreadyRegistered exception in a subsequent call to autodiscover.
Backport of r9680 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9681 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23 18:28:22 +00:00
Gary Wilson Jr 9841776ec3 [1.0.X] Fixed #9882 -- Added `alters_data = True` to `BaseModelForm.save` method, thanks dc.
Backport of r9678 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9679 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23 05:52:57 +00:00
Gary Wilson Jr 1d37663aef [1.0.X] Fixed #9884 -- Corrected template example in model forms documentation, thanks bradmontgomery.
Backport of r9676 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9677 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23 05:22:10 +00:00
Gary Wilson Jr 44239004db [1.0.X] Fixed #9902 -- Corrected misspelling in form validation documentation, thanks zunzun.
Backport of r9674 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9675 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23 04:14:51 +00:00
Gary Wilson Jr 47de671948 [1.0.X] Fixed #9896 -- Corrected a couple uses of `formset.forms`, thanks aglzen.
Backport of r9672 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9673 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23 00:15:03 +00:00
Gary Wilson Jr 518e19a363 [1.0.X] Fixed #9780 -- Fixed an undefined internal link in the model forms documentation, thanks ramiro.
Backport of r9670 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9671 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23 00:03:19 +00:00
Gary Wilson Jr 6c3a98ab3a [1.0.X] Fixed #9904 -- Corrected name of storage method in files documentation.
Backport of r9668 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9669 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-22 23:24:34 +00:00
Malcolm Tredinnick 6dd5c855d4 [1.0.X] Changed some ReST formatting of headers (in forms/validation.txt).
Backport of r9666 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-22 04:19:41 +00:00
Karen Tracey 73534cd942 [1.0.X] Fixed #9865 -- Allow saving of new inline-edited objects with custom non-auto primary key fields that are not the foreign key to the parent object.
r9664 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9665 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-21 04:58:59 +00:00
Karen Tracey 26554aa6b2 [1.0.X] Fixed #9898 -- Added a missing 'e' to 'one'. Thanks gizzywump. Also Americanized specialised while in the area, per contributing's guideline.
r9662 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9663 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-21 04:23:35 +00:00
Malcolm Tredinnick 3c9aaaef34 Fixed a typo in r9652.
Backport of r9659 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9660 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-17 01:50:11 +00:00
Karen Tracey ae5c9b33d0 [1.0.X] Fixed #9859 -- Added another missing force_unicode needed in admin when running on Python 2.3. Many thanks for report & patch with test to nfg.
Also enhanced the new test to hopefully exercise all paths through the get_deleted_objects function, and fixed the errors pointed out by the beefed-up test.

r9656 and r9657 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9658 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-16 17:53:33 +00:00
Karen Tracey 75ea7a434a [1.0.X] Fixed #9814 -- Allowed SafeStrings to be saved to sqlite DB when running on Python 2.6.
r9654 from trunk, also updated merge metadata to reflect that all other bugfix changetsets have been merged.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9655 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-16 14:34:12 +00:00
Karen Tracey 8cc518a964 [1.0.X] Block r9643 (code removal) and r9646 (fix to code present only in trunk) from svnmerge.py consideration.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9653 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-16 14:26:02 +00:00
Malcolm Tredinnick 01e04e90e0 [1.0.X] Fixed #9431 -- Added extra validation for VARCHAR-based fields on MySQL.
max_length > 255 and unique=True is not permitted. Based on a patch from
adamnelson.

Backport of r9470 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9652 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-16 06:49:43 +00:00
Malcolm Tredinnick 518c4ca2a8 [1.0.X] Removed one test that is only intended for PostgreSQL from the
visibility of other databases. This basically hides an annoying warning when
running the tests under MySQL.

Backport of r9469 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9651 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-16 06:48:15 +00:00
Malcolm Tredinnick 0a0aba5f5e [1.0.X] Fixed #9786 -- Fixed inequality checking for django.db.models.fields.file.FieldFile class.
Backport of r9647 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9648 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-16 04:54:29 +00:00
Matt Boersma aca5a5258c [1.0.X] Reformatted PL/SQL flush left so "manage.py sqlall [app] | manage.py dbshell" works with Oracle. Also some PEP8 cleanup.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9645 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-11 20:12:34 +00:00
James Bennett 0efff2c032 [1.0.X] Fixed #9795: Since related-object selection widgets take limit_choices_to into account, the offending code is no longer necessary and can simply be removed. Was [9641] in trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9642 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-11 07:07:03 +00:00
Karen Tracey 08d47a16e3 [1.0.X] Fixed a small reST header glitch in docs/ref/templates/builtins.txt. This was [9529] on trunk.
Also updated svnmerge.py metadata; all non bugfix changesets from trunk have been applied to 1.0.X.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9640 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-10 16:13:14 +00:00
Karen Tracey 6ff50eb24c [1.0.X] Blocked two more trunk changesets that should not be merged to 1.0.X.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9639 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-10 15:50:42 +00:00
Karen Tracey 02b15e87d2 [1.0.X] Blocked non-bugfix changesets from svnmerge.py consideration.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9638 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-10 15:39:15 +00:00
James Bennett 349405009f [1.0.X] Yet another place where we claim to support 2.3 and up. Was [9635] in trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9636 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-10 01:53:02 +00:00
Luke Plant 24a1900b36 [1.0.X] Fixed #8248: made help() work on models and improved introspection support.
Descriptors now return themselves when accessed via the class, as per standard
Python descriptors like property().

Backported from r9550 and also r9562 and r9563


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9634 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-10 00:14:56 +00:00
James Bennett c9a6c06de8 [1.0.X] Another place where we talked about Python versions. Was [9632] in trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9633 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 23:06:45 +00:00
James Bennett 1a12506846 [1.0.X] Clarify install docs to point at new FAQ items about Python 3.0. Was [9360] in trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9631 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 22:49:16 +00:00
James Bennett 707d144c30 [1.0.X] Fixed #9783; clarified install docs and FAQ to explain that Django does not yet work with Python 3.0. Was [9628] in trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9629 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 22:42:10 +00:00
Malcolm Tredinnick 4aaa15e812 [1.0.X] Documented how to handle '%' characters in redirect_to() URL strings
(even in the absence of keyword arguments). Fixed #9773.

Backport of r9626 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9627 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 07:35:34 +00:00
Malcolm Tredinnick 2e4336b659 [1.0.X] Fixed #9777 -- Typo fix.
Backport of r9622 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9624 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 07:18:32 +00:00
Malcolm Tredinnick bc2cc6eb09 [1.0.X] Fixed #9772 -- Fixed a couple of broken links and pointed them to a more
appropriate section. Thanks, Ramiro Morales.

Backport of r9621 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9623 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 07:18:02 +00:00
Malcolm Tredinnick 8611522898 [1.0.X] Fixed #9775 -- Fixed an oversight from r9601 and allow direct attribute
lookup in the serializable_value() method. This means that abstract
parents that are multi-table children of other models(no, really!!) now
work again.

Backport of r9618 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9619 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 06:51:23 +00:00
Adrian Holovaty 3988cb2d27 [1.0.X] Did some much-needed rewriting/editing in the formsets section of docs/topics/forms/modelsforms.txt. 'It self' is not two words. Backport of [9616]
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9617 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 04:20:54 +00:00
Brian Rosner 7edf9149d7 [1.0.X] Improved the model formset and inline formset documentation to be more explicit and handle some cases that were never addressed before.
Backport of r9614 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 00:36:25 +00:00
Matt Boersma 1a3a03c5f0 [1.0.X] Fixed obscure Oracle quoting issues pointed out by the custom_columns_regress test case.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9613 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 18:37:08 +00:00
Karen Tracey a9c5bf106c [1.0.X] In the release process doc, clarify that the original committer is responsible for backporting trunk fixes to the bug-fix branch.
r9610 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9611 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 17:18:50 +00:00
Karen Tracey 8c71c6607a [1.0.X] Block non-bugfix changesets from svnmerge.py consideration. This includes changes related to loading compressed fixtures, for's new empty clause, CSRF enhancements, iterating over hidden fields in forms, and a new argument to simple.redirect_to().
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 17:01:17 +00:00
Justin Bronn 067361b9c5 [1.0.X] Fixed a Python 2.4 incompatibility in `compress_kml`.
Backport of r9607 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 14:52:39 +00:00
Justin Bronn 974135fc7e [1.0.X] Fixed #9747 -- now explicitly set response type on C functions that return WKB and WKT.
Backport of r9605 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9606 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 14:34:28 +00:00
Malcolm Tredinnick 4dcff3e684 [1.0.X] The second part of fixing "related inherited models" display. Handle raw_id values for child models in the admin. Fixed #9461.
I couldn't think of a way to test this automatically and robustly, however,
manual testing with the ticket example shows failure before and success
afterwards and the fix make sense logically.

Backport of r9602 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9604 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 08:24:32 +00:00
Malcolm Tredinnick bffb457862 [1.0.X] The first step in fixing a group of problems related to outputting a
proper "value" for a field that is a relation to another model.

This part adds the utility method on Model that should help in general.Also
cleans up the slightly ugly mess from r8957.

Backport of r9601 from trunk (the second piece of this patch is a bugfix, not
just a tidy-up. It looks like it might be possible to have to_field setups that
make the existing code fail and that's only hidden by the fact that inherited
models with to_field relations to the parent fail for other reasons right now).


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9603 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 08:23:52 +00:00
Gary Wilson Jr 85e1d876c0 [1.0.X] Fixed #9732 -- Added missing close paragraph tag to password reset confirmation template, thanks casseen.
Backport of r9599 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9600 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 05:42:39 +00:00
Gary Wilson Jr 3c4c1adefb [1.0.X] Fixed #9724 -- Added missing import to URLconf example, thanks shacker.
Backport of r9597 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9598 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 05:36:53 +00:00
Gary Wilson Jr 89f2a5892d [1.0.X] Fixed #9718 -- Removed a reference to oldforms FormWrapper? object in the user authentication docs.
Backport of r9595 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9596 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 05:29:43 +00:00
Malcolm Tredinnick 61e36bd7d1 [1.0.X] This fixes a group of problems in the SQL created by QuerySet.exclude()
when used in a few situations where NULL results can appear.

Fixed #8921 (the only ticket I know of that noticed any of these).

Backport of r9590 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9591 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 02:47:05 +00:00
Malcolm Tredinnick a8a4743b1d [1.0.X] Fixed #9188 -- Fixed a case where we were generating syntactically invalid SQL in some exclude() queries.
Backport of r9588 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9589 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-07 05:50:26 +00:00
Malcolm Tredinnick 76cf4db494 [1.0.X] Fixed #9645 -- Work around a backwards-incompatibility in Sphinx so that
various combinations of released docutils and sphinx versions all work
together. Thanks, Ramiro Morales.

Backport of r9586 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9587 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-07 04:03:30 +00:00
Malcolm Tredinnick dc86735859 [1.0.X] Fixed #9677 -- Fixed a tiny typo in the 1.0.2 release notes.
Backport of r9584 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9585 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-07 03:56:50 +00:00
Malcolm Tredinnick cb2e4e80bc [1.0.X] Fixed #9705 -- Call the Netherlands by their real name in the localflavor documentation.
Backport of r9580 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9583 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-07 03:49:38 +00:00
Malcolm Tredinnick 8479543fd7 [1.0.X] Fixed #9712 -- Documented how HTTP headers are converted to request.META keys. Based on a patch from masklinn.
Backport of r9579 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9582 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-07 03:49:06 +00:00
Malcolm Tredinnick 3594f322ed [1.0.X] Fixed #9731 -- Typo fix in docs.
Backport of r9578 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9581 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-07 03:48:39 +00:00
Malcolm Tredinnick 3653a53dba [1.0.X] Fixed #9728 -- Updated Macedonian translation from Georgi Stanojevski and Vasil Vangelovski.
Backport of r9575 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9577 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-07 03:25:20 +00:00
Malcolm Tredinnick 1eac2453a5 [1.0.X] Fixed #9639 -- Updated Ukranian translation from Mykola Zamkovoi.
Backport of r9574 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9576 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-07 03:23:33 +00:00
Justin Bronn 35b0499905 [1.0.X] Fixed #9572 -- use `opts` argument. Thanks SeanL for bug report and patch.
Backport of r9572 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9573 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-06 02:01:38 +00:00
Justin Bronn cad3c019cc [1.0.X] Fixed #9742 -- remove extraneous 'kml' from KML mimetype. Thanks, robotika for the bug report.
Backport of r9570 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9571 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-06 01:24:59 +00:00
James Bennett 687823640d [1.0.X] Correct weird typo that crept into [9567].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9568 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-04 19:34:54 +00:00
James Bennett c1ec41a91a [1.0.X] Fixed #9754: static-serving view now uses correct template name for directory indexes. Was [9566] in trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9567 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-04 19:34:23 +00:00
Malcolm Tredinnick c667fdd4d8 [1.0.X] Fixed some markup errors in the form validation docs.
Backport of r9564 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9565 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-04 05:39:50 +00:00
Malcolm Tredinnick 8c6a6f3b1a [1.0.X] Fixed #9734 -- Typo fix in the custom fields documentation, pointed out by
col16.

Backport of r9557 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9560 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-03 05:53:57 +00:00
Malcolm Tredinnick 500021a923 [1.0.X] Fixed #9740 -- Updated and correct usage of max_entries in cache documentation.
Backport of r9556 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9559 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-03 05:53:26 +00:00
Ian Kelly a261602bd3 [1.0.X] Fixed #9706: made SlugField honor max_length in Oracle, matching the other backends. Backport of [9548] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-02 18:42:30 +00:00
Ian Kelly 4c7efda28f [1.0.X] Fixed a pair of bugs in determining the set of models to flush that were causing test cause failures in Oracle after [9536].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9547 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-02 16:59:39 +00:00
Russell Keith-Magee af6b7cdc63 [1.0.X] Fixed #9736 -- Added quoting to the SQL constraint names generated during table creation. This is to accommodate primary keys with spaces.
Merge of [9543] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9545 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-02 13:34:00 +00:00
Malcolm Tredinnick c61ebbe2ba [1.0.X] Added a note to the SQLite database documentation mentioning that
version 3.6.2 is to be avoided like the plague. Fortunately, it was only the
latest release for three weeks, so avoidance is easy (as is upgrading).

Refs #9358.

Backport of r9540 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9542 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-02 06:01:14 +00:00
Malcolm Tredinnick 931d96e065 [1.0.X] Added a short note to the modelforms documentation linking between
save(commit=False) and using force_insert or force_update on the Model.save()
call. Refs #8672.

Backport of r9539 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9541 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-02 06:00:44 +00:00
Russell Keith-Magee 19cb720df7 [1.0.X] Fixed #9717 -- Corrected a problem where django-admin.py flush would attempt to flush database tables that had not yet been created. This occurred when an application had been added to INSTALLED_APPS, but had not yet been synchronized. Thanks to Julien Phalip for the patch.
Merge of [9535] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9536 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-29 11:55:05 +00:00
James Bennett b3f278258a [1.0.X] Fixed an issue in ForeignKeyRawIdWidget where the values in limit_choices_to were always treated as lists even when they weren't. Was [9533] in trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9534 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-26 21:22:07 +00:00
Jarek Zgoda 1ca99e901f [1.0.X] Two new locale names translated.
Backport of [9525] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9526 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-23 20:27:54 +00:00
Karen Tracey f93b9ead80 [1.0.X] Remove the FAQ answer about a setuptools install error that references running a script 2-years-gone from the source tree.
r9523 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9524 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-21 17:49:19 +00:00
Karen Tracey 94c0aa7d84 [1.0.X] Fixed #9611 -- Noted in the FAQ answer about Python versions that some contrib apps (notably gis) may require a higher Python version. Thansk jamesivanwhite for the report and initial patch.
r9521 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9522 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-21 17:42:50 +00:00
Karen Tracey df9254c2f3 [1.0.X] Fixed #9615 -- Typo fix to testcase. Thanks jarrow.
r9519 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9520 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-21 16:56:24 +00:00
Karen Tracey 7f06c373d2 [1.0.X] Fixed #9618: Corrected an error in some example code in the forms documentation. Thanks matthijs.
r9517 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9518 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-21 16:26:08 +00:00
Karen Tracey 33dac7afd7 [1.0.X] Fixed #9642 -- Made the admin calendar/clock popups go away when the users clicks outside them. The previous javascript code did not work on IE. Thanks northtea for the report and patch.
r9514 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9516 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-21 15:35:15 +00:00
Karen Tracey 3ea4dd111c [1.0.X] Block doc index refactor and internal consistency change from svnmerge to branch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9515 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-21 15:30:18 +00:00
Malcolm Tredinnick 8bcde6492a [1.0.X] Fixed #2782 -- Make the server port available through the modpython
handler.  (Originally applied in r3866, reverted in r3927 and now verified as
correct).

Backport of r9512 from trunk. This is a bugfix, since the value is used in
HttpRequest.get_host().


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9513 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-21 12:08:11 +00:00
Malcolm Tredinnick d75628fbe8 [1.0.X] Fixed #9617 -- Fixed a typo in the Polish translation. Thanks, romke.
Backport of r9510 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9511 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-21 11:52:52 +00:00
James Bennett 0f5258684e [1.0.X] OneToOne? filtering should only apply in a popup selection from the related model. This was [9507] in trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9508 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-20 19:02:17 +00:00
Ludvig Ericson 5cc5451a3f Update Swedish translations.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9506 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-19 16:24:11 +00:00
James Bennett f952314532 [1.0.X] With 1.0.2 out, this branch is now 1.0.3 pre-alpha
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9505 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-19 06:01:45 +00:00
James Bennett 76c77acc51 [1.0.X] Remove download URL now that we're post-release
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9504 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-19 06:01:22 +00:00
James Bennett deab35c149 Add download_url so easy_install and friends will work
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9502 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-19 05:40:16 +00:00
James Bennett ef784f94d8 [1.0.X] Django 1.0.2.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9499 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-19 05:27:25 +00:00
James Bennett 9ba5b12ca3 [1.0.X] docutils fix in release notes
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9497 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-19 05:23:58 +00:00
James Bennett f6d68380b6 [1.0.X] Add 1.0.2 release notes to index
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9495 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-19 05:21:03 +00:00
James Bennett 92754ac35e Draft 1.0.2 release notes
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9494 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-19 05:17:58 +00:00
Karen Tracey 371fee791b [1.0.X] Fixed #9597: Hebrew translation update.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9492 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-18 22:29:05 +00:00
Karen Tracey 6aff7f4768 [1.0.X] Fixed #9612: Danish translation update including date format corrections.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9491 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-18 22:25:08 +00:00
Adrian Holovaty cc0e00ebbe [1.0.X] Removed 'Most Web sites wouldn't be complete without a way to upload files' sentence from file-uploads.txt in docs. I beg to differ. (Same as [9487] on trunk)
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9488 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-18 06:37:50 +00:00
Justin Bronn 857e3aa548 [1.0.X] Reverted r9483 -- the patch broke the Oracle spatial backend.
Backport of r9484 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9485 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-17 18:47:01 +00:00
Justin Bronn 0ab5dad0b3 [1.0.X] Fixed #9620 -- spatial database tables now have `app_label` set correctly.
Backport of r9482 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9483 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-17 18:22:39 +00:00
Justin Bronn ac521026db [1.0.X] Added the GEOS and GDAL interface licenses to the manifest template.
Backport of r9480 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9481 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-17 18:12:28 +00:00
Malcolm Tredinnick 174f35bdea [1.0.X] Fixed #9613 -- Added a bunch of files that were missing when the
distribution tarball is created. Thanks, Justin Bronn.

Backport of r9478 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9479 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-17 03:01:07 +00:00
Karen Tracey bdae3cc27d [1.0.X] Fixed #9608: Ensured a Model's default repr() is printable even if its unicode method raises a Unicode error.
r9475 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9477 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-16 19:08:53 +00:00
Karen Tracey 5adf72e3ad [1.0.X] Block trunk feature/enhancement work from svnmerge to branch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9476 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-16 19:04:51 +00:00
Justin Bronn 73d32af430 [1.0.X] Added GeoDjango template and test data directories to the manifest template so that they are included when building the release tarball with `sdist`.
Backport of r9473 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9474 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-16 16:39:06 +00:00
Malcolm Tredinnick f42df5fc3f [1.0.X] Fixed #9472 -- Fixed a couple of URL patterns to be more consistent (and remove a misleading initial slash). Thanks, daveyjoe.
Backport of r9471 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9472 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-16 09:38:40 +00:00
Malcolm Tredinnick aed11333f1 [1.0.X] Fixed #6052 -- Worked around a bug in MySQLdb with regards to handling
SafeUnicode (handle SafeString similarly, just to be safe). Based on a patch
from sfllaw.

Backport of r9467 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9469 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-16 08:57:10 +00:00
Malcolm Tredinnick d7e1856776 [1.0.X] Fixed #3501 -- Fixed date filtering in querysets for nullable date fields. Only affects SQLite.
Backport of r9466 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9468 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-16 08:55:10 +00:00
James Bennett 197892ab6c [1.0.X] Now that this branch is 1.0.2 pre-alpha, it shouldn't have a download_url set in the setup.py.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9462 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-15 12:31:36 +00:00
James Bennett 137d27ada6 [1.0.X] With 1.0.1 out the door, branches/releases/1.0.X is now 1.0.2 pre-alpha.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9461 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-15 06:28:20 +00:00
James Bennett 13f63f051b Django 1.0.1.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9459 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-15 06:00:26 +00:00
James Bennett 08ae5910b0 New download URL
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9458 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-15 06:00:14 +00:00
James Bennett 9b93e49ae5 [1.0.X] One more correction to the release notes.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9457 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-15 05:58:08 +00:00
Malcolm Tredinnick c0feb2fad9 [1.0.x] Fixed #9477 -- Removed and edited a bunch of references to "development
version". Some were replaced with versionadded or versionchanged directives.
Other, more minor ones, were removed altogether.

Based on a patch from James Bennett.

Backport of r9454 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9455 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-15 05:56:01 +00:00
James Bennett a4782f0581 [1.0.X] Ensure generated package name does not contain spaces; this will make Django easy_installable from the Cheese Shop. This is [9452] on trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9453 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-15 05:39:58 +00:00
James Bennett a703cc9970 Actually we didn't port that one to 1.0.1.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9450 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-15 05:35:52 +00:00
James Bennett 0cee58d750 [1.0.X] Add 1.0.1 release notes and link them from the releases index page.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9448 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-15 05:20:08 +00:00
Malcolm Tredinnick 087f8aa781 [1.0.X] Fixed a bug introduced in r9443.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9447 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-15 02:51:10 +00:00
Brian Rosner 781a1763d9 [1.0.X] Fixed #9258 -- Use _default_manager in ForeignKeyRawIdWidget.label_for_value. Thanks nullie for the patch.
Backport of r9444 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9445 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-15 02:21:32 +00:00
Malcolm Tredinnick 014c563662 [1.0.X] Fixed #6948 -- The join filter was escaping the literal value
that was passed in for the connector. This was contrary to what the
documentation for autoescaping said and to what every other filter does
with literal strings as arguments.

This is backwards incompatible for the situation of the literal string
containing one of the five special HTML characters: if you were writing
{{ foo|join:"&" }}, you now have to write {{ foo| join:"&amp;" }}.
Previous behaviour was, as noted, a bug and contrary to what was
documented and expected.

Backport of r9442 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9443 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-15 01:24:53 +00:00
Karen Tracey 385f2fe2b5 [1.0.X] Fixed #9076 -- Changed BaseInlineFormSet to not override BaseModelFormSet's get_queryset method. BaseInlineFormSet's method did not include a couple of fixes/enhancements that were made to the parent's method, resulting in excessive queries (some of which can return bad data due to #9006) for admin pages with inlines. Thanks bthomas for the initial patch.
r9440 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9441 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 15:40:26 +00:00
Karen Tracey dbe18ce542 [1.0.X] Fixed #9592 -- Create data for the generic_inline_admin test during setup instead of via a fixutre since it uses a content type id which will vary depending on what other tests have been run.
r9438 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9439 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 14:52:55 +00:00
Malcolm Tredinnick 51dabd2819 [django-1.0.X] Fixed #9377 -- Clarified when cmemcached support was included in Django.
Backport of r9435 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9437 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 08:07:39 +00:00
Malcolm Tredinnick 1b68c6a50f [django-1.0.X] Fixed #9531 -- Fixed some awkward wording in the docs. Thanks, gsf.
Backport of r9434 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9436 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 08:07:11 +00:00
Malcolm Tredinnick 659f982150 [django-1.0.X] Fixed #9507 -- Correct an example in the admin docs. Thanks,
john_scott and SmileyChris.

Backport of r9432 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9433 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 07:51:16 +00:00
Malcolm Tredinnick 539d947ad4 [django-1.0.X] Fixed #9594 -- Typo fix in the testing example.
Backport of r9429 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9431 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 07:43:26 +00:00
Malcolm Tredinnick 68a74843d7 [django-1.0.X] Fixed #9468 -- Fixed a misleading FAQ answer.
Backport of r9428 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9430 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 07:42:50 +00:00
Malcolm Tredinnick 1c6f2b9ec8 [django-1.0.X] Fixed #9570 -- Updated Arabic translation from Ossama M. Khayat.
Backport of r9423 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9427 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 07:23:10 +00:00
Malcolm Tredinnick 28ad811329 [Django-1.0.X] Fixed #9574 -- Hindi translation from Thejaswi Puthraya.
Backport of r9422 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9426 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 07:22:12 +00:00
Nicola Larosa dab02d4f84 Italian translation updated
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9424 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 07:14:58 +00:00
Ramiro Morales c1fdbb0efe [1.0.X] Updated Argentinian spanish translations, refs #9506 and related commits.
Port of [9420] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9421 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 02:48:29 +00:00
Ian Kelly aef9663625 [1.0.X] Removed support for passing params as dicts in the oracle backend. Wasn't documented, didn't work, isn't necessary. Backport of [9418] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9419 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 00:56:12 +00:00
Karen Tracey 4007ac09e4 [1.0.X] Updated svnmerge metadata and added myself to committers (r9416 from trunk).
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9417 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-13 23:53:52 +00:00
Karen Tracey ac832a285f [1.0.X] Fixed #9579 -- Properly handle apps running with (and specifically, loading templates from) a current working directory path that contains non-ASCII characters. Thanks for the report to gonzalodelgado and for advice on how to fix it to Daniel Pope.
r9411 from trunk.



git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9414 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-13 19:11:08 +00:00
Brian Rosner f219136e11 [1.0.X] Fixed #9498 -- Handle a formset correctly when the foreign key is not available (for now).
This case pops up with generic foreign key inlines after [9297]. Added tests
to handle future regressions with generic foreign key inlines in the admin.

Thanks markus and danielr for patches.

Backport of [9412] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9413 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-13 19:05:49 +00:00
Marc Fargas c8dcbb038a [1.0.X] Updated Catalan translation.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9408 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-13 18:07:51 +00:00
Marc Fargas fd0c24b876 [1.0.X] Updated Spanish translation.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9407 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-13 18:07:06 +00:00
Jannis Leidel 7d3450ddee [1.0.X] Updated German translation. Thanks bartTC and flosch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9406 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-12 23:29:24 +00:00
Karen Tracey a2e02a5830 [1.0.X] Fixed #106 -- Refrain from generating popup window names that IE refuses to pop up. Thanks for the reports and initial patches nbstrite and jsmullyan.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9404 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-12 16:25:36 +00:00
Russell Keith-Magee 8ec6b87c42 [1.0.X] Fixed #9572 -- Corrected some documentation that misleadingly gave the extension for YAML fixtures as YML. Thanks to django@i-sh.me.uk for the report.
Merge from trunk of [9401]


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9402 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-12 11:53:16 +00:00
Russell Keith-Magee cecbed5ac9 [1.0.X] Fixed #8646 -- Modified test client to set a fully WSGI compliant environment. Thanks to Adam Lofts for the report.
Merge from trunk of [9396]


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9400 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-12 11:35:34 +00:00
Russell Keith-Magee 7a1421189c [1.0.X] Blocked [9397] and [9398] from merging into the 1.0.X branch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9399 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-12 11:29:50 +00:00
Karen Tracey 2a1c9072fb [1.0.X] Fixed #5079 -- Avoid converting Decimals to floats during save to the database.
[9394] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9395 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-12 00:38:48 +00:00
Justin Bronn 11736980a4 [1.0.X] Fixed #9566 -- made GeoJSON regex more robust.
Backport of r9392 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9393 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-11 17:28:43 +00:00
Karen Tracey 1ea0057296 [1.0.X] Fixed #9567 - Removed an extraneous 'are'.
[9390] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9391 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-11 03:00:27 +00:00
Karen Tracey 21e0efcd64 [1.0.X] Fixed #7064: Made DemicmalField validation support max_digits equal to decimal_places.
r9387 and r9388 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9389 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-10 20:04:42 +00:00
Karen Tracey 8c31bb7ca3 [1.0.X] Fixed #6035 -- Gave the SplitDateTimeField the proper default widget. Thanks dtulig.
r9385 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9386 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-10 19:46:13 +00:00
Karen Tracey 4a3dcd7f5e [1.0.X] Fixed #8910 -- Added force_unicode during admin log message creation to avoid triggering a Python 2.3 bug. Thanks for the report joshg and patch nfg.
[9383] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9384 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-10 17:26:13 +00:00
Malcolm Tredinnick df8cb5016d Fixed #9544 -- Updated Danish translation from Finn Gruwier Larsen.
Backport of r9381 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9382 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-10 10:37:03 +00:00
Marc Fargas 24860ccbd4 [1.0.X] Refs #9537, Updated Polish translation; Thanks Jarek Zgoda.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9378 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-10 10:22:24 +00:00
Malcolm Tredinnick 6b7f2bdad2 [Django-1.0.X] New Thai translation from Kowito Charoenratchatabhan and Kadesarin Sanjek. Fixed #9542.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9377 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-10 10:21:50 +00:00
Malcolm Tredinnick e6c2f496eb [django-1.0.X] Updated French translation from David Larlet. Fixed #9512.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9375 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-10 09:57:23 +00:00
Karen Tracey a24d80f193 [1.0.X] Fixed #9556 - typos in syndication docs. Thanks sedden.
[9373] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9374 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-09 19:02:54 +00:00
Karen Tracey 3ced836c73 [1.0.X] Fixed #9514 -- Made admin change_form template correctly recognize/report when a form has only a single error.
[9371] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9372 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-09 18:54:12 +00:00
Karen Tracey dc0389cca0 [1.0.X] Fixed #5748 -- Made floatformat filter round properly on all platforms and handle NaN input correctly on Windows. Also added tests for these cases. Thanks for the report and initial patch to SmileyChris and PJCrosier.
[9369] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9370 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-08 01:53:20 +00:00
Jannis Leidel f56df044dc [1.0.X] Updated German translation after r9364
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9368 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-06 21:37:08 +00:00
Karen Tracey 335f4ac03d [1.0.X] Fixed #6160, #9111 -- Consistently apply conditional_escape to form errors and labels when outputing them as HTML.
[9365] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9366 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-06 19:53:36 +00:00
Karen Tracey 675ee5c137 [1.0.X] Fixed #9506 take 2 -- Marked the message properly for translation, in both places it appears in the source.
[9363] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9364 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-06 16:47:13 +00:00
Karen Tracey 0776ba048a [1.0.X] Fixed #9506 -- Marked error string for translation.
[9360] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9362 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-06 14:50:23 +00:00
Karen Tracey 1cbf9a93c6 [1.0.X] Block trunk translation updates from snvmerge to branch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9361 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-06 14:47:54 +00:00
Russell Keith-Magee 6be20bf64c [1.0.X] Fixed #9011 -- Corrected handling of fixture files that contain errors to correctly report the broken fixture name. Thanks to jlrivitti@gmail.com for the report and initial patch.
Merge of [9357] and [9358] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9359 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-06 11:27:33 +00:00
Russell Keith-Magee 697f73f488 [1.0.X] Fixed #9518 -- Corrected example JSON snippet in fixture documentation. Thanks to claude@2xlibre.net for the report.
Merge of [9355] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9356 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-06 10:48:20 +00:00
Marc Fargas 603dcb89bb Refs #9526, Updated Arabic translation; Thanks Ossama M. Khayat.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9352 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-06 09:41:20 +00:00
Marc Fargas 8edcfc030e [1.0.X] Refs #9513, Updated Polish translation; Thanks Jarek Zgoda.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9351 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-06 09:40:56 +00:00
Marc Fargas 19dd6c3566 [1.0.X] Fixed #9512, Updated French translation. Thanks David Larlet.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9350 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-06 09:34:01 +00:00
Marc Fargas 65d00e5db8 [1.0.X] Refs #9419, Typo in Russian translation.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9347 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-06 09:18:58 +00:00
Marc Fargas e33c6f1382 [1.0.X] Refs #9511, Updated Hebrew translation.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9345 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-06 09:12:31 +00:00
Marc Fargas 9c3e9c7e65 Merge branch 'master-1.0.X' into trunk-1.0.X
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9343 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-06 08:49:03 +00:00
Karen Tracey dcfafea408 [1.0.X] Fixed #9218 -- Simplified the fix from #9039 and added tests to ensure this case doesn't break again (and that the simplification didn't break anything).
[9341] from trunk.  Also updated svnmerge metadata.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9342 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-05 19:55:51 +00:00
Marc Fargas 8e7eddd59d [1.0.X] Updated Catalan translation.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9340 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-05 18:29:21 +00:00
Justin Bronn ca5a2b0930 [1.0.X] Fixed `resolve_columns` so that pagination works again on Oracle GeoQuerySets; properly set svn:ignore on `sitemaps` subdir.
Backport of r9338 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9339 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-05 18:24:55 +00:00
Justin Bronn dca8dbaf86 Fixed #9364 -- now uses the appropriate database table for inherited `GeometryField`s; now uses the `SpatialBackend` booleans in tests.
Backport of r9336 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9337 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-05 18:06:24 +00:00
Karen Tracey 8e4827e506 [1.0.X] Fixed #9418 -- When saving a model form, defer saving of file-type fields until after other fields, so that callable upload_to methods can use data from the other fields. Thanks to Bernd Schlapsi for the report and initial patch.
[9334] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9335 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-04 19:54:28 +00:00
Karen Tracey 4563060093 [1.0.X] Block doc fix for new function from svnmerge consideration.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9333 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-02 21:48:00 +00:00
Karen Tracey 55943c0975 [1.0.X] Fixed #9497 - Doc typos. Many thanks ramiro.
[9330] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9331 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-02 20:53:47 +00:00
Karen Tracey f1eb098d96 [1.0.X] Fixed #9495 -- Corrected typo in urls doc. Thanks seemant.
[9328] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9329 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-02 04:23:28 +00:00
Brian Rosner 6c069d2a71 [1.0.X] Fixed #9494 -- Ensure the foreign key in an inline formset is always present on the forms. Thanks Fugazi for the report.
Backport of r9326 from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9327 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-01 22:26:44 +00:00
Ramiro Morales da151657a0 [1.0.X] Updated Argentinian spanish translation.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9325 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-01 21:07:02 +00:00
Karen Tracey 3905b071bc [1.0.X] Fixed #9337 -- Use a link to Jython that actually works. Thanks admackin.
[9323] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9324 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-01 20:55:13 +00:00
Karen Tracey 1af32e8809 [1.0.X] Fixed #9354 -- Set missing svn:eol-style property on some localflavor .py files. Thanks Semmel.
[9321] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9322 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-01 20:42:17 +00:00
Ludvig Ericson 4c0895bf8f Updated Swedish translations.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9320 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-01 20:32:17 +00:00
Karen Tracey daf875259d [1.0.X] Fixed #9374 -- Added missing close paren in serialization doc. Thanks jordy.
[9318] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9319 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-01 20:17:10 +00:00
Karen Tracey 19d164e051 [1.0.X] Fixed #9441 -- Corrected typo in file upload settings doc. Thanks gsf.
[9316] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9317 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-01 19:47:09 +00:00
Karen Tracey fbf32bd000 [1.0.X] Fixed #9412 -- Corrected a couple of typos in the custom model field doc. Thanks carljm.
[9314] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9315 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-01 19:21:46 +00:00
Karen Tracey d6a1e2ef7a [1.0.X] Fixed #9487 -- Corrected several links into the Python docs that were broken by the recent Python docs refactor.
[9312] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9313 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-01 19:05:46 +00:00
Karen Tracey 587a2f9809 [1.0.X] Fixed #9491 -- Added a missing 'are' in what to read next. Thanks mh983.
[9310] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9311 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-01 18:07:47 +00:00
Karen Tracey 9009cac6b9 [1.0.X] Updated svnmerge metadata to indicate all non-blocked trunk changes have been merged.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9309 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-01 17:18:17 +00:00
Karen Tracey 3c23dc977c [1.0.X] Block admin css refactor changesets from svnmerge consideration.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9308 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-01 17:02:17 +00:00
Jannis Leidel 662c34d8a7 [1.0.X] Updated German translation
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9307 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-01 13:14:30 +00:00
James Bennett b66e3a3d5e [1.0.X] Minor correction to setup.py
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-31 23:03:43 +00:00
James Bennett 237153045a Bump version number and set download_url for 1.0.1 beta
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9301 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-31 23:02:58 +00:00
Brian Rosner 7b80af625b [1.0.X] Fixed #8882 -- When a foreign key is among the unique_together fields in an inline formset properly handle it.
Backport of r9297 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-31 22:09:56 +00:00
Nicola Larosa 4931612727 [1.0.X] Italian translation updated
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9296 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-30 13:23:37 +00:00
Brian Rosner 38d9b0919b [0.5.X] Fixed #9462 -- Set the instance in an inline formset correctly so that None does not get passed through to the queryset. Thanks tobias and copelco for the ticket.
Backport of r9293 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9294 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-28 20:03:56 +00:00
Karen Tracey 84216ef05e [1.0.X] Fixed #8966 -- Changed is_safe for length_is filter to False, since its return value is a boolean, not a string.
Thanks Thomas Steinacher, carljm, and SmileyChris.

Backport of r9291 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9292 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-28 19:04:59 +00:00
Karen Tracey a8a07c2057 [1.0.X] Fixed #9039 take 2 -- Modified the new tests added in [9240] so they pass on Oracle.
Backport of [9288] from trunk, also updated svnmerge.py metadata.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9290 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-28 16:30:19 +00:00
Karen Tracey 98b1b0794c [1.0.X] blocked commit related to new feature from svnmerge.py consideration.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9289 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-28 16:25:42 +00:00
Justin Bronn 9db7d53b60 Fixed `MySQLGeoField` to create spatial indexes again.
Backport of r9286 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9287 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-28 00:47:49 +00:00
Justin Bronn e4ea2e12e1 Fixed #9448 -- `Layer` objects now carry a reference to their parent `DataSource`. Thanks, Matthew D. Hancher for the bug report.
Backport of r9284 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9285 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-26 22:30:56 +00:00
Justin Bronn 3517f8a5ac Fixed #9391 -- `AdminSite` and `ModelAdmin` now exposed in `django.contrib.gis.admin` for API consistency and convenience.
Backport of r9282 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9283 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-26 18:12:31 +00:00
James Bennett d2f6a84668 [1.0.X] Remove obsolete reference to "development version" in autoescaping docs.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9281 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-26 03:10:48 +00:00
Karen Tracey bffc238a2f [1.0.X] Fixed #7179 -- Changed breadcrumbs on the add page so that a link to the change view is not included when the user doesn't have permission for that view. Also added tests to ensure the link is not there when it shouldn't be, and there when it should be. Thanks for the report & patch alen__ribic.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9277 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 19:18:10 +00:00
Karen Tracey d323ef20d3 [1.0.X] Fixed #9411 -- Changed the test from r9081 to be more robust across different database backends.
Backport of [9254] from trunk (I neglected to mention in the ticket this affected 1.0.X branch).

Also updated svnmerge metadata; all eligible fixes have been backported and all others blocked.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9275 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 18:13:35 +00:00
Karen Tracey 71ae6cbfa4 [1.0.X] block [9248] (feature) and [9263] (updated translation) from svnmerge consideration.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9274 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 16:39:28 +00:00
Malcolm Tredinnick 74c799d21d [1.0.X] Fixed #9307 -- Added the ability to pickle the Query class used by the
Oracle backend.

This allows Querysets to be cached for Oracle and should provide a model for
adding pickling support to other (external) database backends that need a
custom Query class.

Thanks to Justin Bronn for some assistance with this patch.

Backport of r9272 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9273 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 09:40:12 +00:00
Malcolm Tredinnick 0a1aafa581 [1.0.X] Fixed #9434 -- Added a note to the mod_python docs regarding requiring
PythonInterpreter in different VirtualHost blocks that share the same server
name. Thanks to Graham Dumpleton for the clarification.

Backport of r9268 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9271 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 09:30:53 +00:00
Malcolm Tredinnick 13d810efe4 [1.0.X] Fixed #9432 -- Revived documentation of ~Q usage.
Backport of r9267 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9270 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 09:30:04 +00:00
Malcolm Tredinnick 8613e6c53e [1.0.X] Fixed #9430 -- Fixed documentation references to the HttpResponse
classes for returning HTTP status codes other than 200.

Backport of r9266 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9269 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 09:29:27 +00:00
Malcolm Tredinnick 122c1a9ac0 [1.0.X] Fixed #9339 -- Small update to the Simplified Chinese translation from lidaobing.
This is the same typo fix as r9264 on trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9265 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 07:46:59 +00:00
Malcolm Tredinnick 8158bd9380 [1.0.X] Fixed #9424 -- Typo fix.
Backport of r9258 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9262 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 07:21:04 +00:00
Malcolm Tredinnick 8cf2a05d35 [1.0.X] Fixed #9420 -- Fixed an exception type in the documentation of
Queryset.get().  Based on a suggestion from daveyjoe.

Backport of r9257 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9261 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 07:20:29 +00:00
Malcolm Tredinnick 568cb5d87c [1.0.X] Fixed #9390 -- Restored some documentation about select_related() that
was accidentally lost in the docs refactor.

Backport of r9256 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9260 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 07:19:45 +00:00
Malcolm Tredinnick 73ea785d6b [1.0.X] Fixed #9384 -- Fixed a couple of typos. Thanks, Thomas Güttler and romke.
Backport of r9255 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9259 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 07:19:07 +00:00
Malcolm Tredinnick 6c85612499 [1.0.X] Backed out r9250. I committed this to the branch by mistake; there's no
bug in functionality fixed by this. Refs #9383.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9253 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 06:15:54 +00:00
Malcolm Tredinnick b52e45193f [1.0.X] Fixed #9406 -- Ensure that each database column is only represented
once in the "ORDER BY" clause of an SQL statement.

Backport of r9251 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9252 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 06:11:37 +00:00
Malcolm Tredinnick 43f6136f0f [1.0.X] Fixed #9383 -- Don't open a network connection for sending email if
there's nothing to send. Saves a bit of time when, for example, processing
500-error emails with no ADMINs configured. Based on a patch from Jesse Young.

Backport of r9248 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9250 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 04:41:58 +00:00
Malcolm Tredinnick f762dcdf65 [1.0.X] Fixed #9410 -- I did not spell Portuguese correctly 18 months ago.
Fixed now. Thanks, kimus.

Backport of r9247 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9249 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 04:40:51 +00:00
Karen Tracey 74997f95de [1.0.X] Fixed #9252 -- Moved the try/except protecting against incorrect lookup params to where the error is now raised, and added a test for this case.
Backport of [9245] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9246 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-22 23:14:48 +00:00
Brian Rosner d7ebda8d08 [1.0.X] Display non_field_errors of inline forms in the admin. This was a presentation bug.
Backport of [9243] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9244 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-21 20:27:17 +00:00
Karen Tracey 118383c607 [1.0.X] Fixed #3096 -- Make admin list_filters respect limit_choices_to.
Backport of [9241] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9242 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-21 19:06:44 +00:00
Karen Tracey bd60c52c3c [1.0.X] Fixed #9039 -- Don't perform unique checks on NULL values, since NULL != NULL in SQL.
Backport of [9239] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9240 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-21 14:07:36 +00:00
Justin Bronn 663a284817 Fixed #9361 -- thanks to Guillaume for the bug report and patch.
Backport of r9237 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9238 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-21 04:45:55 +00:00
Ian Kelly 3c5688d4e0 [1.0.X] Fixed #9136: Do slicing in Oracle with rownum instead of
row_number() for a speed improvement. Thanks, Guillaume Taglang.

Backport of [9235] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9236 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-18 00:02:26 +00:00
Karen Tracey 36e90e5736 [1.0.X] Fixed #8110 -- Allow for AdminLogNode's render to be called more than once.
Backport of [9233] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9234 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-17 22:46:08 +00:00
Ian Kelly 4537f33487 [1.0.X] Fixed Oracle introspection mapping of DATE columns, and added an
entry for Oracle 10g native float columns.

Backport of r9231 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9232 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-13 19:41:48 +00:00
Karen Tracey 743019f8fd [1.0.X] Updated svnmerge.py metadata.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9229 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-11 14:21:36 +00:00
Malcolm Tredinnick 909371e5e5 [1.0.X] Fixed .distinct() not working with slicing in Oracle, due to the
row numbers necessarily being distinct.

Backport of r9221 from trunk (since Ian doesn't have commit privileges at the
moment).


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9228 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-11 00:26:11 +00:00
Jacob Kaplan-Moss 6cfbd52138 [1.0.X] Yet more file storage testing cleanup for the sake of buildbots; this should be the last of it, I hope.
Backport of r9226 from trunk.



git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9227 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-10 22:14:24 +00:00
Jacob Kaplan-Moss 4d692e6af1 [1.0.X] More be-nice-to-the-buildbot: be better about cleaning up files created by the cache/session tests.
Backport of r9924 from trunk.



git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9225 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-10 21:42:26 +00:00
Jacob Kaplan-Moss a47f32449a [1.0.X] Be nice to buildbots: switched `modeltests/files` to use a proper isolated directory for file storage
Backport of r9222 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9223 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-10 20:14:52 +00:00
Brian Rosner 194de934ff [1.0.X] Corrected a typo in the 1.0 porting guide.
Backport of [9219] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9220 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-09 23:38:09 +00:00
Malcolm Tredinnick 94c210427f [1.0.X] Fixed #9239 -- Somebody read my form validation docs from r9180 and
found a typo in them. I guess that was predictable. Thanks, Berry Groenendijk

Backport of r9217 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9218 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-09 09:33:35 +00:00
Malcolm Tredinnick f0ba276fd6 [1.0.X] Fixed #9325 -- Typo fix in the forms documentation.
Backport of r9215 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9216 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-09 09:21:22 +00:00
Malcolm Tredinnick 5e9a9053d8 [1.0.X]Fixed #9328 -- Added Scot Hacker to AUTHORS and moved a couple of other
names to their alphabetical locations.

Backport of r9213 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9214 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-09 09:01:30 +00:00
Karen Tracey 9810648bef [1.0.X] Fixed #9053 -- Allowed for sorting of callable and ModelAdmin methods specified in list_display (added in r8352). Previously attempting to sort on the former would raise an exception and the latter simply didn't sort. Also added tests for this function. Thanks rgl and jenan.
Backport of [9211], also updated svnmerge.py metatdata.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9212 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-08 14:57:34 +00:00
Karen Tracey aea426561a [1.0.X] Blocked new feature r9188 from consideration by svnmerge.py.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9210 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-08 14:15:39 +00:00
Malcolm Tredinnick ced447ee97 [1.0.X] Fixed #9319 -- Fixed a crash when using the same model field in multiple
unique_together constraints.

Backport of r9208 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9209 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-08 10:11:02 +00:00
Malcolm Tredinnick a9936d0b1c [1.0.X] A queryset that has had ordering removed (order_by()) can have ordering
added again later (order_by('foo')). Or, at least, it can now. Thanks to Ilya
Novoselov for diagnosing the problem here.

Backport of r9206 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9207 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-08 09:48:21 +00:00
Malcolm Tredinnick 4b687d01ba [1.0.X] Fixed #6748 -- When printing the repr() of querysets, don't load or
display more than 20 objects.

This means that accidentally executing HugeStoryArchive.objects.all() at the
interactive prompt (or in the debug template) won't try to load all 4,233,010
stories into memory and print them out. That would previously cause resource
starvation and other "interesting" crashes.

If you really, really want the previous behaviour (e.g. in a doctest that
prints more than 20 items), display "list(qs)" instead of just "qs".

Backport of r9202 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9205 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-08 08:44:17 +00:00
Malcolm Tredinnick 09d84c4d40 [1.0.X] Applying a limit to a queryset that already had an upper limit of 0
wasn't working properly.

Backport of r9201 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9204 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-08 08:43:31 +00:00
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
Jacob Kaplan-Moss fe19e9f4af Created 1.0.X release branch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9095 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-29 15:40:49 +00:00
553 changed files with 37689 additions and 11626 deletions

40
AUTHORS
View File

@ -14,6 +14,8 @@ The PRIMARY AUTHORS are (and/or have been):
* Robert Wittams
* Gary Wilson
* Brian Rosner
* Justin Bronn
* Karen Tracey
More information on the main contributors to Django can be found in
docs/internals/committers.txt.
@ -31,6 +33,7 @@ answer newbie questions, and generally made Django that much better:
Dagur Páll Ammendrup <dagurp@gmail.com>
Collin Anderson <cmawebsite@gmail.com>
Jeff Anderson <jefferya@programmerq.net>
Marian Andre <django@andre.sk>
Andreas
andy@jadedplanet.net
Fabrice Aneche <akh@nobugware.com>
@ -57,11 +60,13 @@ answer newbie questions, and generally made Django that much better:
James Bennett
Julian Bez
Arvis Bickovskis <viestards.lists@gmail.com>
Natalia Bidart
Paul Bissex <http://e-scribe.com/>
Simon Blanchard
David Blewett <david@dawninglight.net>
Matt Boersma <matt@sprout.org>
boobsd@gmail.com
Matías Bordese
Andrew Brehaut <http://brehaut.net/blog>
brut.alll@gmail.com
btoll@bestweb.net
@ -79,6 +84,7 @@ answer newbie questions, and generally made Django that much better:
Chris Chamberlin <dja@cdc.msbx.net>
Amit Chakradeo <http://amit.chakradeo.net/>
ChaosKCW
Kowito Charoenratchatabhan <kowito@felspar.com>
Sengtha Chay <sengtha@e-khmer.com>
ivan.chelubeev@gmail.com
Bryan Chow <bryan at verdjn dot com>
@ -90,6 +96,7 @@ answer newbie questions, and generally made Django that much better:
colin@owlfish.com
crankycoder@gmail.com
Paul Collier <paul@paul-collier.com>
Robert Coup
Pete Crosier <pete.crosier@gmail.com>
Matt Croydon <http://www.postneo.com/>
Leah Culver <leah@pownce.com>
@ -106,6 +113,7 @@ answer newbie questions, and generally made Django that much better:
Jason Davies (Esaj) <http://www.jasondavies.com/>
Richard Davies <richard.davies@elastichosts.com>
Alex Dedul
Matt Dennenbaum
deric@monowerks.com
Max Derkachev <mderk@yandex.ru>
Rajesh Dhawan <rajesh.dhawan@gmail.com>
@ -118,9 +126,11 @@ answer newbie questions, and generally made Django that much better:
Andrew Durdin <adurdin@gmail.com>
dusk@woofle.net
Andy Dustman <farcepest@gmail.com>
J. Clifford Dyer <jcd@unc.edu>
Clint Ecker
Nick Efford <nick@efford.org>
eibaan@gmail.com
Julia Elman
enlight
Enrico <rico.bl@gmail.com>
A. Murat Eren <meren@pardus.org.tr>
@ -129,6 +139,7 @@ answer newbie questions, and generally made Django that much better:
Dirk Eschler <dirk.eschler@gmx.net>
Marc Fargas <telenieko@telenieko.com>
Szilveszter Farkas <szilveszter.farkas@gmail.com>
Grigory Fateyev <greg@dial.com.ru>
favo@exoweb.net
fdr <drfarina@gmail.com>
Dmitri Fedortchenko <zeraien@gmail.com>
@ -149,6 +160,7 @@ answer newbie questions, and generally made Django that much better:
Marc Garcia <marc.garcia@accopensys.com>
Alex Gaynor <alex.gaynor@gmail.com>
Andy Gayton <andy-django@thecablelounge.com>
Idan Gazit
Baishampayan Ghose
Dimitris Glezos <dimitris@glezos.com>
glin@seznam.cz
@ -165,6 +177,7 @@ answer newbie questions, and generally made Django that much better:
Espen Grindhaug <http://grindhaug.org/>
Thomas Güttler <hv@tbz-pariv.de>
Horst Gutmann <zerok@zerokspot.com>
Scot Hacker <shacker@birdhouse.org>
dAniel hAhler
hambaloney
Brian Harring <ferringb@gmail.com>
@ -197,9 +210,7 @@ answer newbie questions, and generally made Django that much better:
Nis Jørgensen <nis@superlativ.dk>
Michael Josephson <http://www.sdjournal.com/>
jpellerin@gmail.com
Julia Elman
junzhang.jn@gmail.com
Grigory Fateyev <greg@dial.com.ru>
Antti Kaihola <http://akaihola.blogspot.com/>
Bahadır Kandemir <bahadir@pardus.org.tr>
Karderio <karderio@gmail.com>
@ -208,6 +219,7 @@ answer newbie questions, and generally made Django that much better:
Ben Dean Kawamura <ben.dean.kawamura@gmail.com>
Ian G. Kelly <ian.g.kelly@gmail.com>
Thomas Kerpe <thomas@kerpe.net>
Wiley Kestner <wiley.kestner@gmail.com>
Ossama M. Khayat <okhayat@yahoo.com>
Ben Khoo <khoobks@westnet.com.au>
Garth Kidd <http://www.deadlybloodyserious.com/>
@ -226,12 +238,15 @@ answer newbie questions, and generally made Django that much better:
konrad@gwu.edu
knox <christobzr@gmail.com>
David Krauth
Kevin Kubasik <kevin@kubasik.net>
kurtiss@meetro.com
Denis Kuzmichyov <kuzmichyov@gmail.com>
Panos Laganakos <panos.laganakos@gmail.com>
lakin.wecker@gmail.com
Nick Lane <nick.lane.au@gmail.com>
Stuart Langridge <http://www.kryogenix.org/>
Paul Lanier <planier@google.com>
David Larlet <http://david.larlet.fr>
Nicola Larosa <nico@teknico.net>
Finn Gruwier Larsen <finn@gruwier.dk>
Lau Bech Lauritzen
@ -243,6 +258,7 @@ answer newbie questions, and generally made Django that much better:
Christopher Lenz <http://www.cmlenz.net/>
lerouxb@gmail.com
Piotr Lewandowski <piotr.lewandowski@gmail.com>
Justin Lilly <justinlilly@gmail.com>
Waylan Limberg <waylan@gmail.com>
limodou
Philip Lindborg <philip.lindborg@gmail.com>
@ -294,6 +310,7 @@ answer newbie questions, and generally made Django that much better:
oggie rob <oz.robharvey@gmail.com>
oggy <ognjen.maric@gmail.com>
Jay Parlar <parlar@gmail.com>
Claude Paroz <claude@2xlibre.net>
Carlos Eduardo de Paula <carlosedp@gmail.com>
pavithran s <pavithran.s@gmail.com>
Barry Pederson <bp@barryp.org>
@ -318,6 +335,7 @@ answer newbie questions, and generally made Django that much better:
Jan Rademaker
Michael Radziej <mir@noris.de>
Laurent Rahuel <laurent.rahuel@gmail.com>
Stéphane Raimbault <stephane.raimbault@gmail.com>
Luciano Ramalho
Amit Ramon <amit.ramon@gmail.com>
Philippe Raoult <philippe.raoult@n2nsoft.com>
@ -329,9 +347,10 @@ answer newbie questions, and generally made Django that much better:
ricardojbarrios@gmail.com
Mike Richardson
Matt Riggott
Alex Robbins <alexander.j.robbins@gmail.com>
Henrique Romano <onaiort@gmail.com>
Armin Ronacher
Daniel Roseman <http://roseman.org.uk/>
Daniel Roseman <http://roseman.org.uk/>
Brian Rosner <brosner@gmail.com>
Rozza <ross.lawley@gmail.com>
Oliver Rutherfurd <http://rutherfurd.net/>
@ -339,7 +358,10 @@ answer newbie questions, and generally made Django that much better:
Manuel Saelices <msaelices@yaco.es>
Ivan Sagalaev (Maniac) <http://www.softwaremaniacs.org/>
Vinay Sajip <vinay_sajip@yahoo.co.uk>
Kadesarin Sanjek
Massimo Scamarcia <massimo.scamarcia@gmail.com>
David Schein
Bernd Schlapsi
scott@staplefish.com
Ilya Semenov <semenov@inetss.com>
serbaut@gmail.com
@ -352,7 +374,7 @@ answer newbie questions, and generally made Django that much better:
Ben Slavin <benjamin.slavin@gmail.com>
sloonz <simon.lipp@insa-lyon.fr>
SmileyChris <smileychris@gmail.com>
Warren Smith <warren@wandrsmith.net>
Warren Smith <warren@wandrsmith.net>
smurf@smurf.noris.de
Vsevolod Solovyov
sopel
@ -367,7 +389,7 @@ answer newbie questions, and generally made Django that much better:
Johan C. Stöver <johan@nilling.nl>
nowell strite
Thomas Stromberg <tstromberg@google.com>
Sundance
Pascal Varet
SuperJared
Radek Švarz <http://www.svarz.cz/translate/>
Swaroop C H <http://www.swaroopch.info>
@ -378,7 +400,9 @@ answer newbie questions, and generally made Django that much better:
Tyler Tarabula <tyler.tarabula@gmail.com>
Tyson Tate <tyson@fallingbullets.com>
Frank Tegtmeyer <fte@fte.to>
Marcel Telka <marcel@telka.sk>
Terry Huang <terryh.tp@gmail.com>
Travis Terry <tdterry7@gmail.com>
thebjorn <bp@datakortet.no>
Zach Thompson <zthompson47@gmail.com>
Michael Thornhill
@ -388,7 +412,6 @@ answer newbie questions, and generally made Django that much better:
Tom Tobin
Joe Topjian <http://joe.terrarum.net/geek/code/python/django/>
torne-django@wolfpuppy.org.uk
Karen Tracey <graybark@bellsouth.net>
Jeff Triplett <jeff.triplett@gmail.com>
tstromberg@google.com
Makoto Tsuyuki <mtsuyuki@gmail.com>
@ -396,12 +419,14 @@ answer newbie questions, and generally made Django that much better:
David Tulig <david.tulig@gmail.com>
Amit Upadhyay <http://www.amitu.com/blog/>
Geert Vanderkelen
Vasil Vangelovski
I.S. van Oostveen <v.oostveen@idca.nl>
viestards.lists@gmail.com
George Vilches <gav@thataddress.com>
Vlado <vlado@labath.org>
Milton Waddams
Chris Wagner <cw264701@ohio.edu>
Rick Wagner <rwagner@physics.ucsd.edu>
wam-djangobug@wamber.net
Wang Chun <wangchun@exoweb.net>
Filip Wasilewski <filip.wasilewski@gmail.com>
@ -410,6 +435,7 @@ answer newbie questions, and generally made Django that much better:
Chris Wesseling <Chris.Wesseling@cwi.nl>
James Wheare <django@sparemint.com>
Mike Wiacek <mjwiacek@google.com>
Frank Wierzbicki
charly.wilhelm@gmail.com
Rachel Willmer <http://www.willmer.com/kb/>
Gary Wilson <gary.wilson@gmail.com>
@ -420,6 +446,8 @@ answer newbie questions, and generally made Django that much better:
Jason Yan <tailofthesun@gmail.com>
ye7cakf02@sneakemail.com
ymasuda@ethercube.com
Mykola Zamkovoi <nickzam@gmail.com>
Gasper Zejn <zejn@kiberpipa.org>
Jarek Zgoda <jarek.zgoda@gmail.com>
Cheng Zhang

View File

@ -3,14 +3,27 @@ include AUTHORS
include INSTALL
include LICENSE
include MANIFEST.in
include django/utils/simplejson/LICENSE.txt
include django/contrib/gis/gdal/LICENSE
include django/contrib/gis/geos/LICENSE
recursive-include docs *
recursive-include scripts *
recursive-include examples *
recursive-include extras *
recursive-include tests *
recursive-include django/conf/locale *
recursive-include django/contrib/admin/templates *
recursive-include django/contrib/admin/media *
recursive-include django/contrib/admindocs/templates *
recursive-include django/contrib/auth/fixtures *
recursive-include django/contrib/auth/tests/templates *
recursive-include django/contrib/comments/templates *
recursive-include django/contrib/databrowse/templates *
recursive-include django/contrib/formtools/templates *
recursive-include django/contrib/gis/templates *
recursive-include django/contrib/gis/tests/data *
recursive-include django/contrib/gis/tests/geoapp/sql *
recursive-include django/contrib/gis/tests/layermap/cities *
recursive-include django/contrib/gis/tests/layermap/counties *
recursive-include django/contrib/gis/tests/layermap/interstates *
recursive-include django/contrib/sitemaps/templates *

View File

@ -1,9 +1,16 @@
VERSION = (1, 0, 'post-release-SVN')
VERSION = (1, 0, 5, 'alpha', 0)
def get_version():
"Returns the version as a human-format string."
v = '.'.join([str(i) for i in VERSION[:-1]])
if VERSION[-1]:
from django.utils.version import get_svn_revision
v = '%s-%s-%s' % (v, VERSION[-1], get_svn_revision())
return v
version = '%s.%s' % (VERSION[0], VERSION[1])
if VERSION[2]:
version = '%s.%s' % (version, VERSION[2])
if VERSION[3:] == ('alpha', 0):
version = '%s pre-alpha' % version
else:
if VERSION[3] != 'final':
version = '%s %s %s' % (version, VERSION[3], VERSION[4])
from django.utils.version import get_svn_revision
svn_rev = get_svn_revision()
if svn_rev != u'SVN-unknown':
version = "%s %s" % (version, svn_rev)
return version

0
django/bin/daily_cleanup.py Normal file → Executable file
View File

View File

@ -7,41 +7,21 @@ a list of all possible variables.
"""
import os
import re
import time # Needed for Windows
from django.conf import global_settings
from django.utils.functional import LazyObject
ENVIRONMENT_VARIABLE = "DJANGO_SETTINGS_MODULE"
class LazySettings(object):
class LazySettings(LazyObject):
"""
A lazy proxy for either global Django settings or a custom settings object.
The user can manually configure settings prior to using them. Otherwise,
Django uses the settings module pointed to by DJANGO_SETTINGS_MODULE.
"""
def __init__(self):
# _target must be either None or something that supports attribute
# access (getattr, hasattr, etc).
self._target = None
def __getattr__(self, name):
if self._target is None:
self._import_settings()
if name == '__members__':
# Used to implement dir(obj), for example.
return self._target.get_all_members()
return getattr(self._target, name)
def __setattr__(self, name, value):
if name == '_target':
# Assign directly to self.__dict__, because otherwise we'd call
# __setattr__(), which would be an infinite loop.
self.__dict__['_target'] = value
else:
if self._target is None:
self._import_settings()
setattr(self._target, name, value)
def _import_settings(self):
def _setup(self):
"""
Load the settings module pointed to by the environment variable. This
is used the first time we need any settings at all, if the user has not
@ -56,7 +36,7 @@ class LazySettings(object):
# problems with Python's interactive help.
raise ImportError("Settings cannot be imported, because environment variable %s is undefined." % ENVIRONMENT_VARIABLE)
self._target = Settings(settings_module)
self._wrapped = Settings(settings_module)
def configure(self, default_settings=global_settings, **options):
"""
@ -64,18 +44,18 @@ class LazySettings(object):
parameter sets where to retrieve any unspecified values from (its
argument must support attribute access (__getattr__)).
"""
if self._target != None:
if self._wrapped != None:
raise RuntimeError, 'Settings already configured.'
holder = UserSettingsHolder(default_settings)
for name, value in options.items():
setattr(holder, name, value)
self._target = holder
self._wrapped = holder
def configured(self):
"""
Returns True if the settings have already been configured.
"""
return bool(self._target)
return bool(self._wrapped)
configured = property(configured)
class Settings(object):
@ -112,8 +92,9 @@ class Settings(object):
appdir = os.path.dirname(__import__(app[:-2], {}, {}, ['']).__file__)
app_subdirs = os.listdir(appdir)
app_subdirs.sort()
name_pattern = re.compile(r'[a-zA-Z]\w*')
for d in app_subdirs:
if d.isalpha() and os.path.isdir(os.path.join(appdir, d)):
if name_pattern.match(d) and os.path.isdir(os.path.join(appdir, d)):
new_installed_apps.append('%s.%s' % (app[:-2], d))
else:
new_installed_apps.append(app)

View File

@ -52,7 +52,7 @@ LANGUAGES = (
('el', gettext_noop('Greek')),
('en', gettext_noop('English')),
('es', gettext_noop('Spanish')),
('et', gettext_noop('Estonian')),
('et', gettext_noop('Estonian')),
('es-ar', gettext_noop('Argentinean Spanish')),
('eu', gettext_noop('Basque')),
('fa', gettext_noop('Persian')),
@ -62,6 +62,7 @@ LANGUAGES = (
('gl', gettext_noop('Galician')),
('hu', gettext_noop('Hungarian')),
('he', gettext_noop('Hebrew')),
('hi', gettext_noop('Hindi')),
('hr', gettext_noop('Croatian')),
('is', gettext_noop('Icelandic')),
('it', gettext_noop('Italian')),
@ -76,7 +77,7 @@ LANGUAGES = (
('nl', gettext_noop('Dutch')),
('no', gettext_noop('Norwegian')),
('pl', gettext_noop('Polish')),
('pt', gettext_noop('Portugese')),
('pt', gettext_noop('Portuguese')),
('pt-br', gettext_noop('Brazilian Portuguese')),
('ro', gettext_noop('Romanian')),
('ru', gettext_noop('Russian')),
@ -86,6 +87,7 @@ LANGUAGES = (
('sv', gettext_noop('Swedish')),
('ta', gettext_noop('Tamil')),
('te', gettext_noop('Telugu')),
('th', gettext_noop('Thai')),
('tr', gettext_noop('Turkish')),
('uk', gettext_noop('Ukrainian')),
('zh-cn', gettext_noop('Simplified Chinese')),

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Django 1.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-09-09 20:19+0200\n"
"PO-Revision-Date: 2008-08-11 20:41+0200\n"
"POT-Creation-Date: 2008-11-16 20:27+0100\n"
"PO-Revision-Date: 2008-11-07 20:41+0200\n"
"Last-Translator: Finn Gruwier Larsen<finn@gruwier.dk>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@ -99,114 +99,122 @@ msgid "Hebrew"
msgstr "Hebræisk"
#: conf/global_settings.py:65
msgid "Hindi"
msgstr "Hindi"
#: conf/global_settings.py:66
msgid "Croatian"
msgstr "Kroatisk"
#: conf/global_settings.py:66
#: conf/global_settings.py:67
msgid "Icelandic"
msgstr "Islandsk"
#: conf/global_settings.py:67
#: conf/global_settings.py:68
msgid "Italian"
msgstr "Italiensk"
#: conf/global_settings.py:68
#: conf/global_settings.py:69
msgid "Japanese"
msgstr "Japansk"
#: conf/global_settings.py:69
#: conf/global_settings.py:70
msgid "Georgian"
msgstr "Georgisk"
#: conf/global_settings.py:70
#: conf/global_settings.py:71
msgid "Korean"
msgstr "Koreansk"
#: conf/global_settings.py:71
#: conf/global_settings.py:72
msgid "Khmer"
msgstr "Khmer"
#: conf/global_settings.py:72
#: conf/global_settings.py:73
msgid "Kannada"
msgstr "Kannada"
#: conf/global_settings.py:73
#: conf/global_settings.py:74
msgid "Latvian"
msgstr "Lettisk"
#: conf/global_settings.py:74
#: conf/global_settings.py:75
msgid "Lithuanian"
msgstr "Litauisk"
#: conf/global_settings.py:75
#: conf/global_settings.py:76
msgid "Macedonian"
msgstr "Makedonsk"
#: conf/global_settings.py:76
#: conf/global_settings.py:77
msgid "Dutch"
msgstr "Hollandsk"
#: conf/global_settings.py:77
#: conf/global_settings.py:78
msgid "Norwegian"
msgstr "Norsk"
#: conf/global_settings.py:78
#: conf/global_settings.py:79
msgid "Polish"
msgstr "Polsk"
#: conf/global_settings.py:79
msgid "Portugese"
#: conf/global_settings.py:80
msgid "Portuguese"
msgstr "Portugisisk"
#: conf/global_settings.py:80
#: conf/global_settings.py:81
msgid "Brazilian Portuguese"
msgstr "Brasiliansk portugisisk"
#: conf/global_settings.py:81
#: conf/global_settings.py:82
msgid "Romanian"
msgstr "Rumænsk"
#: conf/global_settings.py:82
#: conf/global_settings.py:83
msgid "Russian"
msgstr "Russisk"
#: conf/global_settings.py:83
#: conf/global_settings.py:84
msgid "Slovak"
msgstr "Slovakisk"
#: conf/global_settings.py:84
#: conf/global_settings.py:85
msgid "Slovenian"
msgstr "Slovensk"
#: conf/global_settings.py:85
#: conf/global_settings.py:86
msgid "Serbian"
msgstr "Serbisk"
#: conf/global_settings.py:86
#: conf/global_settings.py:87
msgid "Swedish"
msgstr "Svensk"
#: conf/global_settings.py:87
#: conf/global_settings.py:88
msgid "Tamil"
msgstr "Tamil"
#: conf/global_settings.py:88
#: conf/global_settings.py:89
msgid "Telugu"
msgstr "Telugu"
#: conf/global_settings.py:89
#: conf/global_settings.py:90
msgid "Thai"
msgstr "Thai"
#: conf/global_settings.py:91
msgid "Turkish"
msgstr "Tyrkisk"
#: conf/global_settings.py:90
#: conf/global_settings.py:92
msgid "Ukrainian"
msgstr "Ukrainsk"
#: conf/global_settings.py:91
#: conf/global_settings.py:93
msgid "Simplified Chinese"
msgstr "Forenklet kinesisk"
#: conf/global_settings.py:92
#: conf/global_settings.py:94
msgid "Traditional Chinese"
msgstr "Traditionelt kinesisk"
@ -219,40 +227,40 @@ msgstr ""
"<h3>Efter %s:</h3>\n"
"<ul>\n"
#: contrib/admin/filterspecs.py:74 contrib/admin/filterspecs.py:92
#: contrib/admin/filterspecs.py:147 contrib/admin/filterspecs.py:173
#: contrib/admin/filterspecs.py:74 contrib/admin/filterspecs.py:91
#: contrib/admin/filterspecs.py:146 contrib/admin/filterspecs.py:172
msgid "All"
msgstr "Alle"
#: contrib/admin/filterspecs.py:113
#: contrib/admin/filterspecs.py:112
msgid "Any date"
msgstr "Når som helst"
#: contrib/admin/filterspecs.py:114
#: contrib/admin/filterspecs.py:113
msgid "Today"
msgstr "I dag"
#: contrib/admin/filterspecs.py:117
#: contrib/admin/filterspecs.py:116
msgid "Past 7 days"
msgstr "De sidste 7 dage"
#: contrib/admin/filterspecs.py:119
#: contrib/admin/filterspecs.py:118
msgid "This month"
msgstr "Denne måned"
#: contrib/admin/filterspecs.py:121
#: contrib/admin/filterspecs.py:120
msgid "This year"
msgstr "Dette år"
#: contrib/admin/filterspecs.py:147 forms/widgets.py:391
#: contrib/admin/filterspecs.py:146 forms/widgets.py:390
msgid "Yes"
msgstr "Ja"
#: contrib/admin/filterspecs.py:147 forms/widgets.py:391
#: contrib/admin/filterspecs.py:146 forms/widgets.py:390
msgid "No"
msgstr "Nej"
#: contrib/admin/filterspecs.py:154 forms/widgets.py:391
#: contrib/admin/filterspecs.py:153 forms/widgets.py:390
msgid "Unknown"
msgstr "Ukendt"
@ -294,7 +302,7 @@ msgid "Changed %s."
msgstr "Ændrede %s."
#: contrib/admin/options.py:338 contrib/admin/options.py:348
#: forms/models.py:275
#: contrib/comments/templates/comments/preview.html:15 forms/models.py:288
msgid "and"
msgstr "og"
@ -348,25 +356,30 @@ msgstr "%(name)s \"%(obj)s\" blev tilføjet. Du kan redigere det igen herunder."
msgid "Add %s"
msgstr "Tilføj %s"
#: contrib/admin/options.py:605
#: contrib/admin/options.py:559 contrib/admin/options.py:673
#, python-format
msgid "%(name)s object with primary key %(key)r does not exist."
msgstr "Der findes ikke et %(name)s-objekt med primærnøgle %(key)r."
#: contrib/admin/options.py:606
#, python-format
msgid "Change %s"
msgstr "Ret %s"
#: contrib/admin/options.py:637
#: contrib/admin/options.py:638
msgid "Database error"
msgstr "databasefejl"
#: contrib/admin/options.py:687
#: contrib/admin/options.py:688
#, python-format
msgid "The %(name)s \"%(obj)s\" was deleted successfully."
msgstr "%(name)s \"%(obj)s\" blev slettet."
#: contrib/admin/options.py:694
#: contrib/admin/options.py:695
msgid "Are you sure?"
msgstr "Er du sikker?"
#: contrib/admin/options.py:723
#: contrib/admin/options.py:724
#, python-format
msgid "Change history: %s"
msgstr "Ændringshistorik: %s"
@ -382,8 +395,7 @@ msgstr ""
#: contrib/admin/sites.py:226 contrib/admin/views/decorators.py:40
msgid "Please log in again, because your session has expired."
msgstr ""
"Log venligst ind igen, da din session er udløbet."
msgstr "Log venligst ind igen, da din session er udløbet."
#: contrib/admin/sites.py:233 contrib/admin/views/decorators.py:47
msgid ""
@ -463,7 +475,7 @@ msgstr "Vi beklager, men den ønskede side kunne ikke findes"
#: contrib/admin/templates/admin/500.html:4
#: contrib/admin/templates/admin/app_index.html:8
#: contrib/admin/templates/admin/base.html:30
#: contrib/admin/templates/admin/base.html:33
#: contrib/admin/templates/admin/change_form.html:17
#: contrib/admin/templates/admin/change_list.html:8
#: contrib/admin/templates/admin/delete_confirmation.html:6
@ -507,18 +519,18 @@ msgstr ""
msgid "%(name)s"
msgstr "%(name)s"
#: contrib/admin/templates/admin/base.html:25
#: contrib/admin/templates/admin/base.html:28
msgid "Welcome,"
msgstr "Velkommen,"
#: contrib/admin/templates/admin/base.html:25
#: contrib/admin/templates/admin/base.html:28
#: contrib/admin/templates/registration/password_change_done.html:3
#: contrib/admin/templates/registration/password_change_form.html:3
#: contrib/admindocs/templates/admin_doc/bookmarklets.html:3
msgid "Documentation"
msgstr "Dokumentation"
#: contrib/admin/templates/admin/base.html:25
#: contrib/admin/templates/admin/base.html:28
#: contrib/admin/templates/admin/auth/user/change_password.html:13
#: contrib/admin/templates/admin/auth/user/change_password.html:46
#: contrib/admin/templates/registration/password_change_done.html:3
@ -526,7 +538,7 @@ msgstr "Dokumentation"
msgid "Change password"
msgstr "Skift adgangskode"
#: contrib/admin/templates/admin/base.html:25
#: contrib/admin/templates/admin/base.html:28
#: contrib/admin/templates/registration/password_change_done.html:3
#: contrib/admin/templates/registration/password_change_form.html:3
msgid "Log out"
@ -552,7 +564,7 @@ msgstr "Historik"
#: contrib/admin/templates/admin/change_form.html:28
#: contrib/admin/templates/admin/edit_inline/stacked.html:13
#: contrib/admin/templates/admin/edit_inline/tabular.html:25
#: contrib/admin/templates/admin/edit_inline/tabular.html:27
msgid "View on site"
msgstr "Se på website"
@ -638,8 +650,8 @@ msgid ""
"the appropriate user."
msgstr ""
"Der er noget galt med databaseinstallationen. Kontroller om "
"databasetabellerne er blevet oprettet og at databasen er læsbar for "
"den pågældende bruger."
"databasetabellerne er blevet oprettet og at databasen er læsbar for den "
"pågældende bruger."
#: contrib/admin/templates/admin/login.html:19
msgid "Username:"
@ -658,13 +670,14 @@ msgid "User"
msgstr "Bruger"
#: contrib/admin/templates/admin/object_history.html:24
#: contrib/comments/templates/comments/moderation_queue.html:33
msgid "Action"
msgstr "Funktion"
#: contrib/admin/templates/admin/object_history.html:30
#: utils/translation/trans_real.py:404
msgid "DATETIME_FORMAT"
msgstr "DATETIME_FORMAT"
msgstr "j. F Y H:i"
#: contrib/admin/templates/admin/object_history.html:38
msgid ""
@ -904,7 +917,7 @@ msgstr "E-mail-adresse:"
msgid "Reset my password"
msgstr "Nulstil min adgangskode"
#: contrib/admin/templatetags/admin_list.py:288
#: contrib/admin/templatetags/admin_list.py:284
msgid "All dates"
msgstr "Alle datoer"
@ -1049,7 +1062,8 @@ msgstr "Tekst"
msgid "Time"
msgstr "Tid"
#: contrib/admindocs/views.py:339 contrib/comments/forms.py:22
#: contrib/admindocs/views.py:339 contrib/comments/forms.py:21
#: contrib/comments/templates/comments/moderation_queue.html:37
#: contrib/flatpages/admin.py:8 contrib/flatpages/models.py:7
msgid "URL"
msgstr "URL"
@ -1168,7 +1182,7 @@ msgid "Change password: %s"
msgstr "Skift adgangskode: %s"
#: contrib/auth/forms.py:15 contrib/auth/forms.py:48
#: contrib/auth/models.py:136
#: contrib/auth/models.py:127
msgid ""
"Required. 30 characters or fewer. Alphanumeric characters only (letters, "
"digits and underscores)."
@ -1239,51 +1253,51 @@ msgid "Your old password was entered incorrectly. Please enter it again."
msgstr ""
"Din gamle adgangskode blev ikke indtastet korrekt. Indtast den venligst igen."
#: contrib/auth/models.py:72 contrib/auth/models.py:95
#: contrib/auth/models.py:63 contrib/auth/models.py:86
msgid "name"
msgstr "navn"
#: contrib/auth/models.py:74
#: contrib/auth/models.py:65
msgid "codename"
msgstr "kodenavn"
#: contrib/auth/models.py:77
#: contrib/auth/models.py:68
msgid "permission"
msgstr "rettighed"
#: contrib/auth/models.py:78 contrib/auth/models.py:96
#: contrib/auth/models.py:69 contrib/auth/models.py:87
msgid "permissions"
msgstr "rettigheder"
#: contrib/auth/models.py:99
#: contrib/auth/models.py:90
msgid "group"
msgstr "gruppe"
#: contrib/auth/models.py:100 contrib/auth/models.py:146
#: contrib/auth/models.py:91 contrib/auth/models.py:137
msgid "groups"
msgstr "grupper"
#: contrib/auth/models.py:136
#: contrib/auth/models.py:127
msgid "username"
msgstr "brugernavn"
#: contrib/auth/models.py:137
#: contrib/auth/models.py:128
msgid "first name"
msgstr "fornavn"
#: contrib/auth/models.py:138
#: contrib/auth/models.py:129
msgid "last name"
msgstr "efternavn"
#: contrib/auth/models.py:139
#: contrib/auth/models.py:130
msgid "e-mail address"
msgstr "e-mail-adresse"
#: contrib/auth/models.py:140
#: contrib/auth/models.py:131
msgid "password"
msgstr "adgangskode"
#: contrib/auth/models.py:140
#: contrib/auth/models.py:131
msgid ""
"Use '[algo]$[salt]$[hexdigest]' or use the <a href=\"password/\">change "
"password form</a>."
@ -1291,19 +1305,19 @@ msgstr ""
"Brug '[algo]$[salt]$[hexdigest]' eller brug <a href=\"password/\">formularen "
"til skift af adgangskode</a>."
#: contrib/auth/models.py:141
#: contrib/auth/models.py:132
msgid "staff status"
msgstr "admin-status"
#: contrib/auth/models.py:141
#: contrib/auth/models.py:132
msgid "Designates whether the user can log into this admin site."
msgstr "Bestemmer om brugeren kan logge ind på dette administrationswebsite."
#: contrib/auth/models.py:142
#: contrib/auth/models.py:133
msgid "active"
msgstr "aktiv"
#: contrib/auth/models.py:142
#: contrib/auth/models.py:133
msgid ""
"Designates whether this user should be treated as active. Unselect this "
"instead of deleting accounts."
@ -1311,26 +1325,26 @@ msgstr ""
"Bestemmer om brugeren skal behandles som aktiv. Fravælg dette frem for at "
"slette en konto."
#: contrib/auth/models.py:143
#: contrib/auth/models.py:134
msgid "superuser status"
msgstr "superbrugerstatus"
#: contrib/auth/models.py:143
#: contrib/auth/models.py:134
msgid ""
"Designates that this user has all permissions without explicitly assigning "
"them."
msgstr ""
"Bestemmer at denne bruger har alle rettigheder uden at tildele dem eksplicit."
#: contrib/auth/models.py:144
#: contrib/auth/models.py:135
msgid "last login"
msgstr "sidst logget ind"
#: contrib/auth/models.py:145
#: contrib/auth/models.py:136
msgid "date joined"
msgstr "dato for registrering"
#: contrib/auth/models.py:147
#: contrib/auth/models.py:138
msgid ""
"In addition to the permissions manually assigned, this user will also get "
"all permissions granted to each group he/she is in."
@ -1338,19 +1352,19 @@ msgstr ""
"Udover de rettigheder, der manuelt er tildelt brugeren, vil denne også få "
"alle rettigheder, der er tildelt hver gruppe, brugeren er medlem af."
#: contrib/auth/models.py:148
#: contrib/auth/models.py:139
msgid "user permissions"
msgstr "Rettigheder"
#: contrib/auth/models.py:152
#: contrib/auth/models.py:143
msgid "user"
msgstr "bruger"
#: contrib/auth/models.py:153
#: contrib/auth/models.py:144
msgid "users"
msgstr "brugere"
#: contrib/auth/models.py:308
#: contrib/auth/models.py:300
msgid "message"
msgstr "meddelelse"
@ -1370,25 +1384,28 @@ msgstr "Indhold"
msgid "Metadata"
msgstr "Metadata"
#: contrib/comments/forms.py:20
#: contrib/comments/forms.py:19
#: contrib/comments/templates/comments/moderation_queue.html:34
msgid "Name"
msgstr "Navn"
#: contrib/comments/forms.py:21
#: contrib/comments/forms.py:20
msgid "Email address"
msgstr "E-mail-adresse"
#: contrib/comments/forms.py:23
#: contrib/comments/forms.py:22
#: contrib/comments/templates/comments/moderation_queue.html:35
msgid "Comment"
msgstr "Kommentar"
#: contrib/comments/forms.py:26
#: contrib/comments/forms.py:25
msgid ""
"If you enter anything in this field your comment will be treated as spam"
msgstr "Hvis du indtaster noget i dette felt, vil din kommentar blive "
"betragtet som spam."
msgstr ""
"Hvis du indtaster noget i dette felt, vil din kommentar blive betragtet som "
"spam."
#: contrib/comments/forms.py:126
#: contrib/comments/forms.py:125
#, python-format
msgid "Watch your mouth! The word %s is not allowed here."
msgid_plural "Watch your mouth! The words %s are not allowed here."
@ -1454,8 +1471,8 @@ msgid ""
"This comment was posted by an authenticated user and thus the email is read-"
"only."
msgstr ""
"Denne kommentar blev indsendt af en autenticeret bruger; derfor er "
"e-mail-adressen skrivebeskyttet."
"Denne kommentar blev indsendt af en autenticeret bruger; derfor er e-mail-"
"adressen skrivebeskyttet."
#: contrib/comments/models.py:149
#, python-format
@ -1472,6 +1489,135 @@ msgstr ""
"\n"
"http://%(domain)s%(url)s"
#: contrib/comments/templates/comments/approve.html:4
msgid "Approve a comment"
msgstr "Godkend en kommentar"
#: contrib/comments/templates/comments/approve.html:7
msgid "Really make this comment public?"
msgstr "Vil du godkende denne kommentar?"
#: contrib/comments/templates/comments/approve.html:12
#: contrib/comments/templates/comments/moderation_queue.html:49
msgid "Approve"
msgstr "Godkend"
#: contrib/comments/templates/comments/approved.html:4
msgid "Thanks for approving"
msgstr "Tak for godkendelsen"
#: contrib/comments/templates/comments/approved.html:7
#: contrib/comments/templates/comments/deleted.html:7
#: contrib/comments/templates/comments/flagged.html:7
msgid ""
"Thanks for taking the time to improve the quality of discussion on our site"
msgstr ""
"Tak fordi du tog dig tid til at højne kvaliteten af diskussionen på vores "
"website"
#: contrib/comments/templates/comments/delete.html:4
msgid "Remove a comment"
msgstr "Fjern en kommentar"
#: contrib/comments/templates/comments/delete.html:7
msgid "Really remove this comment?"
msgstr "Skal kommentaren fjernes?"
#: contrib/comments/templates/comments/delete.html:12
#: contrib/comments/templates/comments/moderation_queue.html:53
msgid "Remove"
msgstr "Fjern"
#: contrib/comments/templates/comments/deleted.html:4
msgid "Thanks for removing"
msgstr "Tak for fjernelsen"
#: contrib/comments/templates/comments/flag.html:4
msgid "Flag this comment"
msgstr "Flag denne kommentar"
#: contrib/comments/templates/comments/flag.html:7
msgid "Really flag this comment?"
msgstr "Skal kommentaren flages?"
#: contrib/comments/templates/comments/flag.html:12
msgid "Flag"
msgstr "Flag"
#: contrib/comments/templates/comments/flagged.html:4
msgid "Thanks for flagging"
msgstr "Tak for flagningen"
#: contrib/comments/templates/comments/form.html:16
#: contrib/comments/templates/comments/preview.html:31
msgid "Post"
msgstr "Indsend"
#: contrib/comments/templates/comments/form.html:17
#: contrib/comments/templates/comments/preview.html:32
msgid "Preview"
msgstr "Forhåndsvis"
#: contrib/comments/templates/comments/moderation_queue.html:4
#: contrib/comments/templates/comments/moderation_queue.html:19
msgid "Comment moderation queue"
msgstr "Moderationskø"
#: contrib/comments/templates/comments/moderation_queue.html:26
msgid "No comments to moderate"
msgstr "Ingen kommentarer at moderere"
#: contrib/comments/templates/comments/moderation_queue.html:36
msgid "Email"
msgstr "E-mail"
#: contrib/comments/templates/comments/moderation_queue.html:38
msgid "Authenticated?"
msgstr "Autenticeret?"
#: contrib/comments/templates/comments/moderation_queue.html:39
msgid "IP Address"
msgstr "IP-adresse"
#: contrib/comments/templates/comments/moderation_queue.html:40
msgid "Date posted"
msgstr "Indsendt d."
#: contrib/comments/templates/comments/moderation_queue.html:63
msgid "yes"
msgstr "ja"
#: contrib/comments/templates/comments/moderation_queue.html:63
msgid "no"
msgstr "nej"
#: contrib/comments/templates/comments/posted.html:4
msgid "Thanks for commenting"
msgstr "Tak for kommenteringen"
#: contrib/comments/templates/comments/posted.html:7
msgid "Thank you for your comment"
msgstr "Tak for kommentaren"
#: contrib/comments/templates/comments/preview.html:4
#: contrib/comments/templates/comments/preview.html:12
msgid "Preview your comment"
msgstr "Forhåndsvis kommentar"
#: contrib/comments/templates/comments/preview.html:10
msgid "Please correct the error below"
msgid_plural "Please correct the errors below"
msgstr[0] "Ret venligst fejlen herunder."
msgstr[1] "Ret venligst fejlene herunder."
#: contrib/comments/templates/comments/preview.html:15
msgid "Post your comment"
msgstr "Indsend din kommentar"
#: contrib/comments/templates/comments/preview.html:15
msgid "or make changes"
msgstr "eller gennemfør ændringer"
#: contrib/contenttypes/models.py:67
msgid "python model class name"
msgstr "klassenavn i Python-model"
@ -1549,8 +1695,9 @@ msgstr "flade sider"
msgid ""
"We apologize, but your form has expired. Please continue filling out the "
"form from this page."
msgstr "Tiden er udløbet - vi beklager. Vær venlig at fortsætte med at "
"udfylde formularen på denne side."
msgstr ""
"Tiden er udløbet - vi beklager. Vær venlig at fortsætte med at udfylde "
"formularen på denne side."
#: contrib/gis/forms/fields.py:14
msgid "No geometry value provided."
@ -1866,8 +2013,9 @@ msgstr "Zurich"
msgid ""
"Enter a valid Swiss identity or passport card number in X1234567<0 or "
"1234567890 format."
msgstr "Indtast et svejtsisk identitets- eller pasnr. i format "
"X1234567<0 eller 1234567890."
msgstr ""
"Indtast et svejtsisk identitets- eller pasnr. i format X1234567<0 eller "
"1234567890."
#: contrib/localflavor/cl/forms.py:29
msgid "Enter a valid Chilean RUT."
@ -1954,8 +2102,8 @@ msgstr ""
msgid ""
"Enter a valid German identity card number in XXXXXXXXXXX-XXXXXXX-XXXXXXX-X "
"format."
msgstr "Indtast et tysk identiteskortsnr. i formatet "
"XXXXXXXXXXX-XXXXXXX-XXXXXXX-X."
msgstr ""
"Indtast et tysk identiteskortsnr. i formatet XXXXXXXXXXX-XXXXXXX-XXXXXXX-X."
#: contrib/localflavor/es/es_provinces.py:5
msgid "Arava"
@ -2232,8 +2380,9 @@ msgstr "Indtast et gyldigt postnr. i området 01XXX - 52XXX."
msgid ""
"Enter a valid phone number in one of the formats 6XXXXXXXX, 8XXXXXXXX or "
"9XXXXXXXX."
msgstr "Indtast et gyldigt telefonr. i et af disse formater: "
"6XXXXXXXX, 8XXXXXXXX, 9XXXXXXXX."
msgstr ""
"Indtast et gyldigt telefonr. i et af disse formater: 6XXXXXXXX, 8XXXXXXXX, "
"9XXXXXXXX."
#: contrib/localflavor/es/forms.py:66
msgid "Please enter a valid NIF, NIE, or CIF."
@ -2258,8 +2407,8 @@ msgstr "Ugyldig kontrolsum for CIF."
#: contrib/localflavor/es/forms.py:142
msgid ""
"Please enter a valid bank account number in format XXXX-XXXX-XX-XXXXXXXXXX."
msgstr "Indtast venligst et gyldigt bankkontonr. i formatet "
"XXX-XXXX-XX-XXXXXXXXXX."
msgstr ""
"Indtast venligst et gyldigt bankkontonr. i formatet XXX-XXXX-XX-XXXXXXXXXX."
#: contrib/localflavor/es/forms.py:143
msgid "Invalid checksum for bank account number."
@ -2276,8 +2425,8 @@ msgstr "Indtast et postnr. i formatet XXXXXXX."
#: contrib/localflavor/is_/forms.py:17
msgid ""
"Enter a valid Icelandic identification number. The format is XXXXXX-XXXX."
msgstr "Indtast et gyldigt islandsk identifikationsnr. Formatet er "
"XXXXXX-XXXX."
msgstr ""
"Indtast et gyldigt islandsk identifikationsnr. Formatet er XXXXXX-XXXX."
#: contrib/localflavor/is_/forms.py:18
msgid "The Icelandic identification number is not valid."
@ -3661,11 +3810,11 @@ msgstr "Der må højst være %s decimalpladser."
msgid "Ensure that there are no more than %s digits before the decimal point."
msgstr "Der må maksimalt være %s cifre før decimaltegnet."
#: forms/fields.py:287 forms/fields.py:848
#: forms/fields.py:287 forms/fields.py:849
msgid "Enter a valid date."
msgstr "Indtast en gyldig dato."
#: forms/fields.py:321 forms/fields.py:849
#: forms/fields.py:321 forms/fields.py:850
msgid "Enter a valid time."
msgstr "Indtast en gyldig tid."
@ -3708,15 +3857,15 @@ msgstr ""
"Marker en gyldigt valgmulighed; '%(value)s' er ikke en af de tilgængelige "
"valgmuligheder."
#: forms/fields.py:697 forms/fields.py:758 forms/models.py:660
#: forms/fields.py:697 forms/fields.py:758 forms/models.py:714
msgid "Enter a list of values."
msgstr "Indtast en liste af værdier."
#: forms/fields.py:877
#: forms/fields.py:878
msgid "Enter a valid IPv4 address."
msgstr "Indtast en gyldig IPv4-adresse."
#: forms/fields.py:887
#: forms/fields.py:888
msgid ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr ""
@ -3726,45 +3875,49 @@ msgstr ""
msgid "Order"
msgstr "Rækkefølge"
#: forms/models.py:268 forms/models.py:277
#: forms/models.py:281 forms/models.py:290
#, python-format
msgid "%(model_name)s with this %(field_label)s already exists."
msgstr "%(model_name)s med dette %(field_label)s eksisterer allerede."
#: forms/models.py:590
#: forms/models.py:581
msgid "The inline foreign key did not match the parent instance primary key."
msgstr "Den indlejrede fremmednøgle passede ikke med forælderinstansens primærnøgle."
#: forms/models.py:644
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr ""
"Marker en gyldig valgmulighed. Det valg, du har foretaget, er ikke blandt de "
"tilgængelige valgmuligheder."
#: forms/models.py:661
#: forms/models.py:715
#, python-format
msgid "Select a valid choice. %s is not one of the available choices."
msgstr ""
"Marker et gyldigt valg. %s er ikke en af de tilgængelige valgmuligheder."
#: template/defaultfilters.py:706
#: template/defaultfilters.py:743
msgid "yes,no,maybe"
msgstr "ja,nej,måske"
#: template/defaultfilters.py:737
#: template/defaultfilters.py:774
#, python-format
msgid "%(size)d byte"
msgid_plural "%(size)d bytes"
msgstr[0] "%(size)d byte"
msgstr[1] "%(size)d bytes"
#: template/defaultfilters.py:739
#: template/defaultfilters.py:776
#, python-format
msgid "%.1f KB"
msgstr "%.1f KB"
#: template/defaultfilters.py:741
#: template/defaultfilters.py:778
#, python-format
msgid "%.1f MB"
msgstr "%.1f MB"
#: template/defaultfilters.py:742
#: template/defaultfilters.py:779
#, python-format
msgid "%.1f GB"
msgstr "%.1f GB"
@ -3851,51 +4004,51 @@ msgstr "Søn"
#: utils/dates.py:18
msgid "January"
msgstr "Januar"
msgstr "januar"
#: utils/dates.py:18
msgid "February"
msgstr "Februar"
msgstr "februar"
#: utils/dates.py:18 utils/dates.py:31
msgid "March"
msgstr "Marts"
msgstr "marts"
#: utils/dates.py:18 utils/dates.py:31
msgid "April"
msgstr "April"
msgstr "april"
#: utils/dates.py:18 utils/dates.py:31
msgid "May"
msgstr "Maj"
msgstr "maj"
#: utils/dates.py:18 utils/dates.py:31
msgid "June"
msgstr "Juni"
msgstr "juni"
#: utils/dates.py:19 utils/dates.py:31
msgid "July"
msgstr "Juli"
msgstr "juli"
#: utils/dates.py:19
msgid "August"
msgstr "August"
msgstr "august"
#: utils/dates.py:19
msgid "September"
msgstr "September"
msgstr "september"
#: utils/dates.py:19
msgid "October"
msgstr "Oktober"
msgstr "oktober"
#: utils/dates.py:19
msgid "November"
msgstr "November"
msgstr "november"
#: utils/dates.py:20
msgid "December"
msgstr "December"
msgstr "december"
#: utils/dates.py:23
msgid "jan"
@ -4029,19 +4182,19 @@ msgstr ", %(number)d %(type)s"
#: utils/translation/trans_real.py:403
msgid "DATE_FORMAT"
msgstr "DATE_FORMAT"
msgstr "j. F Y"
#: utils/translation/trans_real.py:405
msgid "TIME_FORMAT"
msgstr "TIME_FORMAT"
msgstr "H:i"
#: utils/translation/trans_real.py:421
msgid "YEAR_MONTH_FORMAT"
msgstr "YEAR_MONTH_FORMAT"
msgstr "F Y"
#: utils/translation/trans_real.py:422
msgid "MONTH_DAY_FORMAT"
msgstr "MONTH_DAY_FORMAT"
msgstr "j. F"
#: views/generic/create_update.py:114
#, python-format
@ -4103,9 +4256,6 @@ msgstr "%(verbose_name)s blev slettet."
#~ msgid "approved by staff"
#~ msgstr "godkendt af personale"
#~ msgid "free comment"
#~ msgstr "fri kommentar"
#~ msgid "free comments"
#~ msgstr "frie kommentarer"
@ -4172,9 +4322,6 @@ msgstr "%(verbose_name)s blev slettet."
#~ msgid "Post a photo"
#~ msgstr "Indsend et foto"
#~ msgid "Preview comment"
#~ msgstr "Forhåndsvis kommentar"
#~ msgid "Your name:"
#~ msgstr "Dit navn:"
@ -4345,8 +4492,9 @@ msgstr "%(verbose_name)s blev slettet."
#~ "Please enter a valid decimal number with at most %s decimal place. Please "
#~ "enter a valid decimal number with at most %s decimal places."
#~ msgstr ""
#~ "Indtast venligst et gyldigt decimaltal med %s cifre efter kommaet. Indtast "
#~ "venligst et gyldigt decimaltal med maksimalt %s cifre efter kommaet."
#~ "Indtast venligst et gyldigt decimaltal med %s cifre efter kommaet. "
#~ "Indtast venligst et gyldigt decimaltal med maksimalt %s cifre efter "
#~ "kommaet."
#~ msgid "Please enter a valid floating point number."
#~ msgstr "Indtast venligst et gyldigt flydende-komma-tal."

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,15 +1,15 @@
# French translation for js.
# Copyright (C) 2005 Mikaël Barbero
# This file is distributed under the same license as the PACKAGE package.
#
# French translation for Django Javascript.
# Copyright (C) 2005 Mikaël Barbero
# This file is distributed under the same license as the Django package.
#
msgid ""
msgstr ""
"Project-Id-Version: Django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-09-02 01:08+0200\n"
"PO-Revision-Date: 2005-12-24 16:39+0100\n"
"Last-Translator: David Larlet <http://david.larlet.fr>\n"
"Language-Team: français <http://django-fr.org>\n"
"POT-Creation-Date: 2008-11-04 11:14+0100\n"
"PO-Revision-Date: 2009-03-01 12:43+0100\n"
"Last-Translator: Stéphane Raimbault <stephane.raimbault@gmail.com>\n"
"Language-Team: French <http://django-fr.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
@ -64,7 +64,7 @@ msgstr "Dimanche Lundi Mardi Mercredi Jeudi Vendredi Samedi"
#: contrib/admin/media/js/admin/CollapsedFieldsets.js:34
#: contrib/admin/media/js/admin/CollapsedFieldsets.js:72
msgid "Show"
msgstr "Montrer"
msgstr "Afficher"
#: contrib/admin/media/js/admin/CollapsedFieldsets.js:63
msgid "Hide"

View File

@ -5,8 +5,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-09-02 22:48-0400\n"
"PO-Revision-Date: 2008-09-02 23:02-0500\n"
"POT-Creation-Date: 2008-11-14 02:20-0500\n"
"PO-Revision-Date: 2008-11-14 02:21-0500\n"
"Last-Translator: Alex <alex.gaynor@gmail.com>\n"
"Language-Team: Django-i18n <django-i18n@googlegroups.com>\n"
"MIME-Version: 1.0\n"
@ -100,114 +100,122 @@ msgid "Hebrew"
msgstr "עברית"
#: conf/global_settings.py:65
msgid "Hindi"
msgstr "הינדי"
#: conf/global_settings.py:66
msgid "Croatian"
msgstr "קרואטית"
#: conf/global_settings.py:66
#: conf/global_settings.py:67
msgid "Icelandic"
msgstr "איסלנדית"
#: conf/global_settings.py:67
#: conf/global_settings.py:68
msgid "Italian"
msgstr "איטלקית"
#: conf/global_settings.py:68
#: conf/global_settings.py:69
msgid "Japanese"
msgstr "יפנית"
#: conf/global_settings.py:69
#: conf/global_settings.py:70
msgid "Georgian"
msgstr "גיאורגית"
#: conf/global_settings.py:70
#: conf/global_settings.py:71
msgid "Korean"
msgstr "קוריאנית"
#: conf/global_settings.py:71
#: conf/global_settings.py:72
msgid "Khmer"
msgstr "חמר"
#: conf/global_settings.py:72
#: conf/global_settings.py:73
msgid "Kannada"
msgstr "קנדית"
#: conf/global_settings.py:73
#: conf/global_settings.py:74
msgid "Latvian"
msgstr "לטבית"
#: conf/global_settings.py:74
#: conf/global_settings.py:75
msgid "Lithuanian"
msgstr "ליטאית"
#: conf/global_settings.py:75
#: conf/global_settings.py:76
msgid "Macedonian"
msgstr "מקדונית"
#: conf/global_settings.py:76
#: conf/global_settings.py:77
msgid "Dutch"
msgstr "הולנדית"
#: conf/global_settings.py:77
#: conf/global_settings.py:78
msgid "Norwegian"
msgstr "נורווגית"
#: conf/global_settings.py:78
#: conf/global_settings.py:79
msgid "Polish"
msgstr "פולנית"
#: conf/global_settings.py:79
msgid "Portugese"
#: conf/global_settings.py:80
msgid "Portuguese"
msgstr "פורטוגזית"
#: conf/global_settings.py:80
#: conf/global_settings.py:81
msgid "Brazilian Portuguese"
msgstr "פורטוגזית ברזילאית"
#: conf/global_settings.py:81
#: conf/global_settings.py:82
msgid "Romanian"
msgstr "רומנית"
#: conf/global_settings.py:82
#: conf/global_settings.py:83
msgid "Russian"
msgstr "רוסית"
#: conf/global_settings.py:83
#: conf/global_settings.py:84
msgid "Slovak"
msgstr "סלובקית"
#: conf/global_settings.py:84
#: conf/global_settings.py:85
msgid "Slovenian"
msgstr "סלובנית"
#: conf/global_settings.py:85
#: conf/global_settings.py:86
msgid "Serbian"
msgstr "סרבית"
#: conf/global_settings.py:86
#: conf/global_settings.py:87
msgid "Swedish"
msgstr "שוודית"
#: conf/global_settings.py:87
#: conf/global_settings.py:88
msgid "Tamil"
msgstr "טמילית"
#: conf/global_settings.py:88
#: conf/global_settings.py:89
msgid "Telugu"
msgstr "טלגו"
#: conf/global_settings.py:89
#: conf/global_settings.py:90
msgid "Thai"
msgstr "תאילנדית"
#: conf/global_settings.py:91
msgid "Turkish"
msgstr "טורקית"
#: conf/global_settings.py:90
#: conf/global_settings.py:92
msgid "Ukrainian"
msgstr "אוקראינית"
#: conf/global_settings.py:91
#: conf/global_settings.py:93
msgid "Simplified Chinese"
msgstr "סינית פשוטה"
#: conf/global_settings.py:92
#: conf/global_settings.py:94
msgid "Traditional Chinese"
msgstr "סינית מסורתית"
@ -221,44 +229,44 @@ msgstr ""
"<ul>\n"
#: contrib/admin/filterspecs.py:74
#: contrib/admin/filterspecs.py:92
#: contrib/admin/filterspecs.py:147
#: contrib/admin/filterspecs.py:173
#: contrib/admin/filterspecs.py:91
#: contrib/admin/filterspecs.py:146
#: contrib/admin/filterspecs.py:172
msgid "All"
msgstr "הכל"
#: contrib/admin/filterspecs.py:113
#: contrib/admin/filterspecs.py:112
msgid "Any date"
msgstr "כל תאריך"
#: contrib/admin/filterspecs.py:114
#: contrib/admin/filterspecs.py:113
msgid "Today"
msgstr "היום"
#: contrib/admin/filterspecs.py:117
#: contrib/admin/filterspecs.py:116
msgid "Past 7 days"
msgstr "בשבוע האחרון"
#: contrib/admin/filterspecs.py:119
#: contrib/admin/filterspecs.py:118
msgid "This month"
msgstr "החודש"
#: contrib/admin/filterspecs.py:121
#: contrib/admin/filterspecs.py:120
msgid "This year"
msgstr "השנה"
#: contrib/admin/filterspecs.py:147
#: forms/widgets.py:391
#: contrib/admin/filterspecs.py:146
#: forms/widgets.py:390
msgid "Yes"
msgstr "כן"
#: contrib/admin/filterspecs.py:147
#: forms/widgets.py:391
#: contrib/admin/filterspecs.py:146
#: forms/widgets.py:390
msgid "No"
msgstr "לא"
#: contrib/admin/filterspecs.py:154
#: forms/widgets.py:391
#: contrib/admin/filterspecs.py:153
#: forms/widgets.py:390
msgid "Unknown"
msgstr "לא ידוע"
@ -302,7 +310,8 @@ msgstr "%s שונה."
#: contrib/admin/options.py:338
#: contrib/admin/options.py:348
#: forms/models.py:275
#: contrib/comments/templates/comments/preview.html:15
#: forms/models.py:288
msgid "and"
msgstr "ו"
@ -353,30 +362,36 @@ msgstr "שינוי %(name)s \"%(obj)s\" בוצע בהצלחה."
msgid "The %(name)s \"%(obj)s\" was added successfully. You may edit it again below."
msgstr "הוספת %(name)s \"%(obj)s\" בוצעה בהצלחה. ניתן לערוך אותו שוב מתחת."
#: contrib/admin/options.py:536
#: contrib/admin/options.py:528
#, python-format
msgid "Add %s"
msgstr "הוספת %s"
#: contrib/admin/options.py:614
#: contrib/admin/options.py:559
#: contrib/admin/options.py:673
#, python-format
msgid "%(name)s object with primary key %(key)r does not exist."
msgstr ""
#: contrib/admin/options.py:606
#, python-format
msgid "Change %s"
msgstr "שינוי %s"
#: contrib/admin/options.py:646
#: contrib/admin/options.py:638
msgid "Database error"
msgstr "שגיאת בסיס נתונים"
#: contrib/admin/options.py:696
#: contrib/admin/options.py:688
#, python-format
msgid "The %(name)s \"%(obj)s\" was deleted successfully."
msgstr "מחיקת %(name)s \"%(obj)s\" בוצעה בהצלחה."
#: contrib/admin/options.py:703
#: contrib/admin/options.py:695
msgid "Are you sure?"
msgstr "האם את/ה בטוח/ה ?"
#: contrib/admin/options.py:732
#: contrib/admin/options.py:724
#, python-format
msgid "Change history: %s"
msgstr "היסטוריית שינוי: %s"
@ -387,40 +402,40 @@ msgstr "היסטוריית שינוי: %s"
msgid "Please enter a correct username and password. Note that both fields are case-sensitive."
msgstr "נא להזין שם משתמש וסיסמה נכונים. בשני השדות גודל האותיות האנגליות משנה."
#: contrib/admin/sites.py:227
#: contrib/admin/sites.py:226
#: contrib/admin/views/decorators.py:40
msgid "Please log in again, because your session has expired."
msgstr "עליך להתחבר שנית כי פג הזמן המוקצב לך."
#: contrib/admin/sites.py:234
#: contrib/admin/sites.py:233
#: contrib/admin/views/decorators.py:47
msgid "Looks like your browser isn't configured to accept cookies. Please enable cookies, reload this page, and try again."
msgstr "נראה שהדפדפן שלך אינו מוגדר לקבל עוגיות. נא לאפשר עוגיות, לטעון מחדש את הדף ולנסות שוב."
#: contrib/admin/sites.py:250
#: contrib/admin/sites.py:256
#: contrib/admin/sites.py:249
#: contrib/admin/sites.py:255
#: contrib/admin/views/decorators.py:66
msgid "Usernames cannot contain the '@' character."
msgstr "שם משתמש אינו יכול להכיל את התו '@'."
#: contrib/admin/sites.py:253
#: contrib/admin/sites.py:252
#: contrib/admin/views/decorators.py:62
#, python-format
msgid "Your e-mail address is not your username. Try '%s' instead."
msgstr "כתובת הדוא\"ל שלך אינה שם המשתמש שלך. נסה/י '%s' במקום."
#: contrib/admin/sites.py:313
#: contrib/admin/sites.py:312
msgid "Site administration"
msgstr "ניהול אתר"
#: contrib/admin/sites.py:326
#: contrib/admin/sites.py:325
#: contrib/admin/templates/admin/login.html:26
#: contrib/admin/templates/registration/password_reset_complete.html:14
#: contrib/admin/views/decorators.py:20
msgid "Log in"
msgstr "כניסה"
#: contrib/admin/sites.py:373
#: contrib/admin/sites.py:372
#, python-format
msgid "%s administration"
msgstr "ניהול %s"
@ -451,11 +466,11 @@ msgstr "הנוכחי:"
msgid "Change:"
msgstr "שינוי:"
#: contrib/admin/widgets.py:121
#: contrib/admin/widgets.py:123
msgid "Lookup"
msgstr "חפש"
#: contrib/admin/widgets.py:228
#: contrib/admin/widgets.py:230
msgid "Add Another"
msgstr "הוסף עוד אחת"
@ -470,7 +485,7 @@ msgstr "אנו מצטערים, לא ניתן למצוא את הדף המבוקש
#: contrib/admin/templates/admin/500.html:4
#: contrib/admin/templates/admin/app_index.html:8
#: contrib/admin/templates/admin/base.html:30
#: contrib/admin/templates/admin/base.html:31
#: contrib/admin/templates/admin/change_form.html:17
#: contrib/admin/templates/admin/change_list.html:8
#: contrib/admin/templates/admin/delete_confirmation.html:6
@ -510,18 +525,18 @@ msgstr "התרחשה שגיאה. היא דווחה למנהלי האתר בדו
msgid "%(name)s"
msgstr "%(name)s"
#: contrib/admin/templates/admin/base.html:25
#: contrib/admin/templates/admin/base.html:26
msgid "Welcome,"
msgstr "שלום,"
#: contrib/admin/templates/admin/base.html:25
#: contrib/admin/templates/admin/base.html:26
#: contrib/admin/templates/registration/password_change_done.html:3
#: contrib/admin/templates/registration/password_change_form.html:3
#: contrib/admindocs/templates/admin_doc/bookmarklets.html:3
msgid "Documentation"
msgstr "תיעוד"
#: contrib/admin/templates/admin/base.html:25
#: contrib/admin/templates/admin/base.html:26
#: contrib/admin/templates/admin/auth/user/change_password.html:13
#: contrib/admin/templates/admin/auth/user/change_password.html:46
#: contrib/admin/templates/registration/password_change_done.html:3
@ -529,7 +544,7 @@ msgstr "תיעוד"
msgid "Change password"
msgstr "שינוי סיסמה"
#: contrib/admin/templates/admin/base.html:25
#: contrib/admin/templates/admin/base.html:26
#: contrib/admin/templates/registration/password_change_done.html:3
#: contrib/admin/templates/registration/password_change_form.html:3
msgid "Log out"
@ -555,7 +570,7 @@ msgstr "היסטוריה"
#: contrib/admin/templates/admin/change_form.html:28
#: contrib/admin/templates/admin/edit_inline/stacked.html:13
#: contrib/admin/templates/admin/edit_inline/tabular.html:25
#: contrib/admin/templates/admin/edit_inline/tabular.html:27
msgid "View on site"
msgstr "צפיה באתר"
@ -646,6 +661,7 @@ msgid "User"
msgstr "משתמש"
#: contrib/admin/templates/admin/object_history.html:24
#: contrib/comments/templates/comments/moderation_queue.html:33
msgid "Action"
msgstr "פעולה"
@ -865,7 +881,7 @@ msgstr "כתובת דוא\"ל:"
msgid "Reset my password"
msgstr "אפס את סיסמתי"
#: contrib/admin/templatetags/admin_list.py:288
#: contrib/admin/templatetags/admin_list.py:284
msgid "All dates"
msgstr "כל התאריכים"
@ -1023,7 +1039,8 @@ msgid "Time"
msgstr "זמן"
#: contrib/admindocs/views.py:339
#: contrib/comments/forms.py:22
#: contrib/comments/forms.py:21
#: contrib/comments/templates/comments/moderation_queue.html:37
#: contrib/flatpages/admin.py:8
#: contrib/flatpages/models.py:7
msgid "URL"
@ -1131,7 +1148,7 @@ msgstr "שינוי סיסמה: %s"
#: contrib/auth/forms.py:15
#: contrib/auth/forms.py:48
#: contrib/auth/models.py:136
#: contrib/auth/models.py:127
msgid "Required. 30 characters or fewer. Alphanumeric characters only (letters, digits and underscores)."
msgstr "דורש 30 תווים או פחות. תווים אלפאנומריים בלבד (אותיות, ספרות וקווים תחתונים)."
@ -1191,106 +1208,106 @@ msgstr "סיסמה ישנה"
msgid "Your old password was entered incorrectly. Please enter it again."
msgstr "סיסמתך הישנה הוזנה בצורה שגויה. נא להזינה שוב."
#: contrib/auth/models.py:72
#: contrib/auth/models.py:95
#: contrib/auth/models.py:63
#: contrib/auth/models.py:86
msgid "name"
msgstr "שם"
#: contrib/auth/models.py:74
#: contrib/auth/models.py:65
msgid "codename"
msgstr "שם קוד"
#: contrib/auth/models.py:77
#: contrib/auth/models.py:68
msgid "permission"
msgstr "הרשאה"
#: contrib/auth/models.py:78
#: contrib/auth/models.py:96
#: contrib/auth/models.py:69
#: contrib/auth/models.py:87
msgid "permissions"
msgstr "הרשאות"
#: contrib/auth/models.py:99
#: contrib/auth/models.py:90
msgid "group"
msgstr "קבוצה"
#: contrib/auth/models.py:100
#: contrib/auth/models.py:146
#: contrib/auth/models.py:91
#: contrib/auth/models.py:137
msgid "groups"
msgstr "קבוצות"
#: contrib/auth/models.py:136
#: contrib/auth/models.py:127
msgid "username"
msgstr "שם משתמש"
#: contrib/auth/models.py:137
#: contrib/auth/models.py:128
msgid "first name"
msgstr "שם פרטי"
#: contrib/auth/models.py:138
#: contrib/auth/models.py:129
msgid "last name"
msgstr "שם משפחה"
#: contrib/auth/models.py:139
#: contrib/auth/models.py:130
msgid "e-mail address"
msgstr "כתובת דוא\"ל"
#: contrib/auth/models.py:140
#: contrib/auth/models.py:131
msgid "password"
msgstr "סיסמה"
#: contrib/auth/models.py:140
#: contrib/auth/models.py:131
msgid "Use '[algo]$[salt]$[hexdigest]' or use the <a href=\"password/\">change password form</a>."
msgstr "יש להזין '[algo]$[salt]$[hexdigest]' או להשתמש ב<a href=\"password/\">טופס שינוי הסיסמה</a>."
#: contrib/auth/models.py:141
#: contrib/auth/models.py:132
msgid "staff status"
msgstr "סטטוס איש צוות"
#: contrib/auth/models.py:141
#: contrib/auth/models.py:132
msgid "Designates whether the user can log into this admin site."
msgstr "מציין האם המשתמש יכול להתחבר לאתר הניהול."
#: contrib/auth/models.py:142
#: contrib/auth/models.py:133
msgid "active"
msgstr "פעיל"
#: contrib/auth/models.py:142
#: contrib/auth/models.py:133
msgid "Designates whether this user should be treated as active. Unselect this instead of deleting accounts."
msgstr "מציין האם יש להתייחס למשתמש כפעיל. יש לבטל בחירה זו במקום למחוק חשבונות משתמשים."
#: contrib/auth/models.py:143
#: contrib/auth/models.py:134
msgid "superuser status"
msgstr "סטטוס משתמש על"
#: contrib/auth/models.py:143
#: contrib/auth/models.py:134
msgid "Designates that this user has all permissions without explicitly assigning them."
msgstr "מציין שלמשתמש זה יש את כל ההרשאות ללא הצורך המפורש בהענקתן."
#: contrib/auth/models.py:144
#: contrib/auth/models.py:135
msgid "last login"
msgstr "כניסה אחרונה"
#: contrib/auth/models.py:145
#: contrib/auth/models.py:136
msgid "date joined"
msgstr "תאריך הצטרפות"
#: contrib/auth/models.py:147
#: contrib/auth/models.py:138
msgid "In addition to the permissions manually assigned, this user will also get all permissions granted to each group he/she is in."
msgstr "בנוסף לכל ההרשאות שהוקצו ידנית, יוענקו למשתמש גם כל ההרשאות של כל קבוצה המשוייכת אליו."
#: contrib/auth/models.py:148
#: contrib/auth/models.py:139
msgid "user permissions"
msgstr "הרשאות משתמש"
#: contrib/auth/models.py:152
#: contrib/auth/models.py:143
msgid "user"
msgstr "משתמש"
#: contrib/auth/models.py:153
#: contrib/auth/models.py:144
msgid "users"
msgstr "משתמשים"
#: contrib/auth/models.py:308
#: contrib/auth/models.py:300
msgid "message"
msgstr "הודעה"
@ -1311,23 +1328,25 @@ msgstr "תוכן"
msgid "Metadata"
msgstr "מטא-נתונים"
#: contrib/comments/forms.py:20
#: contrib/comments/forms.py:19
#: contrib/comments/templates/comments/moderation_queue.html:34
msgid "Name"
msgstr "שם"
#: contrib/comments/forms.py:21
#: contrib/comments/forms.py:20
msgid "Email address"
msgstr "כתובת דוא\"ל"
#: contrib/comments/forms.py:23
#: contrib/comments/forms.py:22
#: contrib/comments/templates/comments/moderation_queue.html:35
msgid "Comment"
msgstr "תגובה"
#: contrib/comments/forms.py:26
#: contrib/comments/forms.py:25
msgid "If you enter anything in this field your comment will be treated as spam"
msgstr "אם יוזן משהו בשדה היחס לתגובתך יהיה כמו לספאם"
#: contrib/comments/forms.py:126
#: contrib/comments/forms.py:125
#, python-format
msgid "Watch your mouth! The word %s is not allowed here."
msgid_plural "Watch your mouth! The words %s are not allowed here."
@ -1397,6 +1416,132 @@ msgstr ""
"\n"
"http://%(domain)s%(url)s"
#: contrib/comments/templates/comments/approve.html:4
msgid "Approve a comment"
msgstr "אשר הערה"
#: contrib/comments/templates/comments/approve.html:7
msgid "Really make this comment public?"
msgstr "באמת הופכים את התגובה הציבורית?"
#: contrib/comments/templates/comments/approve.html:12
#: contrib/comments/templates/comments/moderation_queue.html:49
msgid "Approve"
msgstr "אשר"
#: contrib/comments/templates/comments/approved.html:4
msgid "Thanks for approving"
msgstr "תודה על השימוש באתר שלנו!"
#: contrib/comments/templates/comments/approved.html:7
#: contrib/comments/templates/comments/deleted.html:7
#: contrib/comments/templates/comments/flagged.html:7
msgid "Thanks for taking the time to improve the quality of discussion on our site"
msgstr "תודה שהקדשת מזמנך כדי לשפר את האתר שלנו"
#: contrib/comments/templates/comments/delete.html:4
msgid "Remove a comment"
msgstr "הסר הערה"
#: contrib/comments/templates/comments/delete.html:7
msgid "Really remove this comment?"
msgstr "באמת להסיר את הערה זו?"
#: contrib/comments/templates/comments/delete.html:12
#: contrib/comments/templates/comments/moderation_queue.html:53
msgid "Remove"
msgstr "להסיר"
#: contrib/comments/templates/comments/deleted.html:4
msgid "Thanks for removing"
msgstr "תודה על הסרת"
#: contrib/comments/templates/comments/flag.html:4
msgid "Flag this comment"
msgstr "סמן את הערה זו"
#: contrib/comments/templates/comments/flag.html:7
msgid "Really flag this comment?"
msgstr "באמת, סמן את הערה זו?"
#: contrib/comments/templates/comments/flag.html:12
msgid "Flag"
msgstr "סימן"
#: contrib/comments/templates/comments/flagged.html:4
msgid "Thanks for flagging"
msgstr "תודה לציון"
#: contrib/comments/templates/comments/form.html:16
#: contrib/comments/templates/comments/preview.html:31
msgid "Post"
msgstr "פוסט"
#: contrib/comments/templates/comments/form.html:17
#: contrib/comments/templates/comments/preview.html:32
msgid "Preview"
msgstr "תצוגה מקדימה"
#: contrib/comments/templates/comments/moderation_queue.html:4
#: contrib/comments/templates/comments/moderation_queue.html:19
msgid "Comment moderation queue"
msgstr "תור תגובה עבור מתון של תגובות"
#: contrib/comments/templates/comments/moderation_queue.html:26
msgid "No comments to moderate"
msgstr "אין תגובות עד בינוני"
#: contrib/comments/templates/comments/moderation_queue.html:36
msgid "Email"
msgstr "כתובת דוא\"ל"
#: contrib/comments/templates/comments/moderation_queue.html:38
msgid "Authenticated?"
msgstr "מאומתים?"
#: contrib/comments/templates/comments/moderation_queue.html:39
msgid "IP Address"
msgstr "כתובת IP"
#: contrib/comments/templates/comments/moderation_queue.html:40
msgid "Date posted"
msgstr "תאריך הצטרפות"
#: contrib/comments/templates/comments/moderation_queue.html:63
msgid "yes"
msgstr "כן"
#: contrib/comments/templates/comments/moderation_queue.html:63
msgid "no"
msgstr "לא"
#: contrib/comments/templates/comments/posted.html:4
msgid "Thanks for commenting"
msgstr "תודה על התגובה"
#: contrib/comments/templates/comments/posted.html:7
msgid "Thank you for your comment"
msgstr "תודה על התגובה"
#: contrib/comments/templates/comments/preview.html:4
#: contrib/comments/templates/comments/preview.html:12
msgid "Preview your comment"
msgstr "תצוגה מקדימה של התגובה"
#: contrib/comments/templates/comments/preview.html:10
msgid "Please correct the error below"
msgid_plural "Please correct the errors below"
msgstr[0] "בבקשה לתקן את השגיאה למטה"
msgstr[1] "אנא תקן את שגיאות למטה"
#: contrib/comments/templates/comments/preview.html:15
msgid "Post your comment"
msgstr "פרסם את התגובה"
#: contrib/comments/templates/comments/preview.html:15
msgid "or make changes"
msgstr "או לבצע שינויים"
#: contrib/contenttypes/models.py:67
msgid "python model class name"
msgstr "שם ה-class של מודל פייתון"
@ -3553,12 +3698,12 @@ msgid "Ensure that there are no more than %s digits before the decimal point."
msgstr "נא לוודא שאין יותר מ-%s ספרות לפני הנקודה העשרונית"
#: forms/fields.py:287
#: forms/fields.py:848
#: forms/fields.py:849
msgid "Enter a valid date."
msgstr "יש להזין תאריך חוקי."
#: forms/fields.py:321
#: forms/fields.py:849
#: forms/fields.py:850
msgid "Enter a valid time."
msgstr "יש להזין שעה חוקית."
@ -3598,15 +3743,15 @@ msgstr "יש לבחור אפשרות חוקית. %(value)s אינו בין הא
#: forms/fields.py:697
#: forms/fields.py:758
#: forms/models.py:654
#: forms/models.py:720
msgid "Enter a list of values."
msgstr "יש להזין רשימת ערכים"
#: forms/fields.py:877
#: forms/fields.py:878
msgid "Enter a valid IPv4 address."
msgstr "יש להזין כתובת IPv4 חוקית."
#: forms/fields.py:887
#: forms/fields.py:888
msgid "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr "יש להזין ערך המכיל אותיות, ספרות, קווים תחתונים ומקפים בלבד."
@ -3615,43 +3760,47 @@ msgstr "יש להזין ערך המכיל אותיות, ספרות, קווים
msgid "Order"
msgstr "מיון"
#: forms/models.py:268
#: forms/models.py:277
#: forms/models.py:281
#: forms/models.py:290
#, python-format
msgid "%(model_name)s with this %(field_label)s already exists."
msgstr "%(model_name)s·עם·%(field_label)s·זה קיימת כבר."
#: forms/models.py:584
#: forms/models.py:587
msgid "The inline foreign key did not match the parent instance primary key."
msgstr "הרצופות מפתח זר לא תאם את האב מופע המפתח העיקרי."
#: forms/models.py:650
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr "יש לבחור אפשרות חוקית; '%(data)s' אינו בין %(choices)s."
#: forms/models.py:655
#: forms/models.py:721
#, python-format
msgid "Select a valid choice. %s is not one of the available choices."
msgstr "יש לבחור אפשרות חוקית. %s אינו בין האפשרויות הזמינות."
#: template/defaultfilters.py:706
#: template/defaultfilters.py:741
msgid "yes,no,maybe"
msgstr "כן,לא,אולי"
#: template/defaultfilters.py:737
#: template/defaultfilters.py:772
#, python-format
msgid "%(size)d byte"
msgid_plural "%(size)d bytes"
msgstr[0] "%(size)d בית"
msgstr[1] "%(size)d בתים"
#: template/defaultfilters.py:739
#: template/defaultfilters.py:774
#, python-format
msgid "%.1f KB"
msgstr "%.1f KB"
#: template/defaultfilters.py:741
#: template/defaultfilters.py:776
#, python-format
msgid "%.1f MB"
msgstr "%.1f MB"
#: template/defaultfilters.py:742
#: template/defaultfilters.py:777
#, python-format
msgid "%.1f GB"
msgstr "%.1f GB"
@ -3982,8 +4131,6 @@ msgstr "ה-%(verbose_name)s נמחק."
#~ msgstr "כתובת IP"
#~ msgid "approved by staff"
#~ msgstr "אושר ע\"י הצוות"
#~ msgid "free comment"
#~ msgstr "הערה אנונימית"
#~ msgid "free comments"
#~ msgstr "הערות אנונימיות"
#~ msgid "score"
@ -4030,8 +4177,6 @@ msgstr "ה-%(verbose_name)s נמחק."
#~ msgstr "אופציונלי"
#~ msgid "Post a photo"
#~ msgstr "שליחת תמונה"
#~ msgid "Preview comment"
#~ msgstr "תצוגה מקדימה של התגובה"
#~ msgid "Your name:"
#~ msgstr "שמך:"
#~ msgid ""

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -0,0 +1,116 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-09-27 11:30+0530\n"
"PO-Revision-Date: 2008-09-27 12:36+0530\n"
"Last-Translator: Thejaswi Puthraya <thejaswi.puthraya@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: contrib/admin/media/js/SelectFilter2.js:33
#, perl-format
msgid "Available %s"
msgstr "उपलब्ध %s"
#: contrib/admin/media/js/SelectFilter2.js:41
msgid "Choose all"
msgstr "सारे चुनें"
#: contrib/admin/media/js/SelectFilter2.js:46
msgid "Add"
msgstr "जोड़ना"
#: contrib/admin/media/js/SelectFilter2.js:48
msgid "Remove"
msgstr "हटाना"
#: contrib/admin/media/js/SelectFilter2.js:53
#, perl-format
msgid "Chosen %s"
msgstr "%s चुना गया हैं"
#: contrib/admin/media/js/SelectFilter2.js:54
msgid "Select your choice(s) and click "
msgstr "आपके पसंद चुनिये और क्लिक करें"
#: contrib/admin/media/js/SelectFilter2.js:59
msgid "Clear all"
msgstr "सारे हटाओ"
#: contrib/admin/media/js/calendar.js:24
#: contrib/admin/media/js/dateparse.js:32
msgid "January February March April May June July August September October November December"
msgstr "जनवरी फ़रवरी मार्च अप्रैल मई जून जुलाई अगस्त सेप्टम्बर अक्टूबर नवंबर दिसम्‍बर"
#: contrib/admin/media/js/calendar.js:25
msgid "S M T W T F S"
msgstr "आ सो म बु गु शु श"
#: contrib/admin/media/js/dateparse.js:33
msgid "Sunday Monday Tuesday Wednesday Thursday Friday Saturday"
msgstr "रविवार सोमवार मंगलवार बुधवार गुरूवार शुक्रवार शनिवार"
#: contrib/admin/media/js/admin/CollapsedFieldsets.js:34
#: contrib/admin/media/js/admin/CollapsedFieldsets.js:72
msgid "Show"
msgstr "दिखाना"
#: contrib/admin/media/js/admin/CollapsedFieldsets.js:63
msgid "Hide"
msgstr "छिपाना"
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:47
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:81
msgid "Now"
msgstr "अब"
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:51
msgid "Clock"
msgstr "घड़ी"
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:78
msgid "Choose a time"
msgstr "एक समय चुनें"
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:82
msgid "Midnight"
msgstr "मध्यरात्री"
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:83
msgid "6 a.m."
msgstr "6 बजे"
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:84
msgid "Noon"
msgstr "दोपहर"
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:88
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:183
msgid "Cancel"
msgstr "रद्द करें"
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:128
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:177
msgid "Today"
msgstr "आज"
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:132
msgid "Calendar"
msgstr "तिथि-पत्र "
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:175
msgid "Yesterday"
msgstr "कल (बीता)"
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:179
msgid "Tomorrow"
msgstr "कल"

File diff suppressed because it is too large Load Diff

View File

@ -4,17 +4,17 @@
# This file is distributed under the same license as the Django package.
msgid ""
msgstr ""
"Project-Id-Version: Django\n"
"Project-Id-Version: Django 1.0.3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-09-01 07:16+0200\n"
"PO-Revision-Date: 2008-08-14 18:36+0200\n"
"POT-Creation-Date: 2009-04-10 08:20+0200\n"
"PO-Revision-Date: 2009-07-26 19:01+0200\n"
"Last-Translator: Nicola Larosa <nico@tekNico.net>\n"
"Language-Team: Italiano\n"
"Language-Team: Italian <django-it@googlegroups.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: KBabel 1.11.4\n"
"X-Generator: Lokalize 0.3\n"
#: contrib/admin/media/js/SelectFilter2.js:33
#, perl-format
@ -40,7 +40,7 @@ msgstr "%s scelti"
#: contrib/admin/media/js/SelectFilter2.js:54
msgid "Select your choice(s) and click "
msgstr "Fai le tue scelte e clicca "
msgstr "Seleziona le tue scelte e clicca "
#: contrib/admin/media/js/SelectFilter2.js:59
msgid "Clear all"
@ -118,3 +118,4 @@ msgstr "Ieri"
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:179
msgid "Tomorrow"
msgstr "Domani"

View File

@ -3,8 +3,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-09-03 10:01+0900\n"
"PO-Revision-Date: 2008-09-03 10:03+0900\n"
"POT-Creation-Date: 2008-12-19 13:45+0900\n"
"PO-Revision-Date: 2008-12-19 13:57+0900\n"
"Last-Translator: Takashi Matsuo <matsuo.takashi@gmail.com>\n"
"Language-Team: Japanese <django-ja@googlegroups.com>\n"
"MIME-Version: 1.0\n"
@ -97,114 +97,122 @@ msgid "Hebrew"
msgstr "ヘブライ語"
#: conf/global_settings.py:65
msgid "Hindi"
msgstr "ヒンディー語"
#: conf/global_settings.py:66
msgid "Croatian"
msgstr "クロアチア語"
#: conf/global_settings.py:66
#: conf/global_settings.py:67
msgid "Icelandic"
msgstr "アイスランド語"
#: conf/global_settings.py:67
#: conf/global_settings.py:68
msgid "Italian"
msgstr "イタリア語"
#: conf/global_settings.py:68
#: conf/global_settings.py:69
msgid "Japanese"
msgstr "日本語"
#: conf/global_settings.py:69
#: conf/global_settings.py:70
msgid "Georgian"
msgstr "グルジア語"
#: conf/global_settings.py:70
#: conf/global_settings.py:71
msgid "Korean"
msgstr "韓国語"
#: conf/global_settings.py:71
#: conf/global_settings.py:72
msgid "Khmer"
msgstr "クメール語"
#: conf/global_settings.py:72
#: conf/global_settings.py:73
msgid "Kannada"
msgstr "カンナダ語"
#: conf/global_settings.py:73
#: conf/global_settings.py:74
msgid "Latvian"
msgstr "ラトビア語"
#: conf/global_settings.py:74
#: conf/global_settings.py:75
msgid "Lithuanian"
msgstr "リトアニア語"
#: conf/global_settings.py:75
#: conf/global_settings.py:76
msgid "Macedonian"
msgstr "マケドニア語"
#: conf/global_settings.py:76
#: conf/global_settings.py:77
msgid "Dutch"
msgstr "オランダ語"
#: conf/global_settings.py:77
#: conf/global_settings.py:78
msgid "Norwegian"
msgstr "ノルウェー語"
#: conf/global_settings.py:78
#: conf/global_settings.py:79
msgid "Polish"
msgstr "ポーランド語"
#: conf/global_settings.py:79
msgid "Portugese"
#: conf/global_settings.py:80
msgid "Portuguese"
msgstr "ポルトガル語"
#: conf/global_settings.py:80
#: conf/global_settings.py:81
msgid "Brazilian Portuguese"
msgstr "ブラジルポルトガル語"
#: conf/global_settings.py:81
#: conf/global_settings.py:82
msgid "Romanian"
msgstr "ルーマニア語"
#: conf/global_settings.py:82
#: conf/global_settings.py:83
msgid "Russian"
msgstr "ロシア語"
#: conf/global_settings.py:83
#: conf/global_settings.py:84
msgid "Slovak"
msgstr "スロバキア語"
#: conf/global_settings.py:84
#: conf/global_settings.py:85
msgid "Slovenian"
msgstr "スロヴェニア語"
#: conf/global_settings.py:85
#: conf/global_settings.py:86
msgid "Serbian"
msgstr "セルビア語"
#: conf/global_settings.py:86
#: conf/global_settings.py:87
msgid "Swedish"
msgstr "スウェーデン語"
#: conf/global_settings.py:87
#: conf/global_settings.py:88
msgid "Tamil"
msgstr "タミル語"
#: conf/global_settings.py:88
#: conf/global_settings.py:89
msgid "Telugu"
msgstr "テルグ語"
#: conf/global_settings.py:89
#: conf/global_settings.py:90
msgid "Thai"
msgstr "タイ語"
#: conf/global_settings.py:91
msgid "Turkish"
msgstr "トルコ語"
#: conf/global_settings.py:90
#: conf/global_settings.py:92
msgid "Ukrainian"
msgstr "ウクライナ語"
#: conf/global_settings.py:91
#: conf/global_settings.py:93
msgid "Simplified Chinese"
msgstr "簡体字中国語"
#: conf/global_settings.py:92
#: conf/global_settings.py:94
msgid "Traditional Chinese"
msgstr "繁体字中国語"
@ -217,40 +225,40 @@ msgstr ""
"<h3>%s で絞り込む</h3>\n"
"<ul>\n"
#: contrib/admin/filterspecs.py:74 contrib/admin/filterspecs.py:92
#: contrib/admin/filterspecs.py:147 contrib/admin/filterspecs.py:173
#: contrib/admin/filterspecs.py:74 contrib/admin/filterspecs.py:91
#: contrib/admin/filterspecs.py:146 contrib/admin/filterspecs.py:172
msgid "All"
msgstr "全て"
#: contrib/admin/filterspecs.py:113
#: contrib/admin/filterspecs.py:112
msgid "Any date"
msgstr "いつでも"
#: contrib/admin/filterspecs.py:114
#: contrib/admin/filterspecs.py:113
msgid "Today"
msgstr "今日"
#: contrib/admin/filterspecs.py:117
#: contrib/admin/filterspecs.py:116
msgid "Past 7 days"
msgstr "過去 7 日間"
#: contrib/admin/filterspecs.py:119
#: contrib/admin/filterspecs.py:118
msgid "This month"
msgstr "今月"
#: contrib/admin/filterspecs.py:121
#: contrib/admin/filterspecs.py:120
msgid "This year"
msgstr "今年"
#: contrib/admin/filterspecs.py:147 forms/widgets.py:391
#: contrib/admin/filterspecs.py:146 forms/widgets.py:391
msgid "Yes"
msgstr "はい"
#: contrib/admin/filterspecs.py:147 forms/widgets.py:391
#: contrib/admin/filterspecs.py:146 forms/widgets.py:391
msgid "No"
msgstr "いいえ"
#: contrib/admin/filterspecs.py:154 forms/widgets.py:391
#: contrib/admin/filterspecs.py:153 forms/widgets.py:391
msgid "Unknown"
msgstr "不明"
@ -292,7 +300,7 @@ msgid "Changed %s."
msgstr "%s を変更しました。"
#: contrib/admin/options.py:338 contrib/admin/options.py:348
#: forms/models.py:275
#: contrib/comments/templates/comments/preview.html:15 forms/models.py:288
msgid "and"
msgstr "と"
@ -341,30 +349,35 @@ msgid ""
"The %(name)s \"%(obj)s\" was added successfully. You may edit it again below."
msgstr "%(name)s \"%(obj)s\" を追加しました。続けて編集できます。"
#: contrib/admin/options.py:536
#: contrib/admin/options.py:528
#, python-format
msgid "Add %s"
msgstr "%s を追加"
#: contrib/admin/options.py:614
#: contrib/admin/options.py:559 contrib/admin/options.py:673
#, python-format
msgid "%(name)s object with primary key %(key)r does not exist."
msgstr "主キーが %(key)r である %(name)s オブジェクトは存在しません。"
#: contrib/admin/options.py:606
#, python-format
msgid "Change %s"
msgstr "%s を変更"
#: contrib/admin/options.py:646
#: contrib/admin/options.py:638
msgid "Database error"
msgstr "データベースエラー"
#: contrib/admin/options.py:696
#: contrib/admin/options.py:688
#, python-format
msgid "The %(name)s \"%(obj)s\" was deleted successfully."
msgstr "%(name)s \"%(obj)s\" を削除しました。"
#: contrib/admin/options.py:703
#: contrib/admin/options.py:695
msgid "Are you sure?"
msgstr "よろしいですか?"
#: contrib/admin/options.py:732
#: contrib/admin/options.py:724
#, python-format
msgid "Change history: %s"
msgstr "変更履歴: %s"
@ -377,11 +390,12 @@ msgid ""
msgstr ""
"正しいユーザ名とパスワードを入力してください (大文字小文字は区別します) 。"
#: contrib/admin/sites.py:227 contrib/admin/views/decorators.py:40
#: contrib/admin/sites.py:226 contrib/admin/views/decorators.py:40
msgid "Please log in again, because your session has expired."
msgstr "再ログインしてください。ログインセッションが有効期間切れしてしまいました。"
msgstr ""
"再ログインしてください。ログインセッションが有効期間切れしてしまいました。"
#: contrib/admin/sites.py:234 contrib/admin/views/decorators.py:47
#: contrib/admin/sites.py:233 contrib/admin/views/decorators.py:47
msgid ""
"Looks like your browser isn't configured to accept cookies. Please enable "
"cookies, reload this page, and try again."
@ -389,37 +403,37 @@ msgstr ""
"ブラウザがクッキーの使用を許可していないようです。クッキーの使用を許可して、"
"もう一度このページを表示してください。"
#: contrib/admin/sites.py:250 contrib/admin/sites.py:256
#: contrib/admin/sites.py:249 contrib/admin/sites.py:255
#: contrib/admin/views/decorators.py:66
msgid "Usernames cannot contain the '@' character."
msgstr "ユーザ名には '@' を含められません。"
#: contrib/admin/sites.py:253 contrib/admin/views/decorators.py:62
#: contrib/admin/sites.py:252 contrib/admin/views/decorators.py:62
#, python-format
msgid "Your e-mail address is not your username. Try '%s' instead."
msgstr "メールアドレスはユーザ名ではありません。 '%s' を試してみてください。"
#: contrib/admin/sites.py:313
#: contrib/admin/sites.py:312
msgid "Site administration"
msgstr "サイト管理"
#: contrib/admin/sites.py:326 contrib/admin/templates/admin/login.html:26
#: contrib/admin/sites.py:325 contrib/admin/templates/admin/login.html:26
#: contrib/admin/templates/registration/password_reset_complete.html:14
#: contrib/admin/views/decorators.py:20
msgid "Log in"
msgstr "ログイン"
#: contrib/admin/sites.py:373
#: contrib/admin/sites.py:372
#, python-format
msgid "%s administration"
msgstr "%s サイト管理"
#: contrib/admin/util.py:138
#: contrib/admin/util.py:145
#, python-format
msgid "One or more %(fieldname)s in %(name)s: %(obj)s"
msgstr "%(name)s に %(fieldname)s が一つ以上あります: %(obj)s"
#: contrib/admin/util.py:143
#: contrib/admin/util.py:150
#, python-format
msgid "One or more %(fieldname)s in %(name)s:"
msgstr "%(name)s に %(fieldname)s が一つ以上あります:"
@ -440,11 +454,11 @@ msgstr "現在:"
msgid "Change:"
msgstr "変更:"
#: contrib/admin/widgets.py:121
#: contrib/admin/widgets.py:123
msgid "Lookup"
msgstr "検索"
#: contrib/admin/widgets.py:228
#: contrib/admin/widgets.py:230
msgid "Add Another"
msgstr "追加"
@ -548,7 +562,7 @@ msgstr "履歴"
#: contrib/admin/templates/admin/change_form.html:28
#: contrib/admin/templates/admin/edit_inline/stacked.html:13
#: contrib/admin/templates/admin/edit_inline/tabular.html:25
#: contrib/admin/templates/admin/edit_inline/tabular.html:27
msgid "View on site"
msgstr "サイト上で表示"
@ -652,6 +666,7 @@ msgid "User"
msgstr "ユーザ"
#: contrib/admin/templates/admin/object_history.html:24
#: contrib/comments/templates/comments/moderation_queue.html:33
msgid "Action"
msgstr "操作"
@ -895,7 +910,7 @@ msgstr "メールアドレス"
msgid "Reset my password"
msgstr "パスワードをリセット"
#: contrib/admin/templatetags/admin_list.py:288
#: contrib/admin/templatetags/admin_list.py:285
msgid "All dates"
msgstr "いつでも"
@ -1041,7 +1056,8 @@ msgstr "テキスト"
msgid "Time"
msgstr "時刻"
#: contrib/admindocs/views.py:339 contrib/comments/forms.py:22
#: contrib/admindocs/views.py:339 contrib/comments/forms.py:21
#: contrib/comments/templates/comments/moderation_queue.html:37
#: contrib/flatpages/admin.py:8 contrib/flatpages/models.py:7
msgid "URL"
msgstr "URL"
@ -1352,24 +1368,26 @@ msgstr "内容"
msgid "Metadata"
msgstr "メタデータ"
#: contrib/comments/forms.py:20
#: contrib/comments/forms.py:19
#: contrib/comments/templates/comments/moderation_queue.html:34
msgid "Name"
msgstr "名前"
#: contrib/comments/forms.py:21
#: contrib/comments/forms.py:20
msgid "Email address"
msgstr "メールアドレス"
#: contrib/comments/forms.py:23
#: contrib/comments/forms.py:22
#: contrib/comments/templates/comments/moderation_queue.html:35
msgid "Comment"
msgstr "コメント"
#: contrib/comments/forms.py:26
#: contrib/comments/forms.py:25
msgid ""
"If you enter anything in this field your comment will be treated as spam"
msgstr "このフィールドに入力するとコメントはスパム扱いされます"
#: contrib/comments/forms.py:126
#: contrib/comments/forms.py:125
#, python-format
msgid "Watch your mouth! The word %s is not allowed here."
msgid_plural "Watch your mouth! The words %s are not allowed here."
@ -1452,6 +1470,132 @@ msgstr ""
"\n"
"http://%(domain)s%(url)s"
#: contrib/comments/templates/comments/approve.html:4
msgid "Approve a comment"
msgstr "コメントを承認する"
#: contrib/comments/templates/comments/approve.html:7
msgid "Really make this comment public?"
msgstr "本当にこのコメントを承認しますか?"
#: contrib/comments/templates/comments/approve.html:12
#: contrib/comments/templates/comments/moderation_queue.html:49
msgid "Approve"
msgstr "承認"
#: contrib/comments/templates/comments/approved.html:4
msgid "Thanks for approving"
msgstr "ご利用ありがとうございました!"
#: contrib/comments/templates/comments/approved.html:7
#: contrib/comments/templates/comments/deleted.html:7
#: contrib/comments/templates/comments/flagged.html:7
msgid ""
"Thanks for taking the time to improve the quality of discussion on our site"
msgstr "当サイトの品質向上にご協力いただきありがとうございました"
#: contrib/comments/templates/comments/delete.html:4
msgid "Remove a comment"
msgstr "コメントを削除する"
#: contrib/comments/templates/comments/delete.html:7
msgid "Really remove this comment?"
msgstr "本当にこのコメントを削除しますか?"
#: contrib/comments/templates/comments/delete.html:12
#: contrib/comments/templates/comments/moderation_queue.html:53
msgid "Remove"
msgstr "削除"
#: contrib/comments/templates/comments/deleted.html:4
msgid "Thanks for removing"
msgstr "ご利用ありがとうございました!"
#: contrib/comments/templates/comments/flag.html:4
msgid "Flag this comment"
msgstr "このコメントにフラグを付ける"
#: contrib/comments/templates/comments/flag.html:7
msgid "Really flag this comment?"
msgstr "本当にこのコメントにフラグを付けますか?"
#: contrib/comments/templates/comments/flag.html:12
msgid "Flag"
msgstr "フラグを付ける"
#: contrib/comments/templates/comments/flagged.html:4
msgid "Thanks for flagging"
msgstr "ご利用ありがとうございました!"
#: contrib/comments/templates/comments/form.html:16
#: contrib/comments/templates/comments/preview.html:31
msgid "Post"
msgstr "投稿"
#: contrib/comments/templates/comments/form.html:17
#: contrib/comments/templates/comments/preview.html:32
msgid "Preview"
msgstr "プレビュー"
#: contrib/comments/templates/comments/moderation_queue.html:4
#: contrib/comments/templates/comments/moderation_queue.html:19
msgid "Comment moderation queue"
msgstr "コメントのモデレーションキュー"
#: contrib/comments/templates/comments/moderation_queue.html:26
msgid "No comments to moderate"
msgstr "モデレートするコメントはありません"
#: contrib/comments/templates/comments/moderation_queue.html:36
msgid "Email"
msgstr "メールアドレス"
#: contrib/comments/templates/comments/moderation_queue.html:38
msgid "Authenticated?"
msgstr "認証済みか?"
#: contrib/comments/templates/comments/moderation_queue.html:39
msgid "IP Address"
msgstr "IP アドレス"
#: contrib/comments/templates/comments/moderation_queue.html:40
msgid "Date posted"
msgstr "登録日"
#: contrib/comments/templates/comments/moderation_queue.html:63
msgid "yes"
msgstr "はい"
#: contrib/comments/templates/comments/moderation_queue.html:63
msgid "no"
msgstr "いいえ"
#: contrib/comments/templates/comments/posted.html:4
msgid "Thanks for commenting"
msgstr "コメントしてくれてありがとうございました"
#: contrib/comments/templates/comments/posted.html:7
msgid "Thank you for your comment"
msgstr "コメントありがとうございました"
#: contrib/comments/templates/comments/preview.html:4
#: contrib/comments/templates/comments/preview.html:12
msgid "Preview your comment"
msgstr "コメントのプレビュー"
#: contrib/comments/templates/comments/preview.html:10
msgid "Please correct the error below"
msgid_plural "Please correct the errors below"
msgstr[0] "下記のエラーを修正してください。"
#: contrib/comments/templates/comments/preview.html:15
msgid "Post your comment"
msgstr "コメントを投稿"
#: contrib/comments/templates/comments/preview.html:15
msgid "or make changes"
msgstr "さらに編集"
#: contrib/contenttypes/models.py:67
msgid "python model class name"
msgstr "Python モデルクラス名"
@ -3567,14 +3711,14 @@ msgstr "値は、空: None、真: True または偽: False でなければなり
msgid "Enter a valid time in HH:MM[:ss[.uuuuuu]] format."
msgstr "HH:MM[:ss[.uuuuuu]]形式で時刻を入力してください。"
#: db/models/fields/related.py:761
#: db/models/fields/related.py:762
msgid ""
"Hold down \"Control\", or \"Command\" on a Mac, to select more than one."
msgstr ""
"複数選択するときには Control キーを押したまま選択してください。Mac は "
"Command キーを使ってください"
#: db/models/fields/related.py:838
#: db/models/fields/related.py:840
#, python-format
msgid "Please enter valid %(self)s IDs. The value %(value)r is invalid."
msgid_plural ""
@ -3632,11 +3776,11 @@ msgstr "少数部は %s 桁までで入力して下さい。"
msgid "Ensure that there are no more than %s digits before the decimal point."
msgstr "整数部は %s 桁までで入力して下さい。"
#: forms/fields.py:287 forms/fields.py:848
#: forms/fields.py:287 forms/fields.py:849
msgid "Enter a valid date."
msgstr "日付を正しく入力してください。"
#: forms/fields.py:321 forms/fields.py:849
#: forms/fields.py:321 forms/fields.py:850
msgid "Enter a valid time."
msgstr "時間を正しく入力してください。"
@ -3678,15 +3822,15 @@ msgstr "このURLはリンクが壊れています。"
msgid "Select a valid choice. %(value)s is not one of the available choices."
msgstr "正しく選択してください。 %(value)s は候補にありません。"
#: forms/fields.py:697 forms/fields.py:758 forms/models.py:654
#: forms/fields.py:697 forms/fields.py:758 forms/models.py:708
msgid "Enter a list of values."
msgstr "リストを入力してください。"
#: forms/fields.py:877
#: forms/fields.py:878
msgid "Enter a valid IPv4 address."
msgstr "有効なIPアドレス (IPv4) を入力してください。"
#: forms/fields.py:887
#: forms/fields.py:888
msgid ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr "slug には半角の英数字、アンダースコア、ハイフン以外は使用できません。"
@ -3695,41 +3839,45 @@ msgstr "slug には半角の英数字、アンダースコア、ハイフン以
msgid "Order"
msgstr "並び変え"
#: forms/models.py:268 forms/models.py:277
#: forms/models.py:281 forms/models.py:290
#, python-format
msgid "%(model_name)s with this %(field_label)s already exists."
msgstr "この %(field_label)s を持った %(model_name)s が既に存在します。"
#: forms/models.py:584
#: forms/models.py:581
msgid "The inline foreign key did not match the parent instance primary key."
msgstr "インライン外部キーが親インスタンスの主キーと一致しません。"
#: forms/models.py:638
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr "正しく選択してください。選択したものは候補にありません。"
#: forms/models.py:655
#: forms/models.py:709
#, python-format
msgid "Select a valid choice. %s is not one of the available choices."
msgstr "正しく選択してください。 %s は候補にありません。"
#: template/defaultfilters.py:706
#: template/defaultfilters.py:743
msgid "yes,no,maybe"
msgstr "はい,いいえ,たぶん"
#: template/defaultfilters.py:737
#: template/defaultfilters.py:774
#, python-format
msgid "%(size)d byte"
msgid_plural "%(size)d bytes"
msgstr[0] "%(size)d バイト"
#: template/defaultfilters.py:739
#: template/defaultfilters.py:776
#, python-format
msgid "%.1f KB"
msgstr "%.1f KB"
#: template/defaultfilters.py:741
#: template/defaultfilters.py:778
#, python-format
msgid "%.1f MB"
msgstr "%.1f MB"
#: template/defaultfilters.py:742
#: template/defaultfilters.py:779
#, python-format
msgid "%.1f GB"
msgstr "%.1f GB"

View File

@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-09-03 10:01+0900\n"
"POT-Creation-Date: 2008-12-19 13:45+0900\n"
"PO-Revision-Date: 2006-05-08 13:39+0900\n"
"Last-Translator: makoto tsuyuki <mtsuyuki@gmail.com>\n"
"Language-Team: Japanese <django-ja@googlegroups.com>\n"

View File

@ -1,12 +1,12 @@
# translation of django.po to Macedonian
# (c) 2008, The Django Software Foundation
msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-09-03 11:19+0200\n"
"POT-Creation-Date: 2008-12-01 04:27+0100\n"
"PO-Revision-Date: 2008-09-03 11:20+0200\n"
"Last-Translator: Georgi Stanojevski <glisha@gmail.com>\n"
"Last-Translator: Vasil Vangelovski <vvangelovski@gmail.com>\n"
"Language-Team: Macedonian <ossm-members@hedona.on.net.mk>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@ -99,114 +99,122 @@ msgid "Hebrew"
msgstr "Еврејски"
#: conf/global_settings.py:65
msgid "Hindi"
msgstr "Хинди"
#: conf/global_settings.py:66
msgid "Croatian"
msgstr "Хрватски"
#: conf/global_settings.py:66
#: conf/global_settings.py:67
msgid "Icelandic"
msgstr "Исландски"
#: conf/global_settings.py:67
#: conf/global_settings.py:68
msgid "Italian"
msgstr "Италијански"
#: conf/global_settings.py:68
#: conf/global_settings.py:69
msgid "Japanese"
msgstr "Јапонски"
#: conf/global_settings.py:69
#: conf/global_settings.py:70
msgid "Georgian"
msgstr "Грузиски"
#: conf/global_settings.py:70
#: conf/global_settings.py:71
msgid "Korean"
msgstr "Корејски"
#: conf/global_settings.py:71
#: conf/global_settings.py:72
msgid "Khmer"
msgstr "Кмер"
#: conf/global_settings.py:72
#: conf/global_settings.py:73
msgid "Kannada"
msgstr "Канада"
#: conf/global_settings.py:73
#: conf/global_settings.py:74
msgid "Latvian"
msgstr "Латвиски"
#: conf/global_settings.py:74
#: conf/global_settings.py:75
msgid "Lithuanian"
msgstr "Литвански"
#: conf/global_settings.py:75
#: conf/global_settings.py:76
msgid "Macedonian"
msgstr "Македонски"
#: conf/global_settings.py:76
#: conf/global_settings.py:77
msgid "Dutch"
msgstr "Холандски"
#: conf/global_settings.py:77
#: conf/global_settings.py:78
msgid "Norwegian"
msgstr "Норвешки"
#: conf/global_settings.py:78
#: conf/global_settings.py:79
msgid "Polish"
msgstr "Полски"
#: conf/global_settings.py:79
msgid "Portugese"
#: conf/global_settings.py:80
msgid "Portuguese"
msgstr "Португалкски"
#: conf/global_settings.py:80
#: conf/global_settings.py:81
msgid "Brazilian Portuguese"
msgstr "Бразилско португалски"
#: conf/global_settings.py:81
#: conf/global_settings.py:82
msgid "Romanian"
msgstr "Романски"
#: conf/global_settings.py:82
#: conf/global_settings.py:83
msgid "Russian"
msgstr "Руски"
#: conf/global_settings.py:83
#: conf/global_settings.py:84
msgid "Slovak"
msgstr "Словачки"
#: conf/global_settings.py:84
#: conf/global_settings.py:85
msgid "Slovenian"
msgstr "Словенечки"
#: conf/global_settings.py:85
#: conf/global_settings.py:86
msgid "Serbian"
msgstr "Српски"
#: conf/global_settings.py:86
#: conf/global_settings.py:87
msgid "Swedish"
msgstr "Шведски"
#: conf/global_settings.py:87
#: conf/global_settings.py:88
msgid "Tamil"
msgstr "Тамил"
#: conf/global_settings.py:88
#: conf/global_settings.py:89
msgid "Telugu"
msgstr "Телугу"
#: conf/global_settings.py:89
#: conf/global_settings.py:90
msgid "Thai"
msgstr "Тајландски"
#: conf/global_settings.py:91
msgid "Turkish"
msgstr "Турски"
#: conf/global_settings.py:90
#: conf/global_settings.py:92
msgid "Ukrainian"
msgstr "Украински"
#: conf/global_settings.py:91
#: conf/global_settings.py:93
msgid "Simplified Chinese"
msgstr "Упростен кинески"
#: conf/global_settings.py:92
#: conf/global_settings.py:94
msgid "Traditional Chinese"
msgstr "Традиционален кинески"
@ -219,40 +227,40 @@ msgstr ""
"<h3>Од %s:</h3>\n"
"<ul>\n"
#: contrib/admin/filterspecs.py:74 contrib/admin/filterspecs.py:92
#: contrib/admin/filterspecs.py:147 contrib/admin/filterspecs.py:173
#: contrib/admin/filterspecs.py:74 contrib/admin/filterspecs.py:91
#: contrib/admin/filterspecs.py:146 contrib/admin/filterspecs.py:172
msgid "All"
msgstr "Сите"
#: contrib/admin/filterspecs.py:113
#: contrib/admin/filterspecs.py:112
msgid "Any date"
msgstr "Било кој датум"
#: contrib/admin/filterspecs.py:114
#: contrib/admin/filterspecs.py:113
msgid "Today"
msgstr "Денеска"
#: contrib/admin/filterspecs.py:117
#: contrib/admin/filterspecs.py:116
msgid "Past 7 days"
msgstr "Последните 7 дена"
#: contrib/admin/filterspecs.py:119
#: contrib/admin/filterspecs.py:118
msgid "This month"
msgstr "Овој месец"
#: contrib/admin/filterspecs.py:121
#: contrib/admin/filterspecs.py:120
msgid "This year"
msgstr "Оваа година"
#: contrib/admin/filterspecs.py:147 forms/widgets.py:391
#: contrib/admin/filterspecs.py:146 forms/widgets.py:390
msgid "Yes"
msgstr "Да"
#: contrib/admin/filterspecs.py:147 forms/widgets.py:391
#: contrib/admin/filterspecs.py:146 forms/widgets.py:390
msgid "No"
msgstr "Не"
#: contrib/admin/filterspecs.py:154 forms/widgets.py:391
#: contrib/admin/filterspecs.py:153 forms/widgets.py:390
msgid "Unknown"
msgstr "Непознато"
@ -294,7 +302,7 @@ msgid "Changed %s."
msgstr "Изменета %s."
#: contrib/admin/options.py:338 contrib/admin/options.py:348
#: forms/models.py:275
#: contrib/comments/templates/comments/preview.html:15 forms/models.py:288
msgid "and"
msgstr "и"
@ -339,35 +347,41 @@ msgstr "%(name)s \"%(obj)s\" беше успешно изменета."
#: contrib/admin/options.py:460
#, python-format
msgid "The %(name)s \"%(obj)s\" was added successfully. You may edit it again below."
msgid ""
"The %(name)s \"%(obj)s\" was added successfully. You may edit it again below."
msgstr ""
"%(name)s \"%(obj)s\" беше успешно додадена.Подолу можете повторно да ја "
"уредите."
#: contrib/admin/options.py:536
#: contrib/admin/options.py:528
#, python-format
msgid "Add %s"
msgstr "Додади %s"
#: contrib/admin/options.py:614
#: contrib/admin/options.py:559 contrib/admin/options.py:673
#, python-format
msgid "%(name)s object with primary key %(key)r does not exist."
msgstr ""
#: contrib/admin/options.py:606
#, python-format
msgid "Change %s"
msgstr "Измени %s"
#: contrib/admin/options.py:646
#: contrib/admin/options.py:638
msgid "Database error"
msgstr "Грешка во базата со податоци"
#: contrib/admin/options.py:696
#: contrib/admin/options.py:688
#, python-format
msgid "The %(name)s \"%(obj)s\" was deleted successfully."
msgstr "%(name)s \"%(obj)s\" беше избришана успешно."
#: contrib/admin/options.py:703
#: contrib/admin/options.py:695
msgid "Are you sure?"
msgstr "Сигурни сте?"
#: contrib/admin/options.py:732
#: contrib/admin/options.py:724
#, python-format
msgid "Change history: %s"
msgstr "Историја на измени: %s"
@ -381,11 +395,11 @@ msgstr ""
"Ве молам внесете точно корисничко име и лозинка. Имајте на ум дека и во "
"двете полиња се битни големите и малите букви."
#: contrib/admin/sites.py:227 contrib/admin/views/decorators.py:40
#: contrib/admin/sites.py:226 contrib/admin/views/decorators.py:40
msgid "Please log in again, because your session has expired."
msgstr "Ве молам најавете се повторно бидејќи вашата сесија е истечена."
#: contrib/admin/sites.py:234 contrib/admin/views/decorators.py:47
#: contrib/admin/sites.py:233 contrib/admin/views/decorators.py:47
msgid ""
"Looks like your browser isn't configured to accept cookies. Please enable "
"cookies, reload this page, and try again."
@ -393,27 +407,27 @@ msgstr ""
"Изгледа дека вашиот прелистувач не е конфигуриран да прифаќа колачиња. Ве "
"молам овозможете ги колачињата, превчитајте ја страта и пробајте повторно."
#: contrib/admin/sites.py:250 contrib/admin/sites.py:256
#: contrib/admin/sites.py:249 contrib/admin/sites.py:255
#: contrib/admin/views/decorators.py:66
msgid "Usernames cannot contain the '@' character."
msgstr "Корисничките имиња неможе да го содржат „@“ знакот."
#: contrib/admin/sites.py:253 contrib/admin/views/decorators.py:62
#: contrib/admin/sites.py:252 contrib/admin/views/decorators.py:62
#, python-format
msgid "Your e-mail address is not your username. Try '%s' instead."
msgstr "Вашата е-пошта не е вашето корисничко име. Пробајте со „%s“."
#: contrib/admin/sites.py:313
#: contrib/admin/sites.py:312
msgid "Site administration"
msgstr "Администрација на сајт"
#: contrib/admin/sites.py:326 contrib/admin/templates/admin/login.html:26
#: contrib/admin/sites.py:325 contrib/admin/templates/admin/login.html:26
#: contrib/admin/templates/registration/password_reset_complete.html:14
#: contrib/admin/views/decorators.py:20
msgid "Log in"
msgstr "Најава"
#: contrib/admin/sites.py:373
#: contrib/admin/sites.py:372
#, python-format
msgid "%s administration"
msgstr "%s администрација"
@ -444,11 +458,11 @@ msgstr "Моментално:"
msgid "Change:"
msgstr "Измена:"
#: contrib/admin/widgets.py:121
#: contrib/admin/widgets.py:123
msgid "Lookup"
msgstr "Побарај"
#: contrib/admin/widgets.py:228
#: contrib/admin/widgets.py:230
msgid "Add Another"
msgstr "Додади друго"
@ -463,7 +477,7 @@ msgstr "Се извинуваме, но неможе да ја најдеме с
#: contrib/admin/templates/admin/500.html:4
#: contrib/admin/templates/admin/app_index.html:8
#: contrib/admin/templates/admin/base.html:30
#: contrib/admin/templates/admin/base.html:33
#: contrib/admin/templates/admin/change_form.html:17
#: contrib/admin/templates/admin/change_list.html:8
#: contrib/admin/templates/admin/delete_confirmation.html:6
@ -507,18 +521,18 @@ msgstr ""
msgid "%(name)s"
msgstr "%(name)s"
#: contrib/admin/templates/admin/base.html:25
#: contrib/admin/templates/admin/base.html:28
msgid "Welcome,"
msgstr "Добредојдовте,"
#: contrib/admin/templates/admin/base.html:25
#: contrib/admin/templates/admin/base.html:28
#: contrib/admin/templates/registration/password_change_done.html:3
#: contrib/admin/templates/registration/password_change_form.html:3
#: contrib/admindocs/templates/admin_doc/bookmarklets.html:3
msgid "Documentation"
msgstr "Документација"
#: contrib/admin/templates/admin/base.html:25
#: contrib/admin/templates/admin/base.html:28
#: contrib/admin/templates/admin/auth/user/change_password.html:13
#: contrib/admin/templates/admin/auth/user/change_password.html:46
#: contrib/admin/templates/registration/password_change_done.html:3
@ -526,7 +540,7 @@ msgstr "Документација"
msgid "Change password"
msgstr "Промени лозинка"
#: contrib/admin/templates/admin/base.html:25
#: contrib/admin/templates/admin/base.html:28
#: contrib/admin/templates/registration/password_change_done.html:3
#: contrib/admin/templates/registration/password_change_form.html:3
msgid "Log out"
@ -552,7 +566,7 @@ msgstr "Историја"
#: contrib/admin/templates/admin/change_form.html:28
#: contrib/admin/templates/admin/edit_inline/stacked.html:13
#: contrib/admin/templates/admin/edit_inline/tabular.html:25
#: contrib/admin/templates/admin/edit_inline/tabular.html:27
msgid "View on site"
msgstr "Погледни на сајтот"
@ -658,6 +672,7 @@ msgid "User"
msgstr "Корисник"
#: contrib/admin/templates/admin/object_history.html:24
#: contrib/comments/templates/comments/moderation_queue.html:33
msgid "Action"
msgstr "Акција"
@ -751,7 +766,8 @@ msgstr "Избриши?"
#: contrib/admin/templates/registration/logged_out.html:8
msgid "Thanks for spending some quality time with the Web site today."
msgstr "Ви благодариме што денеска поминавте квалитетно време со интернет страницава."
msgstr ""
"Ви благодариме што денеска поминавте квалитетно време со интернет страницава."
#: contrib/admin/templates/registration/logged_out.html:10
msgid "Log in again"
@ -861,7 +877,8 @@ msgstr ""
#: contrib/admin/templates/registration/password_reset_email.html:2
msgid "You're receiving this e-mail because you requested a password reset"
msgstr "Ја добивата оваа порака бидејќи побаравте да се ресетира вашата лозинка"
msgstr ""
"Ја добивата оваа порака бидејќи побаравте да се ресетира вашата лозинка"
#: contrib/admin/templates/registration/password_reset_email.html:3
#, python-format
@ -901,7 +918,7 @@ msgstr "Е-пошта:"
msgid "Reset my password"
msgstr "Ресетирај ја мојата лозинка"
#: contrib/admin/templatetags/admin_list.py:288
#: contrib/admin/templatetags/admin_list.py:284
msgid "All dates"
msgstr "Сите датуми"
@ -1046,7 +1063,8 @@ msgstr "Текст"
msgid "Time"
msgstr "Час"
#: contrib/admindocs/views.py:339 contrib/comments/forms.py:22
#: contrib/admindocs/views.py:339 contrib/comments/forms.py:21
#: contrib/comments/templates/comments/moderation_queue.html:37
#: contrib/flatpages/admin.py:8 contrib/flatpages/models.py:7
msgid "URL"
msgstr "URL"
@ -1123,7 +1141,8 @@ msgstr "Уреди го овој објект (во овој прозорец)"
#: contrib/admindocs/templates/admin_doc/bookmarklets.html:25
msgid "Jumps to the admin page for pages that represent a single object."
msgstr "Скокнува до админ страницата за страници кои претставуваат единечен објект."
msgstr ""
"Скокнува до админ страницата за страници кои претставуваат единечен објект."
#: contrib/admindocs/templates/admin_doc/bookmarklets.html:27
msgid "Edit this object (new window)"
@ -1163,7 +1182,7 @@ msgid "Change password: %s"
msgstr "Промени лозинка: %s"
#: contrib/auth/forms.py:15 contrib/auth/forms.py:48
#: contrib/auth/models.py:136
#: contrib/auth/models.py:127
msgid ""
"Required. 30 characters or fewer. Alphanumeric characters only (letters, "
"digits and underscores)."
@ -1231,53 +1250,54 @@ msgstr "Стара лозинка"
#: contrib/auth/forms.py:176
msgid "Your old password was entered incorrectly. Please enter it again."
msgstr "Не ја внесовте точно вашата стара лозинка. Ве молам внесете ја повторно."
msgstr ""
"Не ја внесовте точно вашата стара лозинка. Ве молам внесете ја повторно."
#: contrib/auth/models.py:72 contrib/auth/models.py:95
#: contrib/auth/models.py:63 contrib/auth/models.py:86
msgid "name"
msgstr "име"
#: contrib/auth/models.py:74
#: contrib/auth/models.py:65
msgid "codename"
msgstr "кодно име"
#: contrib/auth/models.py:77
#: contrib/auth/models.py:68
msgid "permission"
msgstr "привилегија"
#: contrib/auth/models.py:78 contrib/auth/models.py:96
#: contrib/auth/models.py:69 contrib/auth/models.py:87
msgid "permissions"
msgstr "привилегии"
#: contrib/auth/models.py:99
#: contrib/auth/models.py:90
msgid "group"
msgstr "група"
#: contrib/auth/models.py:100 contrib/auth/models.py:146
#: contrib/auth/models.py:91 contrib/auth/models.py:137
msgid "groups"
msgstr "групи"
#: contrib/auth/models.py:136
#: contrib/auth/models.py:127
msgid "username"
msgstr "корисничко име"
#: contrib/auth/models.py:137
#: contrib/auth/models.py:128
msgid "first name"
msgstr "име"
#: contrib/auth/models.py:138
#: contrib/auth/models.py:129
msgid "last name"
msgstr "презиме"
#: contrib/auth/models.py:139
#: contrib/auth/models.py:130
msgid "e-mail address"
msgstr "е-пошта"
#: contrib/auth/models.py:140
#: contrib/auth/models.py:131
msgid "password"
msgstr "лозинка"
#: contrib/auth/models.py:140
#: contrib/auth/models.py:131
msgid ""
"Use '[algo]$[salt]$[hexdigest]' or use the <a href=\"password/\">change "
"password form</a>."
@ -1285,19 +1305,20 @@ msgstr ""
"Користете '[algo]$[salt]$[hexdigest]' или користете ја <a href=\"password/"
"\">формата за промена на лозинката</a>."
#: contrib/auth/models.py:141
#: contrib/auth/models.py:132
msgid "staff status"
msgstr "статус на администраторите"
#: contrib/auth/models.py:141
#: contrib/auth/models.py:132
msgid "Designates whether the user can log into this admin site."
msgstr "Означува дали корисникот може да се логира во сајтот за администрација."
msgstr ""
"Означува дали корисникот може да се логира во сајтот за администрација."
#: contrib/auth/models.py:142
#: contrib/auth/models.py:133
msgid "active"
msgstr "активен"
#: contrib/auth/models.py:142
#: contrib/auth/models.py:133
msgid ""
"Designates whether this user should be treated as active. Unselect this "
"instead of deleting accounts."
@ -1305,11 +1326,11 @@ msgstr ""
"Означува дали корисникот треба да биде активен. Одштиклирајте го ова наместо "
"да бришете корисници."
#: contrib/auth/models.py:143
#: contrib/auth/models.py:134
msgid "superuser status"
msgstr "статус на суперкорисник"
#: contrib/auth/models.py:143
#: contrib/auth/models.py:134
msgid ""
"Designates that this user has all permissions without explicitly assigning "
"them."
@ -1317,15 +1338,15 @@ msgstr ""
"Означува дека овој корисник ги има сите привилегии без експлицитно да се "
"доделуваат сите."
#: contrib/auth/models.py:144
#: contrib/auth/models.py:135
msgid "last login"
msgstr "последна најава"
#: contrib/auth/models.py:145
#: contrib/auth/models.py:136
msgid "date joined"
msgstr "датум на зачленување"
#: contrib/auth/models.py:147
#: contrib/auth/models.py:138
msgid ""
"In addition to the permissions manually assigned, this user will also get "
"all permissions granted to each group he/she is in."
@ -1333,19 +1354,19 @@ msgstr ""
"Како дополнување на рачно доделени привилегии, овој корисник ќе ги добие "
"автоматски и сите привилегии за секоја група во која тој/таа членува."
#: contrib/auth/models.py:148
#: contrib/auth/models.py:139
msgid "user permissions"
msgstr "кориснички привилегии"
#: contrib/auth/models.py:152
#: contrib/auth/models.py:143
msgid "user"
msgstr "корисник"
#: contrib/auth/models.py:153
#: contrib/auth/models.py:144
msgid "users"
msgstr "корисници"
#: contrib/auth/models.py:308
#: contrib/auth/models.py:300
msgid "message"
msgstr "порака"
@ -1365,23 +1386,27 @@ msgstr "Содржина"
msgid "Metadata"
msgstr "Метаподатоци"
#: contrib/comments/forms.py:20
#: contrib/comments/forms.py:19
#: contrib/comments/templates/comments/moderation_queue.html:34
msgid "Name"
msgstr "Име"
#: contrib/comments/forms.py:21
#: contrib/comments/forms.py:20
msgid "Email address"
msgstr "Е-пошта"
#: contrib/comments/forms.py:23
#: contrib/comments/forms.py:22
#: contrib/comments/templates/comments/moderation_queue.html:35
msgid "Comment"
msgstr "Коментар"
#: contrib/comments/forms.py:26
msgid "If you enter anything in this field your comment will be treated as spam"
msgstr "Ако внесете нешто во ова поле вашиот коментар ќе биде означен како спам"
#: contrib/comments/forms.py:25
msgid ""
"If you enter anything in this field your comment will be treated as spam"
msgstr ""
"Ако внесете нешто во ова поле вашиот коментар ќе биде означен како спам"
#: contrib/comments/forms.py:126
#: contrib/comments/forms.py:125
#, python-format
msgid "Watch your mouth! The word %s is not allowed here."
msgid_plural "Watch your mouth! The words %s are not allowed here."
@ -1417,8 +1442,10 @@ msgid "is public"
msgstr "е јавен"
#: contrib/comments/models.py:60
msgid "Uncheck this box to make the comment effectively disappear from the site."
msgstr "Одштиклирајте го ова за да направите коментаров да исчезне од овој сајт."
msgid ""
"Uncheck this box to make the comment effectively disappear from the site."
msgstr ""
"Одштиклирајте го ова за да направите коментаров да исчезне од овој сајт."
#: contrib/comments/models.py:62
msgid "is removed"
@ -1463,29 +1490,158 @@ msgstr ""
"\n"
"http://%(domain)s%(url)s"
#: contrib/comments/templates/comments/approve.html:4
msgid "Approve a comment"
msgstr "Одобри коментар"
#: contrib/comments/templates/comments/approve.html:7
msgid "Really make this comment public?"
msgstr "Навистина ли сакате овој коментар да биде објавен?"
#: contrib/comments/templates/comments/approve.html:12
#: contrib/comments/templates/comments/moderation_queue.html:49
msgid "Approve"
msgstr "Одобри"
#: contrib/comments/templates/comments/approved.html:4
msgid "Thanks for approving"
msgstr "Ви благодариме што одобривте"
#: contrib/comments/templates/comments/approved.html:7
#: contrib/comments/templates/comments/deleted.html:7
#: contrib/comments/templates/comments/flagged.html:7
msgid ""
"Thanks for taking the time to improve the quality of discussion on our site"
msgstr "Ви благодариме што допринесовте да се подобри квалитетот на дискусиите на нашиот сајт"
#: contrib/comments/templates/comments/delete.html:4
msgid "Remove a comment"
msgstr "Избриши коментар"
#: contrib/comments/templates/comments/delete.html:7
msgid "Really remove this comment?"
msgstr "Навистина ли сакате да го отстраните овој коментар?"
#: contrib/comments/templates/comments/delete.html:12
#: contrib/comments/templates/comments/moderation_queue.html:53
msgid "Remove"
msgstr "Отстрани"
#: contrib/comments/templates/comments/deleted.html:4
msgid "Thanks for removing"
msgstr "Ви благодариме што отстранивте"
#: contrib/comments/templates/comments/flag.html:4
msgid "Flag this comment"
msgstr "Обележи го овој коментар"
#: contrib/comments/templates/comments/flag.html:7
msgid "Really flag this comment?"
msgstr "Навистина ли сакате да го обележите овој коментар?"
#: contrib/comments/templates/comments/flag.html:12
msgid "Flag"
msgstr "Обележи"
#: contrib/comments/templates/comments/flagged.html:4
msgid "Thanks for flagging"
msgstr "Ви благодариме што обележавте"
#: contrib/comments/templates/comments/form.html:16
#: contrib/comments/templates/comments/preview.html:31
msgid "Post"
msgstr "Објави"
#: contrib/comments/templates/comments/form.html:17
#: contrib/comments/templates/comments/preview.html:32
msgid "Preview"
msgstr "Преглед"
#: contrib/comments/templates/comments/moderation_queue.html:4
#: contrib/comments/templates/comments/moderation_queue.html:19
msgid "Comment moderation queue"
msgstr "Редица за модерирање коментари"
#: contrib/comments/templates/comments/moderation_queue.html:26
msgid "No comments to moderate"
msgstr "Нема коменатари за модерирање"
#: contrib/comments/templates/comments/moderation_queue.html:36
msgid "Email"
msgstr "Е-пошта"
#: contrib/comments/templates/comments/moderation_queue.html:38
msgid "Authenticated?"
msgstr "Автентициран?"
#: contrib/comments/templates/comments/moderation_queue.html:39
msgid "IP Address"
msgstr "ИП адреса"
#: contrib/comments/templates/comments/moderation_queue.html:40
msgid "Date posted"
msgstr "Датум на објава"
#: contrib/comments/templates/comments/moderation_queue.html:63
msgid "yes"
msgstr "да"
#: contrib/comments/templates/comments/moderation_queue.html:63
msgid "no"
msgstr "не"
#: contrib/comments/templates/comments/posted.html:4
msgid "Thanks for commenting"
msgstr "Ви благодариме за коментарот"
#: contrib/comments/templates/comments/posted.html:7
msgid "Thank you for your comment"
msgstr "Ви благодариме за коментарот"
#: contrib/comments/templates/comments/preview.html:4
#: contrib/comments/templates/comments/preview.html:12
msgid "Preview your comment"
msgstr "Прегледајте го вашиот коментар"
#: contrib/comments/templates/comments/preview.html:10
msgid "Please correct the error below"
msgid_plural "Please correct the errors below"
msgstr[0] "Ве молам поправете ја грешката подолу."
msgstr[1] "Ве молам поправете ги грешките подолу."
#: contrib/comments/templates/comments/preview.html:15
msgid "Post your comment"
msgstr "Објавете го вашиот коментар"
#: contrib/comments/templates/comments/preview.html:15
msgid "or make changes"
msgstr "или направете измени"
#: contrib/contenttypes/models.py:67
msgid "python model class name"
msgstr "има на класата на питон моделите"
msgstr "име на класата за python моделoт"
#: contrib/contenttypes/models.py:71
msgid "content type"
msgstr "content type"
msgstr "тип на содржина"
#: contrib/contenttypes/models.py:72
msgid "content types"
msgstr "content types"
msgstr "типови содржини"
#: contrib/flatpages/admin.py:9
msgid "Example: '/about/contact/'. Make sure to have leading and trailing slashes."
msgid ""
"Example: '/about/contact/'. Make sure to have leading and trailing slashes."
msgstr ""
"На пр. „/za/kontakt/“. Осигурајте се да имате коса црта и на крајот и на "
"На пр. „/за_сајтот/контакт/“. Осигурајте се да имате коса црта и на крајот и на "
"почетокот."
#: contrib/flatpages/admin.py:11
msgid ""
"This value must contain only letters, numbers, underscores, dashes or "
"slashes."
msgstr "Оваа вредност смее да има само букви, бројки, долни црти, црти или коси црти."
msgstr ""
"Оваа вредност смее да има само букви, бројки, долни црти, црти или коси црти."
#: contrib/flatpages/admin.py:22
msgid "Advanced options"
@ -1723,7 +1879,8 @@ msgstr "Телефонските броеви мора да бидат во XX-X
msgid ""
"Select a valid brazilian state. That state is not one of the available "
"states."
msgstr "Изберете правилна бразилска држава. Оваа држава не е од достапните држави."
msgstr ""
"Изберете правилна бразилска држава. Оваа држава не е од достапните држави."
#: contrib/localflavor/br/forms.py:94
msgid "Invalid CPF number."
@ -2250,7 +2407,8 @@ msgid "Invalid checksum for CIF."
msgstr "Неправилна контролна сум за CIF."
#: contrib/localflavor/es/forms.py:142
msgid "Please enter a valid bank account number in format XXXX-XXXX-XX-XXXXXXXXXX."
msgid ""
"Please enter a valid bank account number in format XXXX-XXXX-XX-XXXXXXXXXX."
msgstr "Внесете правилна банкарска сметка во формат XXXX-XXXX-XX-XXXXXXXXXX."
#: contrib/localflavor/es/forms.py:143
@ -2266,8 +2424,10 @@ msgid "Enter a zip code in the format XXXXXXX."
msgstr "Внесете правилен поштенски број во форматот XXXXXXXX."
#: contrib/localflavor/is_/forms.py:17
msgid "Enter a valid Icelandic identification number. The format is XXXXXX-XXXX."
msgstr "Внесете валиден идентификационен број од Исланд. Форматот е XXXXXX-XXXX."
msgid ""
"Enter a valid Icelandic identification number. The format is XXXXXX-XXXX."
msgstr ""
"Внесете валиден идентификационен број од Исланд. Форматот е XXXXXX-XXXX."
#: contrib/localflavor/is_/forms.py:18
msgid "The Icelandic identification number is not valid."
@ -2686,8 +2846,10 @@ msgid "Wrong checksum for the National Identification Number."
msgstr "Погрешна проверка за Националниот идентификационен број."
#: contrib/localflavor/pl/forms.py:71
msgid "Enter a tax number field (NIP) in the format XXX-XXX-XX-XX or XX-XX-XXX-XXX."
msgstr "Внесете даночен број (NIP) во форматот XXX-XXX-XX-XX или XX-XX-XXX-XXX."
msgid ""
"Enter a tax number field (NIP) in the format XXX-XXX-XX-XX or XX-XX-XXX-XXX."
msgstr ""
"Внесете даночен број (NIP) во форматот XXX-XXX-XX-XX или XX-XX-XXX-XXX."
#: contrib/localflavor/pl/forms.py:72
msgid "Wrong checksum for the Tax Number (NIP)."
@ -2695,11 +2857,13 @@ msgstr "Даночниот број (NIP) е погрешен."
#: contrib/localflavor/pl/forms.py:111
msgid "National Business Register Number (REGON) consists of 7 or 9 digits."
msgstr "Националниот бизнис регистрациски број (REGON) се состои од 7 или 9 цифри."
msgstr ""
"Националниот бизнис регистрациски број (REGON) се состои од 7 или 9 цифри."
#: contrib/localflavor/pl/forms.py:112
msgid "Wrong checksum for the National Business Register Number (REGON)."
msgstr "Неправилна контролна сум за Националниот бизнис регистрационен број (REGON)."
msgstr ""
"Неправилна контролна сум за Националниот бизнис регистрационен број (REGON)."
#: contrib/localflavor/pl/forms.py:155
msgid "Enter a postal code in the format XX-XXX."
@ -3583,7 +3747,8 @@ msgid "Enter a valid time in HH:MM[:ss[.uuuuuu]] format."
msgstr "Внесете правилно време во HH:MM[:ss[.uuuuuu]] формат."
#: db/models/fields/related.py:761
msgid "Hold down \"Control\", or \"Command\" on a Mac, to select more than one."
msgid ""
"Hold down \"Control\", or \"Command\" on a Mac, to select more than one."
msgstr ""
"Држете го „Control“, или „Command“ на Мекинтош, за да изберете повеќе од "
"едно."
@ -3591,7 +3756,8 @@ msgstr ""
#: db/models/fields/related.py:838
#, python-format
msgid "Please enter valid %(self)s IDs. The value %(value)r is invalid."
msgid_plural "Please enter valid %(self)s IDs. The values %(value)r are invalid."
msgid_plural ""
"Please enter valid %(self)s IDs. The values %(value)r are invalid."
msgstr[0] ""
"Ве молам внесете правилен %(self)s идентификацион број. Оваа вредност %"
"(value)r е неправилна."
@ -3610,12 +3776,14 @@ msgstr "Внесете правилна вредност."
#: forms/fields.py:138
#, python-format
msgid "Ensure this value has at most %(max)d characters (it has %(length)d)."
msgstr "Осигурајте се дека оваа вредност има најмногу %(max)d знаци (има %(length)d)."
msgstr ""
"Осигурајте се дека оваа вредност има најмногу %(max)d знаци (има %(length)d)."
#: forms/fields.py:139
#, python-format
msgid "Ensure this value has at least %(min)d characters (it has %(length)d)."
msgstr "Осигурајте се дека оваа вредност има најмалку %(min)d знаци (има %(length)d)."
msgstr ""
"Осигурајте се дека оваа вредност има најмалку %(min)d знаци (има %(length)d)."
#: forms/fields.py:166
msgid "Enter a whole number."
@ -3650,11 +3818,11 @@ msgstr "Осигурајте се дека нема повеќе од %s дец
msgid "Ensure that there are no more than %s digits before the decimal point."
msgstr "Осигурајте се дека нема повеќе од %s цифри пред децималната запирка."
#: forms/fields.py:287 forms/fields.py:848
#: forms/fields.py:287 forms/fields.py:849
msgid "Enter a valid date."
msgstr "Внесете правилен датум."
#: forms/fields.py:321 forms/fields.py:849
#: forms/fields.py:321 forms/fields.py:850
msgid "Enter a valid time."
msgstr "Внесете правилно време."
@ -3695,16 +3863,17 @@ msgstr "Оваа адреса изгледа дека не е достапна."
msgid "Select a valid choice. %(value)s is not one of the available choices."
msgstr "Внесете валиден избор. %(value)s не е еден од можните избори."
#: forms/fields.py:697 forms/fields.py:758 forms/models.py:654
#: forms/fields.py:697 forms/fields.py:758 forms/models.py:714
msgid "Enter a list of values."
msgstr "Внесете листа на вредности."
#: forms/fields.py:877
#: forms/fields.py:878
msgid "Enter a valid IPv4 address."
msgstr "Внесе правилна IPv4 адреса."
#: forms/fields.py:887
msgid "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
#: forms/fields.py:888
msgid ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr ""
"Внесете правилно кратко име (slug) кое се соддржи од букви, цифри, долна "
"црта или тире."
@ -3713,42 +3882,46 @@ msgstr ""
msgid "Order"
msgstr "Редослед"
#: forms/models.py:268 forms/models.py:277
#: forms/models.py:281 forms/models.py:290
#, python-format
msgid "%(model_name)s with this %(field_label)s already exists."
msgstr "%(model_name)s со %(field_label)s веќе постои."
#: forms/models.py:584
#: forms/models.py:581
msgid "The inline foreign key did not match the parent instance primary key."
msgstr ""
#: forms/models.py:644
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr "Изберете правилно. Тоа не е едно од можните избори."
#: forms/models.py:655
#: forms/models.py:715
#, python-format
msgid "Select a valid choice. %s is not one of the available choices."
msgstr "Внесете правилно. %s не е еден од достапните вредности."
#: template/defaultfilters.py:706
#: template/defaultfilters.py:743
msgid "yes,no,maybe"
msgstr "да, не, можеби"
#: template/defaultfilters.py:737
#: template/defaultfilters.py:774
#, python-format
msgid "%(size)d byte"
msgid_plural "%(size)d bytes"
msgstr[0] "%(size)d бајт"
msgstr[1] "%(size)d бајти"
#: template/defaultfilters.py:739
#: template/defaultfilters.py:776
#, python-format
msgid "%.1f KB"
msgstr "%.1f КБ"
#: template/defaultfilters.py:741
#: template/defaultfilters.py:778
#, python-format
msgid "%.1f MB"
msgstr "%.1f МБ"
#: template/defaultfilters.py:742
#: template/defaultfilters.py:779
#, python-format
msgid "%.1f GB"
msgstr "%.1f ГБ"
@ -4041,4 +4214,3 @@ msgstr "%(verbose_name)s беше успешно ажуриран."
#, python-format
msgid "The %(verbose_name)s was deleted."
msgstr "%(verbose_name)s беше избришан."

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,15 +1,18 @@
#
# Slovak translation of Django
# This file is distributed under the same license as the Django package.
#
msgid ""
msgstr ""
"Project-Id-Version: Django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2007-04-01 19:21+0200\n"
"PO-Revision-Date: 2008-08-09 21:19+0100\n"
"Last-Translator: Frantisek Malina <vizualbod@vizualbod.com>\n"
"Language-Team: \n"
"POT-Creation-Date: 2009-03-20 20:16+0100\n"
"PO-Revision-Date: 2009-03-15 17:23+0100\n"
"Last-Translator: Marian Andre <django@andre.sk>\n"
"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural= (n==1) ? 1 : (n>=2 && n<=4) ? 2 : 0;\n"
#: contrib/admin/media/js/SelectFilter2.js:33
#, perl-format
@ -35,38 +38,42 @@ msgstr "Vybrané %s"
#: contrib/admin/media/js/SelectFilter2.js:54
msgid "Select your choice(s) and click "
msgstr "Vyberte svoje voľby a kliknite"
msgstr "Zvoľte si a kliknite "
#: contrib/admin/media/js/SelectFilter2.js:59
msgid "Clear all"
msgstr "Odstrániť vybrané"
msgstr "Všetko zrušiť"
#: contrib/admin/media/js/dateparse.js:32
#: contrib/admin/media/js/calendar.js:24
msgid "January February March April May June July August September October November December"
msgstr "Január Február Marec Apríl Máj Jún Júl August September Október November December"
#: contrib/admin/media/js/dateparse.js:33
msgid "Sunday Monday Tuesday Wednesday Thursday Friday Saturday"
msgstr "Nedeľa Pondelok Utorok Streda Štvrtok Piatok Sobota"
#: contrib/admin/media/js/dateparse.js:32
msgid ""
"January February March April May June July August September October November "
"December"
msgstr ""
"január február marec apríl máj jún júl august september október november "
"december"
#: contrib/admin/media/js/calendar.js:25
msgid "S M T W T F S"
msgstr "N P U S Š P S"
#: contrib/admin/media/js/dateparse.js:33
msgid "Sunday Monday Tuesday Wednesday Thursday Friday Saturday"
msgstr "nedeľa pondelok utorok streda štvrtok piatok sobota"
#: contrib/admin/media/js/admin/CollapsedFieldsets.js:34
#: contrib/admin/media/js/admin/CollapsedFieldsets.js:72
msgid "Show"
msgstr "Ukáž!"
msgstr "Zobraziť"
#: contrib/admin/media/js/admin/CollapsedFieldsets.js:63
msgid "Hide"
msgstr "Skry!"
msgstr "Skryť"
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:47
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:81
msgid "Now"
msgstr "Práve teraz"
msgstr "Teraz"
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:51
msgid "Clock"
@ -82,7 +89,7 @@ msgstr "Polnoc"
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:83
msgid "6 a.m."
msgstr "6 ráno"
msgstr "6:00"
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:84
msgid "Noon"
@ -91,7 +98,7 @@ msgstr "Poludnie"
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:88
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:183
msgid "Cancel"
msgstr "Zruš"
msgstr "Zruš"
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:128
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:177
@ -109,4 +116,3 @@ msgstr "Včera"
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:179
msgid "Tomorrow"
msgstr "Zajtra"

File diff suppressed because it is too large Load Diff

View File

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-09-03 04:36+0200\n"
"POT-Creation-Date: 2008-11-19 17:19+0100\n"
"PO-Revision-Date: 2008-05-26 11:15+0200\n"
"Last-Translator: Ludvig Ericson <ludvig.ericson@gmail.com>\n"
"Language-Team: Django I18N <Django-I18N@googlegroups.com>\n"
@ -102,114 +102,122 @@ msgid "Hebrew"
msgstr "Hebreiska"
#: conf/global_settings.py:65
msgid "Hindi"
msgstr "Hindi"
#: conf/global_settings.py:66
msgid "Croatian"
msgstr "Kroatiska"
#: conf/global_settings.py:66
#: conf/global_settings.py:67
msgid "Icelandic"
msgstr "Isländska"
#: conf/global_settings.py:67
#: conf/global_settings.py:68
msgid "Italian"
msgstr "Italienska"
#: conf/global_settings.py:68
#: conf/global_settings.py:69
msgid "Japanese"
msgstr "Japanska"
#: conf/global_settings.py:69
#: conf/global_settings.py:70
msgid "Georgian"
msgstr "Georgiska"
#: conf/global_settings.py:70
#: conf/global_settings.py:71
msgid "Korean"
msgstr "Koreanska"
#: conf/global_settings.py:71
#: conf/global_settings.py:72
msgid "Khmer"
msgstr "Khmer"
#: conf/global_settings.py:72
#: conf/global_settings.py:73
msgid "Kannada"
msgstr "Kannada"
#: conf/global_settings.py:73
#: conf/global_settings.py:74
msgid "Latvian"
msgstr "Lettiska"
#: conf/global_settings.py:74
#: conf/global_settings.py:75
msgid "Lithuanian"
msgstr "Lettiska"
#: conf/global_settings.py:75
#: conf/global_settings.py:76
msgid "Macedonian"
msgstr "Makedonska"
#: conf/global_settings.py:76
#: conf/global_settings.py:77
msgid "Dutch"
msgstr "Holländska"
#: conf/global_settings.py:77
#: conf/global_settings.py:78
msgid "Norwegian"
msgstr "Norska"
#: conf/global_settings.py:78
#: conf/global_settings.py:79
msgid "Polish"
msgstr "Polska"
#: conf/global_settings.py:79
msgid "Portugese"
#: conf/global_settings.py:80
msgid "Portuguese"
msgstr "Portugisiska"
#: conf/global_settings.py:80
#: conf/global_settings.py:81
msgid "Brazilian Portuguese"
msgstr "Brasiliensk portugisiska"
#: conf/global_settings.py:81
#: conf/global_settings.py:82
msgid "Romanian"
msgstr "Rumänska"
#: conf/global_settings.py:82
#: conf/global_settings.py:83
msgid "Russian"
msgstr "Ryska"
#: conf/global_settings.py:83
#: conf/global_settings.py:84
msgid "Slovak"
msgstr "Slovakiska"
#: conf/global_settings.py:84
#: conf/global_settings.py:85
msgid "Slovenian"
msgstr "Slovenska"
#: conf/global_settings.py:85
#: conf/global_settings.py:86
msgid "Serbian"
msgstr "Serbiska"
#: conf/global_settings.py:86
#: conf/global_settings.py:87
msgid "Swedish"
msgstr "Svenska"
#: conf/global_settings.py:87
#: conf/global_settings.py:88
msgid "Tamil"
msgstr "Tamilska"
#: conf/global_settings.py:88
#: conf/global_settings.py:89
msgid "Telugu"
msgstr "Telugu"
#: conf/global_settings.py:89
#: conf/global_settings.py:90
msgid "Thai"
msgstr "Thailändska"
#: conf/global_settings.py:91
msgid "Turkish"
msgstr "Turkiska"
#: conf/global_settings.py:90
#: conf/global_settings.py:92
msgid "Ukrainian"
msgstr "Ukrainska"
#: conf/global_settings.py:91
#: conf/global_settings.py:93
msgid "Simplified Chinese"
msgstr "Förenklad Kinesiska"
#: conf/global_settings.py:92
#: conf/global_settings.py:94
msgid "Traditional Chinese"
msgstr "Traditionell Kinesiska"
@ -222,40 +230,40 @@ msgstr ""
"<h3>Av %s:</h3>\n"
"<ul>\n"
#: contrib/admin/filterspecs.py:74 contrib/admin/filterspecs.py:92
#: contrib/admin/filterspecs.py:147 contrib/admin/filterspecs.py:173
#: contrib/admin/filterspecs.py:74 contrib/admin/filterspecs.py:91
#: contrib/admin/filterspecs.py:146 contrib/admin/filterspecs.py:172
msgid "All"
msgstr "Alla"
#: contrib/admin/filterspecs.py:113
#: contrib/admin/filterspecs.py:112
msgid "Any date"
msgstr "Alla datum"
#: contrib/admin/filterspecs.py:114
#: contrib/admin/filterspecs.py:113
msgid "Today"
msgstr "Idag"
#: contrib/admin/filterspecs.py:117
#: contrib/admin/filterspecs.py:116
msgid "Past 7 days"
msgstr "Senaste 7 dagarna"
#: contrib/admin/filterspecs.py:119
#: contrib/admin/filterspecs.py:118
msgid "This month"
msgstr "Denna månad"
#: contrib/admin/filterspecs.py:121
#: contrib/admin/filterspecs.py:120
msgid "This year"
msgstr "Detta år"
#: contrib/admin/filterspecs.py:147 forms/widgets.py:391
#: contrib/admin/filterspecs.py:146 forms/widgets.py:391
msgid "Yes"
msgstr "Ja"
#: contrib/admin/filterspecs.py:147 forms/widgets.py:391
#: contrib/admin/filterspecs.py:146 forms/widgets.py:391
msgid "No"
msgstr "Nej"
#: contrib/admin/filterspecs.py:154 forms/widgets.py:391
#: contrib/admin/filterspecs.py:153 forms/widgets.py:391
msgid "Unknown"
msgstr "Okänt"
@ -297,7 +305,7 @@ msgid "Changed %s."
msgstr "Ändrade %s."
#: contrib/admin/options.py:338 contrib/admin/options.py:348
#: forms/models.py:275
#: contrib/comments/templates/comments/preview.html:15 forms/models.py:288
msgid "and"
msgstr "och"
@ -347,30 +355,35 @@ msgid ""
msgstr ""
"%(name)s \"%(obj)s\" lades till. Du kan redigera objektet igen nedanför."
#: contrib/admin/options.py:536
#: contrib/admin/options.py:528
#, python-format
msgid "Add %s"
msgstr "Lägg till %s"
#: contrib/admin/options.py:614
#: contrib/admin/options.py:559 contrib/admin/options.py:673
#, python-format
msgid "%(name)s object with primary key %(key)r does not exist."
msgstr "%(name)s-objektet med primärnyckeln %(key)r finns inte."
#: contrib/admin/options.py:606
#, python-format
msgid "Change %s"
msgstr "Ändra %s"
#: contrib/admin/options.py:646
#: contrib/admin/options.py:638
msgid "Database error"
msgstr "Databasfel"
#: contrib/admin/options.py:696
#: contrib/admin/options.py:688
#, python-format
msgid "The %(name)s \"%(obj)s\" was deleted successfully."
msgstr "%(name)s \"%(obj)s\" togs bort."
#: contrib/admin/options.py:703
#: contrib/admin/options.py:695
msgid "Are you sure?"
msgstr "Är du säker?"
#: contrib/admin/options.py:732
#: contrib/admin/options.py:724
#, python-format
msgid "Change history: %s"
msgstr "Ändringshistorik: %s"
@ -384,11 +397,11 @@ msgstr ""
"Var god ange ett korrekt användarnamn och lösenord. Tänk på att skilja "
"mellan gemener och versaler."
#: contrib/admin/sites.py:227 contrib/admin/views/decorators.py:40
#: contrib/admin/sites.py:226 contrib/admin/views/decorators.py:40
msgid "Please log in again, because your session has expired."
msgstr "Var god logga in igen, eftersom din session har förfallit."
#: contrib/admin/sites.py:234 contrib/admin/views/decorators.py:47
#: contrib/admin/sites.py:233 contrib/admin/views/decorators.py:47
msgid ""
"Looks like your browser isn't configured to accept cookies. Please enable "
"cookies, reload this page, and try again."
@ -396,27 +409,27 @@ msgstr ""
"Det verkar som att din webläsare inte är konfigurerad att acceptera cookies. "
"Aktivera cookies, ladda om denna sida och försök igen."
#: contrib/admin/sites.py:250 contrib/admin/sites.py:256
#: contrib/admin/sites.py:249 contrib/admin/sites.py:255
#: contrib/admin/views/decorators.py:66
msgid "Usernames cannot contain the '@' character."
msgstr "Användarnamn får inte innehålla '@'-tecknet."
#: contrib/admin/sites.py:253 contrib/admin/views/decorators.py:62
#: contrib/admin/sites.py:252 contrib/admin/views/decorators.py:62
#, python-format
msgid "Your e-mail address is not your username. Try '%s' instead."
msgstr "Din e-postadress är inte ditt användarnamn. Försök med '%s' istället."
#: contrib/admin/sites.py:313
#: contrib/admin/sites.py:312
msgid "Site administration"
msgstr "Webbplatsadministration"
#: contrib/admin/sites.py:326 contrib/admin/templates/admin/login.html:26
#: contrib/admin/sites.py:325 contrib/admin/templates/admin/login.html:26
#: contrib/admin/templates/registration/password_reset_complete.html:14
#: contrib/admin/views/decorators.py:20
msgid "Log in"
msgstr "Logga in"
#: contrib/admin/sites.py:373
#: contrib/admin/sites.py:372
#, python-format
msgid "%s administration"
msgstr "Administration av %s"
@ -447,11 +460,11 @@ msgstr "Aktuell:"
msgid "Change:"
msgstr "Ändra:"
#: contrib/admin/widgets.py:121
#: contrib/admin/widgets.py:123
msgid "Lookup"
msgstr "Uppslag"
#: contrib/admin/widgets.py:228
#: contrib/admin/widgets.py:230
msgid "Add Another"
msgstr "Lägg till ytterligare"
@ -555,7 +568,7 @@ msgstr "Historik"
#: contrib/admin/templates/admin/change_form.html:28
#: contrib/admin/templates/admin/edit_inline/stacked.html:13
#: contrib/admin/templates/admin/edit_inline/tabular.html:25
#: contrib/admin/templates/admin/edit_inline/tabular.html:27
msgid "View on site"
msgstr "Visa på webbplats"
@ -660,6 +673,7 @@ msgid "User"
msgstr "Användare"
#: contrib/admin/templates/admin/object_history.html:24
#: contrib/comments/templates/comments/moderation_queue.html:33
msgid "Action"
msgstr "Händelse"
@ -904,7 +918,7 @@ msgstr "E-postadress:"
msgid "Reset my password"
msgstr "Nollställ mitt lösenord"
#: contrib/admin/templatetags/admin_list.py:288
#: contrib/admin/templatetags/admin_list.py:284
msgid "All dates"
msgstr "Alla datum"
@ -1049,7 +1063,8 @@ msgstr "Text"
msgid "Time"
msgstr "Tid"
#: contrib/admindocs/views.py:339 contrib/comments/forms.py:22
#: contrib/admindocs/views.py:339 contrib/comments/forms.py:21
#: contrib/comments/templates/comments/moderation_queue.html:37
#: contrib/flatpages/admin.py:8 contrib/flatpages/models.py:7
msgid "URL"
msgstr "URL"
@ -1368,29 +1383,31 @@ msgstr "Innehåll"
msgid "Metadata"
msgstr "Metadata"
#: contrib/comments/forms.py:20
#: contrib/comments/forms.py:19
#: contrib/comments/templates/comments/moderation_queue.html:34
msgid "Name"
msgstr "Namn"
#: contrib/comments/forms.py:21
#: contrib/comments/forms.py:20
msgid "Email address"
msgstr "E-postadress"
#: contrib/comments/forms.py:23
#: contrib/comments/forms.py:22
#: contrib/comments/templates/comments/moderation_queue.html:35
msgid "Comment"
msgstr "Kommentar"
#: contrib/comments/forms.py:26
#: contrib/comments/forms.py:25
msgid ""
"If you enter anything in this field your comment will be treated as spam"
msgstr "Om du fyller i detta fält kommer din kommentar att betraktas som spam"
#: contrib/comments/forms.py:126
#: contrib/comments/forms.py:125
#, python-format
msgid "Watch your mouth! The word %s is not allowed here."
msgid_plural "Watch your mouth! The words %s are not allowed here."
msgstr[0] "Akta din tunga! Ordet %s är inte tillåtet här."
msgstr[1] "Akta din tunga! Orden %s är inte tillåtna här."
msgstr[0] "Håll tungan rätt i mun! Ordet %s är inte tillåtet här."
msgstr[1] "Håll tungan rätt i mun! Orden %s är inte tillåtna här."
#: contrib/comments/models.py:23
msgid "object ID"
@ -1423,7 +1440,7 @@ msgstr "är offentlig"
#: contrib/comments/models.py:60
msgid ""
"Uncheck this box to make the comment effectively disappear from the site."
msgstr "Avmarkeras detta kommer kommentaren inte synas på webbplatsen."
msgstr "Bocka av detta så syns kommentaren inte på webbplatsen."
#: contrib/comments/models.py:62
msgid "is removed"
@ -1468,17 +1485,145 @@ msgstr ""
"\n"
"http://%(domain)s%(url)s"
#: contrib/comments/templates/comments/approve.html:4
msgid "Approve a comment"
msgstr "Godkänna kommentarer"
#: contrib/comments/templates/comments/approve.html:7
msgid "Really make this comment public?"
msgstr "Är du säker på att du vill publicera denna kommentar?"
#: contrib/comments/templates/comments/approve.html:12
#: contrib/comments/templates/comments/moderation_queue.html:49
msgid "Approve"
msgstr "Godkänn"
#: contrib/comments/templates/comments/approved.html:4
msgid "Thanks for approving"
msgstr "Tack för ditt godkännande"
#: contrib/comments/templates/comments/approved.html:7
#: contrib/comments/templates/comments/deleted.html:7
#: contrib/comments/templates/comments/flagged.html:7
msgid ""
"Thanks for taking the time to improve the quality of discussion on our site"
msgstr ""
"Tack för att du tog dig tid att förbättra diskussionskvaliteten på vår sida"
#: contrib/comments/templates/comments/delete.html:4
msgid "Remove a comment"
msgstr "Ta bort kommentar"
#: contrib/comments/templates/comments/delete.html:7
msgid "Really remove this comment?"
msgstr "Är du säker på att du vill ta bort denna kommentar?"
#: contrib/comments/templates/comments/delete.html:12
#: contrib/comments/templates/comments/moderation_queue.html:53
msgid "Remove"
msgstr "Ta bort"
#: contrib/comments/templates/comments/deleted.html:4
msgid "Thanks for removing"
msgstr "Tack borttagning"
#: contrib/comments/templates/comments/flag.html:4
msgid "Flag this comment"
msgstr "Flagga denna kommentar"
#: contrib/comments/templates/comments/flag.html:7
msgid "Really flag this comment?"
msgstr "Är du säker på att du vill flagga denna kommentar?"
#: contrib/comments/templates/comments/flag.html:12
msgid "Flag"
msgstr "Flagga"
#: contrib/comments/templates/comments/flagged.html:4
msgid "Thanks for flagging"
msgstr "Tack för flaggningen"
#: contrib/comments/templates/comments/form.html:16
#: contrib/comments/templates/comments/preview.html:31
msgid "Post"
msgstr "Skicka"
#: contrib/comments/templates/comments/form.html:17
#: contrib/comments/templates/comments/preview.html:32
msgid "Preview"
msgstr "Förhandsgranska"
#: contrib/comments/templates/comments/moderation_queue.html:4
#: contrib/comments/templates/comments/moderation_queue.html:19
msgid "Comment moderation queue"
msgstr "Moderera kommentarer"
#: contrib/comments/templates/comments/moderation_queue.html:26
msgid "No comments to moderate"
msgstr "Inga kommentarer att moderera"
#: contrib/comments/templates/comments/moderation_queue.html:36
msgid "Email"
msgstr "E-postadress"
#: contrib/comments/templates/comments/moderation_queue.html:38
msgid "Authenticated?"
msgstr "Autentiserad?"
#: contrib/comments/templates/comments/moderation_queue.html:39
msgid "IP Address"
msgstr "IP-adress"
#: contrib/comments/templates/comments/moderation_queue.html:40
msgid "Date posted"
msgstr "Inskickat den"
#: contrib/comments/templates/comments/moderation_queue.html:63
msgid "yes"
msgstr "ja"
#: contrib/comments/templates/comments/moderation_queue.html:63
msgid "no"
msgstr "nej"
#: contrib/comments/templates/comments/posted.html:4
msgid "Thanks for commenting"
msgstr "Tack för din kommentar"
#: contrib/comments/templates/comments/posted.html:7
msgid "Thank you for your comment"
msgstr "Tack för din kommentar"
#: contrib/comments/templates/comments/preview.html:4
#: contrib/comments/templates/comments/preview.html:12
msgid "Preview your comment"
msgstr "Förhandsgranska din kommentar"
#: contrib/comments/templates/comments/preview.html:10
msgid "Please correct the error below"
msgid_plural "Please correct the errors below"
msgstr[0] "Rätta till felet nedan."
msgstr[1] "Rätta till felen nedan."
#: contrib/comments/templates/comments/preview.html:15
msgid "Post your comment"
msgstr "Skicka kommentar"
#: contrib/comments/templates/comments/preview.html:15
msgid "or make changes"
msgstr "eller ändra den"
#: contrib/contenttypes/models.py:67
msgid "python model class name"
msgstr "python klassnamn för modell"
msgstr "python-klassnamn för modell"
#: contrib/contenttypes/models.py:71
msgid "content type"
msgstr "innehålls typ"
msgstr "innehållstyp"
#: contrib/contenttypes/models.py:72
msgid "content types"
msgstr "innehålls typer"
msgstr "innehållstyper"
#: contrib/flatpages/admin.py:9
msgid ""
@ -1637,11 +1782,11 @@ msgstr "idag"
#: contrib/humanize/templatetags/humanize.py:95
msgid "tomorrow"
msgstr "imorgon"
msgstr "i morgon"
#: contrib/humanize/templatetags/humanize.py:97
msgid "yesterday"
msgstr "igår"
msgstr "i går"
#: contrib/localflavor/ar/forms.py:27
msgid "Enter a postal code in the format NNNN or ANNNNAAA."
@ -3664,11 +3809,11 @@ msgstr "Kontrollera att det inte finns mer än %s decimaler."
msgid "Ensure that there are no more than %s digits before the decimal point."
msgstr "Kontrollera att det inte finns mer än %s siffror före decimaltecknet."
#: forms/fields.py:287 forms/fields.py:848
#: forms/fields.py:287 forms/fields.py:849
msgid "Enter a valid date."
msgstr "Fyll i ett giltigt datum."
#: forms/fields.py:321 forms/fields.py:849
#: forms/fields.py:321 forms/fields.py:850
msgid "Enter a valid time."
msgstr "Fyll i en giltig tid."
@ -3711,15 +3856,15 @@ msgstr ""
"Välj ett giltigt alternativ. %(value)s finns inte bland tillgängliga "
"alternativ."
#: forms/fields.py:697 forms/fields.py:758 forms/models.py:654
#: forms/fields.py:697 forms/fields.py:758 forms/models.py:714
msgid "Enter a list of values."
msgstr "Fyll i en lista med värden."
#: forms/fields.py:877
#: forms/fields.py:878
msgid "Enter a valid IPv4 address."
msgstr "Fyll i en giltig IPv4 adress."
#: forms/fields.py:887
#: forms/fields.py:888
msgid ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr ""
@ -3730,45 +3875,49 @@ msgstr ""
msgid "Order"
msgstr "Sortering"
#: forms/models.py:268 forms/models.py:277
#: forms/models.py:281 forms/models.py:290
#, python-format
msgid "%(model_name)s with this %(field_label)s already exists."
msgstr "%(model_name)s med detta %(field_label)s finns redan."
#: forms/models.py:584
#: forms/models.py:581
msgid "The inline foreign key did not match the parent instance primary key."
msgstr "Inline foreign-key:n matchade inte den ägande instansens primärnyckel."
#: forms/models.py:644
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr ""
"Välj ett giltigt alternativ. Det valet finns inte bland tillgängliga "
"alternativ."
#: forms/models.py:655
#: forms/models.py:715
#, python-format
msgid "Select a valid choice. %s is not one of the available choices."
msgstr ""
"Välj ett giltigt alternativ. %s finns inte bland tillgängliga alternativ."
#: template/defaultfilters.py:706
#: template/defaultfilters.py:743
msgid "yes,no,maybe"
msgstr "ja,nej,kanske"
#: template/defaultfilters.py:737
#: template/defaultfilters.py:774
#, python-format
msgid "%(size)d byte"
msgid_plural "%(size)d bytes"
msgstr[0] "%(size)d byte"
msgstr[1] "%(size)d byte"
#: template/defaultfilters.py:739
#: template/defaultfilters.py:776
#, python-format
msgid "%.1f KB"
msgstr "%.1f KB"
#: template/defaultfilters.py:741
#: template/defaultfilters.py:778
#, python-format
msgid "%.1f MB"
msgstr "%.1f MB"
#: template/defaultfilters.py:742
#: template/defaultfilters.py:779
#, python-format
msgid "%.1f GB"
msgstr "%.1f GB"
@ -4110,9 +4259,6 @@ msgstr "%(verbose_name)s togs bort."
#~ msgid "approved by staff"
#~ msgstr "godkänd av personal"
#~ msgid "free comment"
#~ msgstr "fri kommentar"
#~ msgid "free comments"
#~ msgstr "fria kommentarer"
@ -4179,9 +4325,6 @@ msgstr "%(verbose_name)s togs bort."
#~ msgid "Post a photo"
#~ msgstr "Lägg till foto"
#~ msgid "Preview comment"
#~ msgstr "Förhandsgranska kommentar"
#~ msgid "Your name:"
#~ msgstr "Ditt namn:"

View File

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-09-03 04:36+0200\n"
"POT-Creation-Date: 2008-11-19 17:20+0100\n"
"PO-Revision-Date: 2008-02-01 15:32+0100\n"
"Last-Translator: Ludvig Ericson <ludvig.ericson@gmail.com>\n"
"Language-Team: Django I18N <Django-I18N@googlegroups.com>\n"

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -0,0 +1,119 @@
# This file is distributed under the same license as the Django package.
#
msgid ""
msgstr ""
"Project-Id-Version: Django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-11-10 21:13+1100\n"
"PO-Revision-Date: 2008-11-07 19:34+0700\n"
"Last-Translator: Kowit Charoenratchatabhan <kowito@felspar.com>\n"
"Language-Team: Kowit Charoenratchatabhan,Kadsarin Sanjek, Felspar <kowito@felspar.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-Language: Thai\n"
"X-Poedit-Country: Thailand\n"
"X-Poedit-SourceCharset: utf-8\n"
#: contrib/admin/media/js/SelectFilter2.js:33
#, perl-format
msgid "Available %s"
msgstr "มีอยู่ %s"
#: contrib/admin/media/js/SelectFilter2.js:41
msgid "Choose all"
msgstr "เลือกทั้งหมด"
#: contrib/admin/media/js/SelectFilter2.js:46
msgid "Add"
msgstr "เพิ่ม"
#: contrib/admin/media/js/SelectFilter2.js:48
msgid "Remove"
msgstr "ลบออก"
#: contrib/admin/media/js/SelectFilter2.js:53
#, perl-format
msgid "Chosen %s"
msgstr "ถูกเลือก %s"
#: contrib/admin/media/js/SelectFilter2.js:54
msgid "Select your choice(s) and click "
msgstr "เลือกและคลิก"
#: contrib/admin/media/js/SelectFilter2.js:59
msgid "Clear all"
msgstr "ลบทั้งหมด"
#: contrib/admin/media/js/calendar.js:24
#: contrib/admin/media/js/dateparse.js:32
msgid ""
"January February March April May June July August September October November "
"December"
msgstr ""
"มกราคม กุมภาพันธ์ มีนาคม เมษายน พฤษภาคม มิถุนายน กรกฎาคม สิงหาคม กันยายน ตุลาคม "
"พฤศจิกายน ธันวาคม"
#: contrib/admin/media/js/calendar.js:25
msgid "S M T W T F S"
msgstr "อา. จ. อ. พ. พฤ. ศ. ส."
#: contrib/admin/media/js/dateparse.js:33
msgid "Sunday Monday Tuesday Wednesday Thursday Friday Saturday"
msgstr "อาทิตย์ จันทร์ อังคาร พุธ พฤหัสบดี ศุกร์ เสาร์"
#: contrib/admin/media/js/admin/CollapsedFieldsets.js:34
#: contrib/admin/media/js/admin/CollapsedFieldsets.js:72
msgid "Show"
msgstr "แสดง"
#: contrib/admin/media/js/admin/CollapsedFieldsets.js:63
msgid "Hide"
msgstr "ซ่อน"
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:47
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:81
msgid "Now"
msgstr "ขณะนี้"
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:51
msgid "Clock"
msgstr "นาฬิกา"
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:78
msgid "Choose a time"
msgstr "เลือกเวลา"
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:82
msgid "Midnight"
msgstr "เที่ยงคืน"
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:83
msgid "6 a.m."
msgstr "หกโมงเช้า"
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:84
msgid "Noon"
msgstr "เที่ยงวัน"
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:88
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:183
msgid "Cancel"
msgstr "ยกเลิก"
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:128
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:177
msgid "Today"
msgstr "วันนี้"
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:132
msgid "Calendar"
msgstr "ปฏิทิน"
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:175
msgid "Yesterday"
msgstr "เมื่อวาน"
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:179
msgid "Tomorrow"
msgstr "พรุ่งนี้"

File diff suppressed because it is too large Load Diff

View File

@ -1,118 +1,118 @@
# SOME DESCRIPTIVE TITLE.
# Django, ukrainian translation.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2007-06-28 17:36+1000\n"
"POT-Creation-Date: 2008-11-16 04:00+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Last-Translator: Mykola Zamkovoy <nickzam@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: contrib/admin/media/js/SelectFilter2.js:33
#: .\contrib\admin\media\js\SelectFilter2.js.py:33
#, perl-format
msgid "Available %s"
msgstr ""
msgstr "В наявності %s"
#: contrib/admin/media/js/SelectFilter2.js:41
#: .\contrib\admin\media\js\SelectFilter2.js.py:41
msgid "Choose all"
msgstr ""
msgstr "Обрати всі"
#: contrib/admin/media/js/SelectFilter2.js:46
#: .\contrib\admin\media\js\SelectFilter2.js.py:46
msgid "Add"
msgstr ""
msgstr "Додати"
#: contrib/admin/media/js/SelectFilter2.js:48
#: .\contrib\admin\media\js\SelectFilter2.js.py:48
msgid "Remove"
msgstr ""
msgstr "Видалити"
#: contrib/admin/media/js/SelectFilter2.js:53
#: .\contrib\admin\media\js\SelectFilter2.js.py:53
#, perl-format
msgid "Chosen %s"
msgstr ""
msgstr "Обрано %s"
#: contrib/admin/media/js/SelectFilter2.js:54
#: .\contrib\admin\media\js\SelectFilter2.js.py:54
msgid "Select your choice(s) and click "
msgstr ""
msgstr "Зробіть ваш вибір та клікніть "
#: contrib/admin/media/js/SelectFilter2.js:59
#: .\contrib\admin\media\js\SelectFilter2.js.py:59
msgid "Clear all"
msgstr ""
msgstr "Очистити все"
#: contrib/admin/media/js/dateparse.js:32
#: contrib/admin/media/js/calendar.js:24
#: .\contrib\admin\media\js\calendar.js.py:24
#: .\contrib\admin\media\js\dateparse.js.py:32
msgid ""
"January February March April May June July August September October November "
"December"
msgstr ""
"Січень Лютий Березень Квітень Травень Червень Липень Серпень Вересень Жовтень Листопад "
"Грудень"
#: contrib/admin/media/js/dateparse.js:33
msgid "Sunday Monday Tuesday Wednesday Thursday Friday Saturday"
msgstr ""
#: contrib/admin/media/js/calendar.js:25
#: .\contrib\admin\media\js\calendar.js.py:25
msgid "S M T W T F S"
msgstr ""
msgstr "Нд Пн Вт Ср Чт Пт Сб"
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:47
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:81
msgid "Now"
msgstr ""
#: .\contrib\admin\media\js\dateparse.js.py:33
msgid "Sunday Monday Tuesday Wednesday Thursday Friday Saturday"
msgstr "Неділя Понеділок Вівторок Середа Четвер П'ятниця Субота"
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:51
msgid "Clock"
msgstr ""
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:78
msgid "Choose a time"
msgstr ""
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:82
msgid "Midnight"
msgstr ""
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:83
msgid "6 a.m."
msgstr ""
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:84
msgid "Noon"
msgstr ""
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:88
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:183
msgid "Cancel"
msgstr ""
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:128
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:177
msgid "Today"
msgstr ""
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:132
msgid "Calendar"
msgstr ""
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:175
msgid "Yesterday"
msgstr ""
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:179
msgid "Tomorrow"
msgstr ""
#: contrib/admin/media/js/admin/CollapsedFieldsets.js:34
#: contrib/admin/media/js/admin/CollapsedFieldsets.js:72
#: .\contrib\admin\media\js\admin\CollapsedFieldsets.js.py:34
#: .\contrib\admin\media\js\admin\CollapsedFieldsets.js.py:72
msgid "Show"
msgstr ""
msgstr "Показати"
#: contrib/admin/media/js/admin/CollapsedFieldsets.js:63
#: .\contrib\admin\media\js\admin\CollapsedFieldsets.js.py:63
msgid "Hide"
msgstr ""
msgstr "Сховати"
#: .\contrib\admin\media\js\admin\DateTimeShortcuts.js.py:47
#: .\contrib\admin\media\js\admin\DateTimeShortcuts.js.py:81
msgid "Now"
msgstr "Зараз"
#: .\contrib\admin\media\js\admin\DateTimeShortcuts.js.py:51
msgid "Clock"
msgstr "Годинник"
#: .\contrib\admin\media\js\admin\DateTimeShortcuts.js.py:78
msgid "Choose a time"
msgstr "Оберіть час"
#: .\contrib\admin\media\js\admin\DateTimeShortcuts.js.py:82
msgid "Midnight"
msgstr "північ"
#: .\contrib\admin\media\js\admin\DateTimeShortcuts.js.py:83
msgid "6 a.m."
msgstr "6"
#: .\contrib\admin\media\js\admin\DateTimeShortcuts.js.py:84
msgid "Noon"
msgstr "полудень"
#: .\contrib\admin\media\js\admin\DateTimeShortcuts.js.py:88
#: .\contrib\admin\media\js\admin\DateTimeShortcuts.js.py:183
msgid "Cancel"
msgstr "Відмінити"
#: .\contrib\admin\media\js\admin\DateTimeShortcuts.js.py:128
#: .\contrib\admin\media\js\admin\DateTimeShortcuts.js.py:177
msgid "Today"
msgstr "Сьогодні"
#: .\contrib\admin\media\js\admin\DateTimeShortcuts.js.py:132
msgid "Calendar"
msgstr "Календар"
#: .\contrib\admin\media\js\admin\DateTimeShortcuts.js.py:175
msgid "Yesterday"
msgstr "Вчора"
#: .\contrib\admin\media\js\admin\DateTimeShortcuts.js.py:179
msgid "Tomorrow"
msgstr "Завтра"

File diff suppressed because it is too large Load Diff

View File

@ -2,12 +2,26 @@ from django.contrib.admin.options import ModelAdmin, HORIZONTAL, VERTICAL
from django.contrib.admin.options import StackedInline, TabularInline
from django.contrib.admin.sites import AdminSite, site
# A flag to tell us if autodiscover is running. autodiscover will set this to
# True while running, and False when it finishes.
LOADING = False
def autodiscover():
"""
Auto-discover INSTALLED_APPS admin.py modules and fail silently when
Auto-discover INSTALLED_APPS admin.py modules and fail silently when
not present. This forces an import on them to register any admin bits they
may want.
"""
# Bail out if autodiscover didn't finish loading from a previous call so
# that we avoid running autodiscover again when the URLconf is loaded by
# the exception handler to resolve the handler500 view. This prevents an
# admin.py module with errors from re-registering models and raising a
# spurious AlreadyRegistered exception (see #8245).
global LOADING
if LOADING:
return
LOADING = True
import imp
from django.conf import settings
@ -38,3 +52,5 @@ def autodiscover():
# Step 3: import the app's admin file. If this has errors we want them
# to bubble up.
__import__("%s.admin" % app)
# autodiscover was successful, reset loading flag.
LOADING = False

View File

@ -58,9 +58,10 @@ class RelatedFilterSpec(FilterSpec):
self.lookup_title = f.rel.to._meta.verbose_name
else:
self.lookup_title = f.verbose_name
self.lookup_kwarg = '%s__%s__exact' % (f.name, f.rel.to._meta.pk.name)
rel_name = f.rel.get_related_field().name
self.lookup_kwarg = '%s__%s__exact' % (f.name, rel_name)
self.lookup_val = request.GET.get(self.lookup_kwarg, None)
self.lookup_choices = f.rel.to._default_manager.all()
self.lookup_choices = f.get_choices(include_blank=False)
def has_output(self):
return len(self.lookup_choices) > 1
@ -72,8 +73,7 @@ class RelatedFilterSpec(FilterSpec):
yield {'selected': self.lookup_val is None,
'query_string': cl.get_query_string({}, [self.lookup_kwarg]),
'display': _('All')}
for val in self.lookup_choices:
pk_val = getattr(val, self.field.rel.to._meta.pk.attname)
for pk_val, val in self.lookup_choices:
yield {'selected': self.lookup_val == smart_unicode(pk_val),
'query_string': cl.get_query_string({self.lookup_kwarg: pk_val}),
'display': val}
@ -90,7 +90,7 @@ class ChoicesFilterSpec(FilterSpec):
yield {'selected': self.lookup_val is None,
'query_string': cl.get_query_string({}, [self.lookup_kwarg]),
'display': _('All')}
for k, v in self.field.choices:
for k, v in self.field.flatchoices:
yield {'selected': smart_unicode(k) == self.lookup_val,
'query_string': cl.get_query_string({self.lookup_kwarg: k}),
'display': v}

View File

@ -108,7 +108,10 @@ class InlineAdminFormSet(object):
yield InlineAdminForm(self.formset, form, self.fieldsets, self.opts.prepopulated_fields, None)
def fields(self):
fk = getattr(self.formset, "fk", None)
for field_name in flatten_fieldsets(self.fieldsets):
if fk and fk.name == field_name:
continue
yield self.formset.form.base_fields[field_name]
def _media(self):
@ -126,13 +129,45 @@ class InlineAdminForm(AdminForm):
self.formset = formset
self.original = original
if original is not None:
self.original.content_type_id = ContentType.objects.get_for_model(original).pk
self.original_content_type_id = ContentType.objects.get_for_model(original).pk
self.show_url = original and hasattr(original, 'get_absolute_url')
super(InlineAdminForm, self).__init__(form, fieldsets, prepopulated_fields)
def __iter__(self):
for name, options in self.fieldsets:
yield InlineFieldset(self.formset, self.form, name, **options)
def has_auto_field(self):
if self.form._meta.model._meta.has_auto_field:
return True
# Also search any parents for an auto field.
for parent in self.form._meta.model._meta.get_parent_list():
if parent._meta.has_auto_field:
return True
return False
def field_count(self):
# tabular.html uses this function for colspan value.
num_of_fields = 0
if self.has_auto_field():
num_of_fields += 1
num_of_fields += len(self.fieldsets[0][1]["fields"])
if self.formset.can_order:
num_of_fields += 1
if self.formset.can_delete:
num_of_fields += 1
return num_of_fields
def pk_field(self):
return AdminField(self.form, self.formset._pk_field.name, False)
def fk_field(self):
fk = getattr(self.formset, "fk", None)
if fk:
return AdminField(self.form, fk.name, False)
else:
return ""
def deletion_field(self):
from django.forms.formsets import DELETION_FIELD_NAME
return AdminField(self.form, DELETION_FIELD_NAME, False)
@ -141,6 +176,18 @@ class InlineAdminForm(AdminForm):
from django.forms.formsets import ORDERING_FIELD_NAME
return AdminField(self.form, ORDERING_FIELD_NAME, False)
class InlineFieldset(Fieldset):
def __init__(self, formset, *args, **kwargs):
self.formset = formset
super(InlineFieldset, self).__init__(*args, **kwargs)
def __iter__(self):
fk = getattr(self.formset, "fk", None)
for field in self.fields:
if fk and fk.name == field:
continue
yield Fieldline(self.form, field)
class AdminErrorList(forms.util.ErrorList):
"""
Stores all errors for the form/formsets in an add/change stage view.

View File

@ -54,3 +54,15 @@ fieldset .field-box { float:right; margin-left: 20px; }
/* x unsorted */
.inline-related h2 { text-align:right }
.inline-related h3 span.delete {
padding-right: 20px;
padding-left: inherit;
left: 10px;
right: inherit;
}
.inline-related h3 span.delete label {
margin-left: inherit;
margin-right: 2px;
}

View File

@ -109,11 +109,11 @@ var DateTimeShortcuts = {
// Show the clock box
clock_box.style.display = 'block';
addEvent(window, 'click', function() { DateTimeShortcuts.dismissClock(num); return true; });
addEvent(window.document, 'click', function() { DateTimeShortcuts.dismissClock(num); return true; });
},
dismissClock: function(num) {
document.getElementById(DateTimeShortcuts.clockDivName + num).style.display = 'none';
window.onclick = null;
window.document.onclick = null;
},
handleClockQuicklink: function(num, val) {
DateTimeShortcuts.clockInputs[num].value = val;
@ -224,10 +224,11 @@ var DateTimeShortcuts = {
cal_box.style.top = findPosY(cal_link) - 75 + 'px';
cal_box.style.display = 'block';
addEvent(window, 'click', function() { DateTimeShortcuts.dismissCalendar(num); return true; });
addEvent(window.document, 'click', function() { DateTimeShortcuts.dismissCalendar(num); return true; });
},
dismissCalendar: function(num) {
document.getElementById(DateTimeShortcuts.calendarDivName1+num).style.display = 'none';
window.document.onclick = null;
},
drawPrev: function(num) {
DateTimeShortcuts.calendars[num].drawPreviousMonth();

View File

@ -11,10 +11,25 @@ function html_unescape(text) {
return text;
}
// IE doesn't accept periods or dashes in the window name, but the element IDs
// we use to generate popup window names may contain them, therefore we map them
// to allowed characters in a reversible way so that we can locate the correct
// element when the popup window is dismissed.
function id_to_windowname(text) {
text = text.replace(/\./g, '__dot__');
text = text.replace(/\-/g, '__dash__');
return text;
}
function windowname_to_id(text) {
text = text.replace(/__dot__/g, '.');
text = text.replace(/__dash__/g, '-');
return text;
}
function showRelatedObjectLookupPopup(triggeringLink) {
var name = triggeringLink.id.replace(/^lookup_/, '');
// IE doesn't like periods in the window name, so convert temporarily.
name = name.replace(/\./g, '___');
name = id_to_windowname(name);
var href;
if (triggeringLink.href.search(/\?/) >= 0) {
href = triggeringLink.href + '&pop=1';
@ -27,7 +42,7 @@ function showRelatedObjectLookupPopup(triggeringLink) {
}
function dismissRelatedLookupPopup(win, chosenId) {
var name = win.name.replace(/___/g, '.');
var name = windowname_to_id(win.name);
var elem = document.getElementById(name);
if (elem.className.indexOf('vManyToManyRawIdAdminField') != -1 && elem.value) {
elem.value += ',' + chosenId;
@ -39,7 +54,7 @@ function dismissRelatedLookupPopup(win, chosenId) {
function showAddAnotherPopup(triggeringLink) {
var name = triggeringLink.id.replace(/^add_/, '');
name = name.replace(/\./g, '___');
name = id_to_windowname(name);
href = triggeringLink.href
if (href.indexOf('?') == -1) {
href += '?_popup=1';
@ -56,7 +71,7 @@ function dismissAddAnotherPopup(win, newId, newRepr) {
// django.utils.html.escape.
newId = html_unescape(newId);
newRepr = html_unescape(newRepr);
var name = win.name.replace(/___/g, '.');
var name = windowname_to_id(win.name);
var elem = document.getElementById(name);
if (elem) {
if (elem.nodeName == 'SELECT') {
@ -64,7 +79,11 @@ function dismissAddAnotherPopup(win, newId, newRepr) {
elem.options[elem.options.length] = o;
o.selected = true;
} else if (elem.nodeName == 'INPUT') {
elem.value = newId;
if (elem.className.indexOf('vManyToManyRawIdAdminField') != -1 && elem.value) {
elem.value += ',' + newId;
} else {
elem.value = newId;
}
}
} else {
var toId = name + "_to";

View File

@ -46,7 +46,7 @@ class BaseModelAdmin(object):
If kwargs are given, they're passed to the form Field's constructor.
"""
# If the field specifies choices, we don't need to look for special
# admin widgets - we just need to use a select widget of some kind.
if db_field.choices:
@ -79,17 +79,17 @@ class BaseModelAdmin(object):
if isinstance(db_field, models.TimeField):
kwargs['widget'] = widgets.AdminTimeWidget
return db_field.formfield(**kwargs)
# For TextFields, add a custom CSS class.
if isinstance(db_field, models.TextField):
kwargs['widget'] = widgets.AdminTextareaWidget
return db_field.formfield(**kwargs)
# For URLFields, add a custom CSS class.
if isinstance(db_field, models.URLField):
kwargs['widget'] = widgets.AdminURLFieldWidget
return db_field.formfield(**kwargs)
# For IntegerFields, add a custom CSS class.
if isinstance(db_field, models.IntegerField):
kwargs['widget'] = widgets.AdminIntegerFieldWidget
@ -104,7 +104,7 @@ class BaseModelAdmin(object):
if isinstance(db_field, models.CharField):
kwargs['widget'] = widgets.AdminTextInputWidget
return db_field.formfield(**kwargs)
# For FileFields and ImageFields add a link to the current file.
if isinstance(db_field, models.ImageField) or isinstance(db_field, models.FileField):
kwargs['widget'] = widgets.AdminFileWidget
@ -267,10 +267,12 @@ class ModelAdmin(BaseModelAdmin):
exclude = []
else:
exclude = list(self.exclude)
# if exclude is an empty list we pass None to be consistant with the
# default on modelform_factory
defaults = {
"form": self.form,
"fields": fields,
"exclude": exclude + kwargs.get("exclude", []),
"exclude": (exclude + kwargs.get("exclude", [])) or None,
"formfield_callback": self.formfield_for_dbfield,
}
defaults.update(kwargs)
@ -279,56 +281,56 @@ class ModelAdmin(BaseModelAdmin):
def get_formsets(self, request, obj=None):
for inline in self.inline_instances:
yield inline.get_formset(request, obj)
def log_addition(self, request, object):
"""
Log that an object has been successfully added.
Log that an object has been successfully added.
The default implementation creates an admin LogEntry object.
"""
from django.contrib.admin.models import LogEntry, ADDITION
LogEntry.objects.log_action(
user_id = request.user.pk,
user_id = request.user.pk,
content_type_id = ContentType.objects.get_for_model(object).pk,
object_id = object.pk,
object_repr = force_unicode(object),
object_repr = force_unicode(object),
action_flag = ADDITION
)
def log_change(self, request, object, message):
"""
Log that an object has been successfully changed.
Log that an object has been successfully changed.
The default implementation creates an admin LogEntry object.
"""
from django.contrib.admin.models import LogEntry, CHANGE
LogEntry.objects.log_action(
user_id = request.user.pk,
content_type_id = ContentType.objects.get_for_model(object).pk,
object_id = object.pk,
object_repr = force_unicode(object),
action_flag = CHANGE,
user_id = request.user.pk,
content_type_id = ContentType.objects.get_for_model(object).pk,
object_id = object.pk,
object_repr = force_unicode(object),
action_flag = CHANGE,
change_message = message
)
def log_deletion(self, request, object, object_repr):
"""
Log that an object has been successfully deleted. Note that since the
object is deleted, it might no longer be safe to call *any* methods
on the object, hence this method getting object_repr.
The default implementation creates an admin LogEntry object.
"""
from django.contrib.admin.models import LogEntry, DELETION
LogEntry.objects.log_action(
user_id = request.user.id,
content_type_id = ContentType.objects.get_for_model(self.model).pk,
object_id = object.pk,
user_id = request.user.id,
content_type_id = ContentType.objects.get_for_model(self.model).pk,
object_id = object.pk,
object_repr = object_repr,
action_flag = DELETION
)
def construct_change_message(self, request, form, formsets):
"""
Construct a change message from a changed object.
@ -342,22 +344,22 @@ class ModelAdmin(BaseModelAdmin):
for added_object in formset.new_objects:
change_message.append(_('Added %(name)s "%(object)s".')
% {'name': added_object._meta.verbose_name,
'object': added_object})
'object': force_unicode(added_object)})
for changed_object, changed_fields in formset.changed_objects:
change_message.append(_('Changed %(list)s for %(name)s "%(object)s".')
% {'list': get_text_list(changed_fields, _('and')),
'name': changed_object._meta.verbose_name,
'object': changed_object})
'object': force_unicode(changed_object)})
for deleted_object in formset.deleted_objects:
change_message.append(_('Deleted %(name)s "%(object)s".')
% {'name': deleted_object._meta.verbose_name,
'object': deleted_object})
'object': force_unicode(deleted_object)})
change_message = ' '.join(change_message)
return change_message or _('No fields changed.')
def message_user(self, request, message):
"""
Send a message to the user. The default implementation
Send a message to the user. The default implementation
posts a message using the auth Message object.
"""
request.user.message_set.create(message=message)
@ -368,7 +370,7 @@ class ModelAdmin(BaseModelAdmin):
the object is being changed, and False if it's being added.
"""
return form.save(commit=False)
def save_model(self, request, obj, form, change):
"""
Given a model instance save it to the database.
@ -406,14 +408,14 @@ class ModelAdmin(BaseModelAdmin):
"admin/%s/change_form.html" % app_label,
"admin/change_form.html"
], context, context_instance=template.RequestContext(request))
def response_add(self, request, obj, post_url_continue='../%s/'):
"""
Determines the HttpResponse for the add_view stage.
"""
opts = obj._meta
pk_value = obj._get_pk_val()
msg = _('The %(name)s "%(obj)s" was added successfully.') % {'name': force_unicode(opts.verbose_name), 'obj': force_unicode(obj)}
# Here, we distinguish between different save types by checking for
# the presence of keys in request.POST.
@ -422,7 +424,7 @@ class ModelAdmin(BaseModelAdmin):
if request.POST.has_key("_popup"):
post_url_continue += "?_popup=1"
return HttpResponseRedirect(post_url_continue % pk_value)
if request.POST.has_key("_popup"):
return HttpResponse('<script type="text/javascript">opener.dismissAddAnotherPopup(window, "%s", "%s");</script>' % \
# escape() calls force_unicode.
@ -441,14 +443,14 @@ class ModelAdmin(BaseModelAdmin):
else:
post_url = '../../../'
return HttpResponseRedirect(post_url)
def response_change(self, request, obj):
"""
Determines the HttpResponse for the change_view stage.
"""
opts = obj._meta
pk_value = obj._get_pk_val()
msg = _('The %(name)s "%(obj)s" was changed successfully.') % {'name': force_unicode(opts.verbose_name), 'obj': force_unicode(obj)}
if request.POST.has_key("_continue"):
self.message_user(request, msg + ' ' + _("You may edit it again below."))
@ -485,17 +487,23 @@ class ModelAdmin(BaseModelAdmin):
else:
form_validated = False
new_object = self.model()
prefixes = {}
for FormSet in self.get_formsets(request):
prefix = FormSet.get_default_prefix()
prefixes[prefix] = prefixes.get(prefix, 0) + 1
if prefixes[prefix] != 1:
prefix = "%s-%s" % (prefix, prefixes[prefix])
formset = FormSet(data=request.POST, files=request.FILES,
instance=new_object,
save_as_new=request.POST.has_key("_saveasnew"))
save_as_new=request.POST.has_key("_saveasnew"),
prefix=prefix)
formsets.append(formset)
if all_valid(formsets) and form_validated:
self.save_model(request, new_object, form, change=False)
form.save_m2m()
for formset in formsets:
self.save_formset(request, form, formset, change=False)
self.log_addition(request, new_object)
return self.response_add(request, new_object)
else:
@ -510,8 +518,13 @@ class ModelAdmin(BaseModelAdmin):
if isinstance(f, models.ManyToManyField):
initial[k] = initial[k].split(",")
form = ModelForm(initial=initial)
prefixes = {}
for FormSet in self.get_formsets(request):
formset = FormSet(instance=self.model())
prefix = FormSet.get_default_prefix()
prefixes[prefix] = prefixes.get(prefix, 0) + 1
if prefixes[prefix] != 1:
prefix = "%s-%s" % (prefix, prefixes[prefix])
formset = FormSet(instance=self.model(), prefix=prefix)
formsets.append(formset)
adminForm = helpers.AdminForm(form, list(self.get_fieldsets(request)), self.prepopulated_fields)
@ -536,7 +549,7 @@ class ModelAdmin(BaseModelAdmin):
'app_label': opts.app_label,
}
context.update(extra_context or {})
return self.render_change_form(request, context, add=True)
return self.render_change_form(request, context, form_url=form_url, add=True)
add_view = transaction.commit_on_success(add_view)
def change_view(self, request, object_id, extra_context=None):
@ -545,7 +558,7 @@ class ModelAdmin(BaseModelAdmin):
opts = model._meta
try:
obj = model._default_manager.get(pk=object_id)
obj = self.queryset(request).get(pk=object_id)
except model.DoesNotExist:
# Don't raise Http404 just yet, because we haven't checked
# permissions yet. We don't want an unauthenticated user to be able
@ -556,10 +569,10 @@ class ModelAdmin(BaseModelAdmin):
raise PermissionDenied
if obj is None:
raise Http404('%s object with primary key %r does not exist.' % (force_unicode(opts.verbose_name), escape(object_id)))
raise Http404(_('%(name)s object with primary key %(key)r does not exist.') % {'name': force_unicode(opts.verbose_name), 'key': escape(object_id)})
if request.method == 'POST' and request.POST.has_key("_saveasnew"):
return self.add_view(request, form_url='../../add/')
return self.add_view(request, form_url='../add/')
ModelForm = self.get_form(request, obj)
formsets = []
@ -571,9 +584,14 @@ class ModelAdmin(BaseModelAdmin):
else:
form_validated = False
new_object = obj
prefixes = {}
for FormSet in self.get_formsets(request, new_object):
prefix = FormSet.get_default_prefix()
prefixes[prefix] = prefixes.get(prefix, 0) + 1
if prefixes[prefix] != 1:
prefix = "%s-%s" % (prefix, prefixes[prefix])
formset = FormSet(request.POST, request.FILES,
instance=new_object)
instance=new_object, prefix=prefix)
formsets.append(formset)
if all_valid(formsets) and form_validated:
@ -581,14 +599,20 @@ class ModelAdmin(BaseModelAdmin):
form.save_m2m()
for formset in formsets:
self.save_formset(request, form, formset, change=True)
change_message = self.construct_change_message(request, form, formsets)
self.log_change(request, new_object, change_message)
return self.response_change(request, new_object)
else:
form = ModelForm(instance=obj)
prefixes = {}
for FormSet in self.get_formsets(request, obj):
formset = FormSet(instance=obj)
prefix = FormSet.get_default_prefix()
prefixes[prefix] = prefixes.get(prefix, 0) + 1
if prefixes[prefix] != 1:
prefix = "%s-%s" % (prefix, prefixes[prefix])
formset = FormSet(instance=obj, prefix=prefix)
formsets.append(formset)
adminForm = helpers.AdminForm(form, self.get_fieldsets(request, obj), self.prepopulated_fields)
@ -658,7 +682,7 @@ class ModelAdmin(BaseModelAdmin):
app_label = opts.app_label
try:
obj = self.model._default_manager.get(pk=object_id)
obj = self.queryset(request).get(pk=object_id)
except self.model.DoesNotExist:
# Don't raise Http404 just yet, because we haven't checked
# permissions yet. We don't want an unauthenticated user to be able
@ -669,7 +693,7 @@ class ModelAdmin(BaseModelAdmin):
raise PermissionDenied
if obj is None:
raise Http404('%s object with primary key %r does not exist.' % (force_unicode(opts.verbose_name), escape(object_id)))
raise Http404(_('%(name)s object with primary key %(key)r does not exist.') % {'name': force_unicode(opts.verbose_name), 'key': escape(object_id)})
# Populate deleted_objects, a data structure of all related objects that
# will also be deleted.
@ -681,11 +705,11 @@ class ModelAdmin(BaseModelAdmin):
if perms_needed:
raise PermissionDenied
obj_display = force_unicode(obj)
obj.delete()
self.log_deletion(request, obj, obj_display)
obj.delete()
self.message_user(request, _('The %(name)s "%(obj)s" was deleted successfully.') % {'name': force_unicode(opts.verbose_name), 'obj': force_unicode(obj_display)})
if not self.has_change_permission(request, None):
return HttpResponseRedirect("../../../../")
return HttpResponseRedirect("../../")
@ -760,7 +784,7 @@ class InlineModelAdmin(BaseModelAdmin):
self.verbose_name = self.model._meta.verbose_name
if self.verbose_name_plural is None:
self.verbose_name_plural = self.model._meta.verbose_name_plural
def _media(self):
from django.conf import settings
js = []
@ -781,12 +805,14 @@ class InlineModelAdmin(BaseModelAdmin):
exclude = []
else:
exclude = list(self.exclude)
# if exclude is an empty list we use None, since that's the actual
# default
defaults = {
"form": self.form,
"formset": self.formset,
"fk_name": self.fk_name,
"fields": fields,
"exclude": exclude + kwargs.get("exclude", []),
"exclude": (exclude + kwargs.get("exclude", [])) or None,
"formfield_callback": self.formfield_for_dbfield,
"extra": self.extra,
"max_num": self.max_num,

View File

@ -25,7 +25,7 @@ class NotRegistered(Exception):
class AdminSite(object):
"""
An AdminSite object encapsulates an instance of the Django admin application, ready
to be hooked in to your URLConf. Models are registered with the AdminSite using the
to be hooked in to your URLconf. Models are registered with the AdminSite using the
register() method, and the root() method can then be used as a Django view function
that presents a full admin interface for the collection of registered models.
"""
@ -49,14 +49,15 @@ class AdminSite(object):
If a model is already registered, this will raise AlreadyRegistered.
"""
if not admin_class:
admin_class = ModelAdmin
# Don't import the humongous validation code unless required
if admin_class and settings.DEBUG:
from django.contrib.admin.validation import validate
else:
validate = lambda model, adminclass: None
if not admin_class:
admin_class = ModelAdmin
if isinstance(model_or_iterable, ModelBase):
model_or_iterable = [model_or_iterable]
for model in model_or_iterable:

View File

@ -8,6 +8,7 @@
{% block breadcrumbs %}{% if not is_popup %}
<div class="breadcrumbs">
<a href="../../../../">{% trans "Home" %}</a> &rsaquo;
<a href="../../../">{{ opts.app_label|capfirst|escape }}</a> &rsaquo;
<a href="../../">{{ opts.verbose_name_plural|capfirst }}</a> &rsaquo;
<a href="../">{{ original|truncatewords:"18" }}</a> &rsaquo;
{% trans 'Change password' %}

View File

@ -16,7 +16,7 @@
<div class="breadcrumbs">
<a href="../../../">{% trans "Home" %}</a> &rsaquo;
<a href="../../">{{ app_label|capfirst|escape }}</a> &rsaquo;
<a href="../">{{ opts.verbose_name_plural|capfirst }}</a> &rsaquo;
{% if has_change_permission %}<a href="../">{{ opts.verbose_name_plural|capfirst }}</a>{% else %}{{ opts.verbose_name_plural|capfirst }}{% endif %} &rsaquo;
{% if add %}{% trans "Add" %} {{ opts.verbose_name }}{% else %}{{ original|truncatewords:"18" }}{% endif %}
</div>
{% endif %}{% endblock %}
@ -35,7 +35,7 @@
{% if save_on_top %}{% submit_row %}{% endif %}
{% if errors %}
<p class="errornote">
{% blocktrans count errors.items|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}
{% blocktrans count errors|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}
</p>
<ul class="errorlist">{% for error in adminform.form.non_field_errors %}<li>{{ error }}</li>{% endfor %}</ul>
{% endif %}
@ -54,7 +54,7 @@
{% submit_row %}
{% if add %}
{% if adminform and add %}
<script type="text/javascript">document.getElementById("{{ adminform.first_field.auto_id }}").focus();</script>
{% endif %}

View File

@ -5,18 +5,20 @@
{{ inline_admin_formset.formset.non_form_errors }}
{% for inline_admin_form in inline_admin_formset %}
<div class="inline-related {% if forloop.last %}last-related{% endif %}">
<div class="inline-related{% if forloop.last %} last-related{% endif %}">
<h3><b>{{ inline_admin_formset.opts.verbose_name|title }}:</b>&nbsp;{% if inline_admin_form.original %}{{ inline_admin_form.original }}{% else %} #{{ forloop.counter }}{% endif %}
{% if inline_admin_formset.formset.can_delete and inline_admin_form.original %}<span class="delete">{{ inline_admin_form.deletion_field.field }} {{ inline_admin_form.deletion_field.label_tag }}</span>{% endif %}
</h3>
{% if inline_admin_form.show_url %}
<p><a href="../../../r/{{ inline_admin_form.original.content_type_id }}/{{ inline_admin_form.original.id }}/">{% trans "View on site" %}</a></p>
<p><a href="../../../r/{{ inline_admin_form.original_content_type_id }}/{{ inline_admin_form.original.id }}/">{% trans "View on site" %}</a></p>
{% endif %}
{% if inline_admin_form.form.non_field_errors %}{{ inline_admin_form.form.non_field_errors }}{% endif %}
{% for fieldset in inline_admin_form %}
{% include "admin/includes/fieldset.html" %}
{% endfor %}
{{ inline_admin_form.pk_field.field }}
{% if inline_admin_form.has_auto_field %}{{ inline_admin_form.pk_field.field }}{% endif %}
{{ inline_admin_form.fk_field.field }}
</div>
{% endfor %}

View File

@ -14,17 +14,20 @@
{% endfor %}
{% if inline_admin_formset.formset.can_delete %}<th>{% trans "Delete?" %}</th>{% endif %}
</tr></thead>
{% for inline_admin_form in inline_admin_formset %}
{% if inline_admin_form.form.non_field_errors %}
<tr><td colspan="{{ inline_admin_form.field_count }}">{{ inline_admin_form.form.non_field_errors }}</td></tr>
{% endif %}
<tr class="{% cycle row1,row2 %} {% if inline_admin_form.original or inline_admin_form.show_url %}has_original{% endif %}">
<td class="original">
{% if inline_admin_form.original or inline_admin_form.show_url %}<p>
{% if inline_admin_form.original %} {{ inline_admin_form.original }}{% endif %}
{% if inline_admin_form.show_url %}<a href="../../../r/{{ inline_admin_form.original.content_type_id }}/{{ inline_admin_form.original.id }}/">{% trans "View on site" %}</a>{% endif %}
{% if inline_admin_form.show_url %}<a href="../../../r/{{ inline_admin_form.original_content_type_id }}/{{ inline_admin_form.original.id }}/">{% trans "View on site" %}</a>{% endif %}
</p>{% endif %}
{{ inline_admin_form.pk_field.field }}
{% if inline_admin_form.has_auto_field %}{{ inline_admin_form.pk_field.field }}{% endif %}
{{ inline_admin_form.fk_field.field }}
{% spaceless %}
{% for fieldset in inline_admin_form %}
{% for line in fieldset %}
@ -46,22 +49,22 @@
{% endfor %}
{% endfor %}
{% endfor %}
{% if inline_admin_formset.formset.can_delete %}
<td class="delete">{% if inline_admin_form.original %}{{ inline_admin_form.deletion_field.field }}{% endif %}</td>
{% endif %}
</tr>
{% endfor %}
</table>
</fieldset>
</div>
{# <ul class="tools"> #}
{# <li><a class="add" href="">Add another {{ inline_admin_formset.opts.verbose_name|title }}</a></li> #}
{# </ul> #}
</div>

View File

@ -59,7 +59,19 @@
{% else %}
<ul class="actionlist">
{% for entry in admin_log %}
<li class="{% if entry.is_addition %}addlink{% endif %}{% if entry.is_change %}changelink{% endif %}{% if entry.is_deletion %}deletelink{% endif %}">{% if not entry.is_deletion %}<a href="{{ entry.get_admin_url }}">{% endif %}{{ entry.object_repr }}{% if not entry.is_deletion %}</a>{% endif %}<br /><span class="mini quiet">{% filter capfirst %}{% trans entry.content_type.name %}{% endfilter %}</span></li>
<li class="{% if entry.is_addition %}addlink{% endif %}{% if entry.is_change %}changelink{% endif %}{% if entry.is_deletion %}deletelink{% endif %}">
{% if entry.is_deletion %}
{{ entry.object_repr }}
{% else %}
<a href="{{ entry.get_admin_url }}">{{ entry.object_repr }}</a>
{% endif %}
<br/>
{% if entry.content_type %}
<span class="mini quiet">{% filter capfirst %}{% trans entry.content_type.name %}{% endfilter %}</span>
{% else %}
<span class="mini quiet">{% trans 'Unknown content' %}</span>
{% endif %}
</li>
{% endfor %}
</ul>
{% endif %}

View File

@ -25,7 +25,7 @@
<h1>{% trans 'Password reset unsuccessful' %}</h1>
<p>{% trans "The password reset link was invalid, possibly because it has already been used. Please request a new password reset." %}
<p>{% trans "The password reset link was invalid, possibly because it has already been used. Please request a new password reset." %}</p>
{% endif %}

View File

@ -205,8 +205,8 @@ def items_for_result(cl, result):
result_repr = EMPTY_CHANGELIST_VALUE
# Fields with choices are special: Use the representation
# of the choice.
elif f.choices:
result_repr = dict(f.choices).get(field_val, EMPTY_CHANGELIST_VALUE)
elif f.flatchoices:
result_repr = dict(f.flatchoices).get(field_val, EMPTY_CHANGELIST_VALUE)
else:
result_repr = escape(field_val)
if force_unicode(result_repr) == '':
@ -222,7 +222,8 @@ def items_for_result(cl, result):
attr = str(cl.to_field)
else:
attr = pk
result_id = repr(force_unicode(getattr(result, attr)))[1:]
value = result.serializable_value(attr)
result_id = repr(force_unicode(value))[1:]
yield mark_safe(u'<%s%s><a href="%s"%s>%s</a></%s>' % \
(table_tag, row_class, url, (cl.is_popup and ' onclick="opener.dismissRelatedLookupPopup(window, %s); return false;"' % result_id or ''), conditional_escape(result_repr), table_tag))
else:

View File

@ -14,9 +14,10 @@ class AdminLogNode(template.Node):
if self.user is None:
context[self.varname] = LogEntry.objects.all().select_related('content_type', 'user')[:self.limit]
else:
if not self.user.isdigit():
self.user = context[self.user].id
context[self.varname] = LogEntry.objects.filter(user__id__exact=self.user).select_related('content_type', 'user')[:self.limit]
user_id = self.user
if not user_id.isdigit():
user_id = context[self.user].id
context[self.varname] = LogEntry.objects.filter(user__id__exact=user_id).select_related('content_type', 'user')[:self.limit]
return ''
class DoGetAdminLog:

View File

@ -88,14 +88,16 @@ def get_deleted_objects(deleted_objects, perms_needed, user, obj, opts, current_
if not has_admin:
# Don't display link to edit, because it either has no
# admin or is edited inline.
nh(deleted_objects, current_depth, [u'%s: %s' % (force_unicode(capfirst(related.opts.verbose_name)), sub_obj), []])
nh(deleted_objects, current_depth,
[u'%s: %s' % (capfirst(related.opts.verbose_name), force_unicode(sub_obj)), []])
else:
# Display a link to the admin page.
nh(deleted_objects, current_depth, [mark_safe(u'%s: <a href="../../../../%s/%s/%s/">%s</a>' %
(escape(force_unicode(capfirst(related.opts.verbose_name))),
related.opts.app_label,
related.opts.object_name.lower(),
sub_obj._get_pk_val(), sub_obj)), []])
(escape(capfirst(related.opts.verbose_name)),
related.opts.app_label,
related.opts.object_name.lower(),
sub_obj._get_pk_val(),
escape(sub_obj))), []])
get_deleted_objects(deleted_objects, perms_needed, user, sub_obj, related.opts, current_depth+2, admin_site)
else:
has_related_objs = False
@ -104,11 +106,16 @@ def get_deleted_objects(deleted_objects, perms_needed, user, obj, opts, current_
if not has_admin:
# Don't display link to edit, because it either has no
# admin or is edited inline.
nh(deleted_objects, current_depth, [u'%s: %s' % (force_unicode(capfirst(related.opts.verbose_name)), sub_obj), []])
nh(deleted_objects, current_depth,
[u'%s: %s' % (capfirst(related.opts.verbose_name), force_unicode(sub_obj)), []])
else:
# Display a link to the admin page.
nh(deleted_objects, current_depth, [mark_safe(u'%s: <a href="../../../../%s/%s/%s/">%s</a>' % \
(escape(force_unicode(capfirst(related.opts.verbose_name))), related.opts.app_label, related.opts.object_name.lower(), sub_obj._get_pk_val(), escape(sub_obj))), []])
nh(deleted_objects, current_depth, [mark_safe(u'%s: <a href="../../../../%s/%s/%s/">%s</a>' %
(escape(capfirst(related.opts.verbose_name)),
related.opts.app_label,
related.opts.object_name.lower(),
sub_obj._get_pk_val(),
escape(sub_obj))), []])
get_deleted_objects(deleted_objects, perms_needed, user, sub_obj, related.opts, current_depth+2, admin_site)
# If there were related objects, and the user doesn't have
# permission to delete them, add the missing perm to perms_needed.

View File

@ -5,7 +5,7 @@ except NameError:
from django.core.exceptions import ImproperlyConfigured
from django.db import models
from django.forms.models import BaseModelForm, BaseModelFormSet, fields_for_model
from django.forms.models import BaseModelForm, BaseModelFormSet, fields_for_model, _get_foreign_key
from django.contrib.admin.options import flatten_fieldsets, BaseModelAdmin
from django.contrib.admin.options import HORIZONTAL, VERTICAL
@ -36,6 +36,8 @@ def validate(cls, model):
except models.FieldDoesNotExist:
raise ImproperlyConfigured("%s.list_display[%d], %r is not a callable or an attribute of %r or found in the model %r."
% (cls.__name__, idx, field, cls.__name__, model._meta.object_name))
else:
# getattr(model, field) could be an X_RelatedObjectsDescriptor
f = fetch_attr(cls, model, opts, "list_display[%d]" % idx, field)
if isinstance(f, models.ManyToManyField):
raise ImproperlyConfigured("'%s.list_display[%d]', '%s' is a ManyToManyField which is not supported."
@ -115,9 +117,9 @@ def validate(cls, model):
raise ImproperlyConfigured("'%s.inlines[%d].model' does not "
"inherit from models.Model." % (cls.__name__, idx))
validate_base(inline, inline.model)
validate_inline(inline)
validate_inline(inline, cls, model)
def validate_inline(cls):
def validate_inline(cls, parent, parent_model):
# model is already verified to exist and be a Model
if cls.fk_name: # default value is None
f = get_field(cls, cls.model, cls.model._meta, 'fk_name', cls.fk_name)
@ -136,6 +138,14 @@ def validate_inline(cls):
raise ImproperlyConfigured("'%s.formset' does not inherit from "
"BaseModelFormSet." % cls.__name__)
# exclude
if hasattr(cls, 'exclude') and cls.exclude:
fk = _get_foreign_key(parent_model, cls.model, can_fail=True)
if fk and fk.name in cls.exclude:
raise ImproperlyConfigured("%s cannot exclude the field "
"'%s' - this is the foreign key to the parent model "
"%s." % (cls.__name__, fk.name, parent_model.__name__))
def validate_base(cls, model):
opts = model._meta

View File

@ -99,14 +99,7 @@ class ChangeList(object):
def get_results(self, request):
paginator = Paginator(self.query_set, self.list_per_page)
# Get the number of objects, with admin filters applied.
try:
result_count = paginator.count
# Naked except! Because we don't have any other way of validating
# "params". They might be invalid if the keyword arguments are
# incorrect, or if the values are not in the correct type (which would
# result in a database error).
except:
raise IncorrectLookupParameters
result_count = paginator.count
# Get the total number of objects, with no admin filters applied.
# Perform a slight optimization: Check to see whether any filters were
@ -122,7 +115,7 @@ class ChangeList(object):
# Get the list of objects to display on this page.
if (self.show_all and can_show_all) or not multi_page:
result_list = list(self.query_set)
result_list = self.query_set._clone()
else:
try:
result_list = paginator.page(self.page_num+1).object_list
@ -157,7 +150,12 @@ class ChangeList(object):
# See whether field_name is a name of a non-field
# that allows sorting.
try:
attr = getattr(self.model, field_name)
if callable(field_name):
attr = field_name
elif hasattr(self.model_admin, field_name):
attr = getattr(self.model_admin, field_name)
else:
attr = getattr(self.model, field_name)
order_field = attr.admin_order_field
except AttributeError:
pass
@ -187,22 +185,32 @@ class ChangeList(object):
lookup_params[key] = value.split(',')
# Apply lookup parameters from the query string.
qs = qs.filter(**lookup_params)
try:
qs = qs.filter(**lookup_params)
# Naked except! Because we don't have any other way of validating "params".
# They might be invalid if the keyword arguments are incorrect, or if the
# values are not in the correct type, so we might get FieldError, ValueError,
# ValicationError, or ? from a custom field that raises yet something else
# when handed impossible data.
except:
raise IncorrectLookupParameters
# Use select_related() if one of the list_display options is a field
# with a relationship.
if self.list_select_related:
qs = qs.select_related()
else:
for field_name in self.list_display:
try:
f = self.lookup_opts.get_field(field_name)
except models.FieldDoesNotExist:
pass
else:
if isinstance(f.rel, models.ManyToOneRel):
qs = qs.select_related()
break
# with a relationship and the provided queryset doesn't already have
# select_related defined.
if not qs.query.select_related:
if self.list_select_related:
qs = qs.select_related()
else:
for field_name in self.list_display:
try:
f = self.lookup_opts.get_field(field_name)
except models.FieldDoesNotExist:
pass
else:
if isinstance(f.rel, models.ManyToOneRel):
qs = qs.select_related()
break
# Set ordering.
if self.order_field:
@ -221,19 +229,13 @@ class ChangeList(object):
if self.search_fields and self.query:
for bit in self.query.split():
or_queries = [models.Q(**{construct_search(field_name): bit}) for field_name in self.search_fields]
other_qs = QuerySet(self.model)
other_qs.dup_select_related(qs)
other_qs = other_qs.filter(reduce(operator.or_, or_queries))
qs = qs & other_qs
or_queries = [models.Q(**{construct_search(str(field_name)): bit}) for field_name in self.search_fields]
qs = qs.filter(reduce(operator.or_, or_queries))
for field_name in self.search_fields:
if '__' in field_name:
qs = qs.distinct()
break
if self.opts.one_to_one_field:
qs = qs.complex_filter(self.opts.one_to_one_field.rel.limit_choices_to)
return qs
def url_for_result(self, result):

View File

@ -131,10 +131,10 @@ class ForeignKeyRawIdWidget(forms.TextInput):
items = []
for k, v in self.rel.limit_choices_to.items():
if isinstance(v, list):
v = [str(x) for x in v]
v = ','.join([str(x) for x in v])
else:
v = str(v)
items.append((k, ','.join(v)))
items.append((k, v))
params.update(dict(items))
return params
@ -146,7 +146,7 @@ class ForeignKeyRawIdWidget(forms.TextInput):
def label_for_value(self, value):
key = self.rel.get_related_field().name
obj = self.rel.to.objects.get(**{key: value})
obj = self.rel.to._default_manager.get(**{key: value})
return '&nbsp;<strong>%s</strong>' % truncate_words(obj, 14)
class ManyToManyRawIdWidget(ForeignKeyRawIdWidget):

View File

@ -14,7 +14,7 @@
<div id="content-main">
{% for group in grouped_models %}
<div class="module">
<h2 id="{{ group.grouper }}">{{ group.grouper|capfirst }}</h2>
<h2 id="app-{{ group.grouper }}">{{ group.grouper|capfirst }}</h2>
<table class="xfull">
{% for model in group.list %}
@ -36,7 +36,7 @@
<ul>
{% regroup models by app_label as grouped_models %}
{% for group in grouped_models %}
<li><a href="#{{ group.grouper }}">{{ group.grouper|capfirst }}</a></li>
<li><a href="#app-{{ group.grouper }}">{{ group.grouper|capfirst }}</a></li>
{% endfor %}
</ul>
</div>

View File

@ -4,6 +4,7 @@ import re
from email.Parser import HeaderParser
from email.Errors import HeaderParseError
from django.utils.safestring import mark_safe
from django.core.urlresolvers import reverse
try:
import docutils.core
import docutils.nodes
@ -52,7 +53,7 @@ def parse_docstring(docstring):
body = "\n\n".join(parts[1:])
return title, body, metadata
def parse_rst(text, default_reference_context, thing_being_parsed=None, link_base='../..'):
def parse_rst(text, default_reference_context, thing_being_parsed=None):
"""
Convert the string from reST to an XHTML fragment.
"""
@ -60,7 +61,7 @@ def parse_rst(text, default_reference_context, thing_being_parsed=None, link_bas
'doctitle_xform' : True,
'inital_header_level' : 3,
"default_reference_context" : default_reference_context,
"link_base" : link_base,
"link_base" : reverse('django-admindocs-docroot').rstrip('/')
}
if thing_being_parsed:
thing_being_parsed = "<%s>" % thing_being_parsed

View File

@ -128,7 +128,7 @@ def view_index(request):
site_obj = GenericSite()
for (func, regex) in view_functions:
views.append({
'name': func.__name__,
'name': getattr(func, '__name__', func.__class__.__name__),
'module': func.__module__,
'site_id': settings_mod.SITE_ID,
'site': site_obj,
@ -213,6 +213,22 @@ def model_detail(request, app_label, model_name):
'help_text': field.help_text,
})
# Gather many-to-many fields.
for field in opts.many_to_many:
data_type = related_object_name = field.rel.to.__name__
app_label = field.rel.to._meta.app_label
verbose = _("related `%(app_label)s.%(object_name)s` objects") % {'app_label': app_label, 'object_name': data_type}
fields.append({
'name': "%s.all" % field.name,
"data_type": 'List',
'verbose': utils.parse_rst(_("all %s") % verbose , 'model', _('model:') + opts.module_name),
})
fields.append({
'name' : "%s.count" % field.name,
'data_type' : 'Integer',
'verbose' : utils.parse_rst(_("number of %s") % verbose , 'model', _('model:') + opts.module_name),
})
# Gather model methods.
for func_name, func in model.__dict__.items():
if (inspect.isfunction(func) and len(inspect.getargspec(func)[0]) == 1):
@ -232,7 +248,7 @@ def model_detail(request, app_label, model_name):
})
# Gather related objects
for rel in opts.get_all_related_objects():
for rel in opts.get_all_related_objects() + opts.get_all_related_many_to_many_objects():
verbose = _("related `%(app_label)s.%(object_name)s` objects") % {'app_label': rel.opts.app_label, 'object_name': rel.opts.object_name}
accessor = rel.get_accessor_name()
fields.append({

View File

@ -1,14 +1,14 @@
from django import template
from django.conf import settings
from django.contrib import admin
from django.contrib.auth.forms import UserCreationForm, UserChangeForm, AdminPasswordChangeForm
from django.contrib.auth.models import User, Group
from django.core.exceptions import PermissionDenied
from django import template
from django.http import HttpResponseRedirect, Http404
from django.shortcuts import render_to_response, get_object_or_404
from django.template import RequestContext
from django.utils.html import escape
from django.http import HttpResponseRedirect
from django.utils.translation import ugettext, ugettext_lazy as _
from django.contrib.auth.forms import UserCreationForm, UserChangeForm, AdminPasswordChangeForm
from django.contrib import admin
class GroupAdmin(admin.ModelAdmin):
search_fields = ('name',)
@ -42,7 +42,17 @@ class UserAdmin(admin.ModelAdmin):
return super(UserAdmin, self).__call__(request, url)
def add_view(self, request):
# It's an error for a user to have add permission but NOT change
# permission for users. If we allowed such users to add users, they
# could create superusers, which would mean they would essentially have
# the permission to change users. To avoid the problem entirely, we
# disallow users from adding users if they don't have change
# permission.
if not self.has_change_permission(request):
if self.has_add_permission(request) and settings.DEBUG:
# Raise Http404 in debug mode so that the user gets a helpful
# error message.
raise Http404('Your user does not have the "Change user" permission. In order to add users, Django requires that your user account have both the "Add user" and "Change user" permissions set.')
raise PermissionDenied
if request.method == 'POST':
form = self.add_form(request.POST)
@ -80,7 +90,7 @@ class UserAdmin(admin.ModelAdmin):
}, context_instance=template.RequestContext(request))
def user_change_password(self, request, id):
if not request.user.has_perm('auth.change_user'):
if not self.has_change_permission(request):
raise PermissionDenied
user = get_object_or_404(self.model, pk=id)
if request.method == 'POST':

View File

@ -56,8 +56,19 @@ class _CheckLogin(object):
self.test_func = test_func
self.login_url = login_url
self.redirect_field_name = redirect_field_name
update_wrapper(self, view_func)
# We can't blindly apply update_wrapper because it udpates __dict__ and
# if the view function is already a _CheckLogin object then
# self.test_func and friends will get stomped. However, we also can't
# *not* update the wrapper's dict because then view function attributes
# don't get updated into the wrapper. So we need to split the
# difference: don't let update_wrapper update __dict__, but then update
# the (parts of) __dict__ that we care about ourselves.
update_wrapper(self, view_func, updated=())
for k in view_func.__dict__:
if k not in self.__dict__:
self.__dict__[k] = view_func.__dict__[k]
def __get__(self, obj, cls=None):
view_func = self.view_func.__get__(obj, cls)
return _CheckLogin(view_func, self.test_func, self.login_url, self.redirect_field_name)

View File

@ -107,6 +107,7 @@ class PasswordResetForm(forms.Form):
self.users_cache = User.objects.filter(email__iexact=email)
if len(self.users_cache) == 0:
raise forms.ValidationError(_("That e-mail address doesn't have an associated user account. Are you sure you've registered?"))
return email
def save(self, domain_override=None, email_template_name='registration/password_reset_email.html',
use_https=False, token_generator=default_token_generator):

View File

@ -57,10 +57,12 @@ class Command(BaseCommand):
# Try to determine the current system user's username to use as a default.
try:
import pwd
except ImportError:
default_username = ''
else:
default_username = pwd.getpwuid(os.getuid())[0].replace(' ', '').lower()
except (ImportError, KeyError):
# KeyError will be raised by getpwuid() if there is no
# corresponding entry in the /etc/passwd file (a very restricted
# chroot environment, for example).
default_username = ''
# Determine whether the default username is taken, so we don't display
# it as an option.

View File

@ -120,6 +120,7 @@ class UserManager(models.Manager):
u.is_active = True
u.is_superuser = True
u.save()
return u
def make_random_password(self, length=10, allowed_chars='abcdefghjkmnpqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ23456789'):
"Generates a random password with the given length and given allowed_chars"

View File

@ -24,6 +24,8 @@ True
False
>>> u.is_active
True
>>> u.is_superuser
False
>>> a = AnonymousUser()
>>> a.is_authenticated()
@ -32,11 +34,22 @@ False
False
>>> a.is_active
False
>>> a.is_superuser
False
>>> a.groups.all()
[]
>>> a.user_permissions.all()
[]
# superuser tests.
>>> super = User.objects.create_superuser('super', 'super@example.com', 'super')
>>> super.is_superuser
True
>>> super.is_active
True
>>> super.is_staff
True
#
# Tests for createsuperuser management command.
# It's nearly impossible to test the interactive mode -- a command test helper
@ -45,7 +58,7 @@ False
#
>>> from django.core.management import call_command
>>> call_command("createsuperuser", noinput=True, username="joe", email="joe@somewhere.org")
>>> call_command("createsuperuser", interactive=False, username="joe", email="joe@somewhere.org")
Superuser created successfully.
>>> u = User.objects.get(username="joe")

View File

@ -190,4 +190,33 @@ True
False
>>> form['username'].errors
[u'This value must contain only letters, numbers and underscores.']
### PasswordResetForm
>>> from django.contrib.auth.forms import PasswordResetForm
>>> data = {'email':'not valid'}
>>> form = PasswordResetForm(data)
>>> form.is_valid()
False
>>> form['email'].errors
[u'Enter a valid e-mail address.']
# Test nonexistant email address
>>> data = {'email':'foo@bar.com'}
>>> form = PasswordResetForm(data)
>>> form.is_valid()
False
>>> form.errors
{'email': [u"That e-mail address doesn't have an associated user account. Are you sure you've registered?"]}
# Test cleaned_data bug fix
>>> user = User.objects.create_user("jsmith3", "jsmith3@example.com", "test123")
>>> data = {'email':'jsmith3@example.com'}
>>> form = PasswordResetForm(data)
>>> form.is_valid()
True
>>> form.cleaned_data['email']
u'jsmith3@example.com'
"""

View File

@ -8,6 +8,14 @@ TOKEN_GENERATOR_TESTS = """
>>> p0.check_token(u, tk1)
True
>>> u = User.objects.create_user('comebackkid', 'test3@example.com', 'testpw')
>>> p0 = PasswordResetTokenGenerator()
>>> tk1 = p0.make_token(u)
>>> reload = User.objects.get(username='comebackkid')
>>> tk2 = p0.make_token(reload)
>>> tk1 == tk2
True
Tests to ensure we can use the token after n days, but no greater.
Use a mocked version of PasswordResetTokenGenerator so we can change
the value of 'today'

View File

@ -7,16 +7,49 @@ from django.contrib.auth.models import User
from django.test import TestCase
from django.core import mail
class PasswordResetTest(TestCase):
class AuthViewsTestCase(TestCase):
"""
Helper base class for all the follow test cases.
"""
fixtures = ['authtestdata.json']
urls = 'django.contrib.auth.urls'
def setUp(self):
self.old_LANGUAGES = settings.LANGUAGES
self.old_LANGUAGE_CODE = settings.LANGUAGE_CODE
settings.LANGUAGES = (('en', 'English'),)
settings.LANGUAGE_CODE = 'en'
self.old_TEMPLATE_DIRS = settings.TEMPLATE_DIRS
settings.TEMPLATE_DIRS = (
os.path.join(
os.path.dirname(__file__),
'templates'
)
,)
def tearDown(self):
settings.LANGUAGES = self.old_LANGUAGES
settings.LANGUAGE_CODE = self.old_LANGUAGE_CODE
settings.TEMPLATE_DIRS = self.old_TEMPLATE_DIRS
class PasswordResetTest(AuthViewsTestCase):
def setUp(self):
self.old_LANGUAGES = settings.LANGUAGES
self.old_LANGUAGE_CODE = settings.LANGUAGE_CODE
settings.LANGUAGES = (('en', 'English'),)
settings.LANGUAGE_CODE = 'en'
def tearDown(self):
settings.LANGUAGES = self.old_LANGUAGES
settings.LANGUAGE_CODE = self.old_LANGUAGE_CODE
def test_email_not_found(self):
"Error is raised if the provided email address isn't currently registered"
response = self.client.get('/password_reset/')
self.assertEquals(response.status_code, 200)
response = self.client.post('/password_reset/', {'email': 'not_a_real_email@email.com'})
self.assertContains(response, "That e-mail address doesn't have an associated user account")
self.assertContains(response, "That e-mail address doesn&#39;t have an associated user account")
self.assertEquals(len(mail.outbox), 0)
def test_email_found(self):
@ -47,8 +80,8 @@ class PasswordResetTest(TestCase):
def test_confirm_invalid(self):
url, path = self._test_confirm_start()
# Lets munge the token in the path, but keep the same length,
# in case the URL conf will reject a different length
# Let's munge the token in the path, but keep the same length,
# in case the URLconf will reject a different length.
path = path[:-5] + ("0"*4) + path[-1]
response = self.client.get(path)
@ -87,24 +120,9 @@ class PasswordResetTest(TestCase):
response = self.client.post(path, {'new_password1': 'anewpassword',
'new_password2':' x'})
self.assertEquals(response.status_code, 200)
self.assert_("The two password fields didn't match" in response.content)
self.assert_("The two password fields didn&#39;t match" in response.content)
class ChangePasswordTest(TestCase):
fixtures = ['authtestdata.json']
urls = 'django.contrib.auth.urls'
def setUp(self):
self.old_TEMPLATE_DIRS = settings.TEMPLATE_DIRS
settings.TEMPLATE_DIRS = (
os.path.join(
os.path.dirname(__file__),
'templates'
)
,)
def tearDown(self):
settings.TEMPLATE_DIRS = self.old_TEMPLATE_DIRS
class ChangePasswordTest(AuthViewsTestCase):
def login(self, password='password'):
response = self.client.post('/login/', {
@ -147,7 +165,7 @@ class ChangePasswordTest(TestCase):
}
)
self.assertEquals(response.status_code, 200)
self.assert_("The two password fields didn't match." in response.content)
self.assert_("The two password fields didn&#39;t match." in response.content)
def test_password_change_succeeds(self):
self.login()
@ -162,3 +180,61 @@ class ChangePasswordTest(TestCase):
self.fail_login()
self.login(password='password1')
class LoginTest(AuthViewsTestCase):
def test_current_site_in_context_after_login(self):
response = self.client.get(reverse('django.contrib.auth.views.login'))
self.assertEquals(response.status_code, 200)
site = Site.objects.get_current()
self.assertEquals(response.context['site'], site)
self.assertEquals(response.context['site_name'], site.name)
self.assert_(isinstance(response.context['form'], AuthenticationForm),
'Login form is not an AuthenticationForm')
class LogoutTest(AuthViewsTestCase):
urls = 'django.contrib.auth.tests.urls'
def login(self, password='password'):
response = self.client.post('/login/', {
'username': 'testclient',
'password': password
}
)
self.assertEquals(response.status_code, 302)
self.assert_(response['Location'].endswith(settings.LOGIN_REDIRECT_URL))
self.assert_(SESSION_KEY in self.client.session)
def confirm_logged_out(self):
self.assert_(SESSION_KEY not in self.client.session)
def test_logout_default(self):
"Logout without next_page option renders the default template"
self.login()
response = self.client.get('/logout/')
self.assertEquals(200, response.status_code)
self.assert_('Logged out' in response.content)
self.confirm_logged_out()
def test_logout_with_next_page_specified(self):
"Logout with next_page option given redirects to specified resource"
self.login()
response = self.client.get('/logout/next_page/')
self.assertEqual(response.status_code, 302)
self.assert_(response['Location'].endswith('/somewhere/'))
self.confirm_logged_out()
def test_logout_with_redirect_argument(self):
"Logout with query string redirects to specified resource"
self.login()
response = self.client.get('/logout/?next=/login/')
self.assertEqual(response.status_code, 302)
self.assert_(response['Location'].endswith('/login/'))
self.confirm_logged_out()
def test_logout_with_custom_redirect_argument(self):
"Logout with custom query string redirects to specified resource"
self.login()
response = self.client.get('/logout/custom_query/?follow=/somewhere/')
self.assertEqual(response.status_code, 302)
self.assert_(response['Location'].endswith('/somewhere/'))
self.confirm_logged_out()

View File

@ -4,7 +4,7 @@ from django.utils.http import int_to_base36, base36_to_int
class PasswordResetTokenGenerator(object):
"""
Stratgy object used to generate and check tokens for the password
Strategy object used to generate and check tokens for the password
reset mechanism.
"""
def make_token(self, user):
@ -18,7 +18,7 @@ class PasswordResetTokenGenerator(object):
"""
Check that a password reset token is correct for a given user.
"""
# Parse the tokem
# Parse the token
try:
ts_b36, hash = token.split("-")
except ValueError:
@ -52,7 +52,7 @@ class PasswordResetTokenGenerator(object):
# We limit the hash to 20 chars to keep URL short
from django.utils.hashcompat import sha_constructor
hash = sha_constructor(settings.SECRET_KEY + unicode(user.id) +
user.password + unicode(user.last_login) +
user.password + user.last_login.strftime('%Y-%m-%d %H:%M:%S') +
unicode(timestamp)).hexdigest()[::2]
return "%s-%s" % (ts_b36, hash)

View File

@ -1,5 +1,4 @@
from django.contrib import admin
from django.conf import settings
from django.contrib.comments.models import Comment
from django.utils.translation import ugettext_lazy as _

Some files were not shown because too many files have changed in this diff Show More