1
0
mirror of https://github.com/django/django.git synced 2025-07-05 10:19:20 +00:00

8533 Commits

Author SHA1 Message Date
Paul McMillan
dfd3da2853 [soc2010/test-refactor] update expressions test to use unittest2 assertItemsEqual
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/test-refactor@13414 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-02 17:53:09 +00:00
Paul McMillan
c298937c94 [soc2010/test-refactor] small fix to allow unittest2 to compare ValuesQuerySet using assertItemsEqual
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/test-refactor@13413 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-02 17:51:12 +00:00
Paul McMillan
62e587418c [soc2010/test-refactor] updated custom_pk modeltest to take advantage of unittest2
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/test-refactor@13412 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-02 17:19:17 +00:00
Paul McMillan
e87ead6d08 [soc2010/test-refactor] Forgot to remove a comment.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/test-refactor@13411 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-02 16:34:41 +00:00
Paul McMillan
86580d042e [soc2010/test-refactor] Unittest2 integration properly done. unittest2 package (at rev 221) is bundled as django.utils.unittest and the imports are patched to reflect django usage. Tests should import django.utils.unittest rather than the stdlib package. "It's a beautiful thing, the destruction of doctests."
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/test-refactor@13410 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-02 16:30:52 +00:00
Paul McMillan
154808166a [soc2010/test-refactor] Provisional unittest2 support. Currently requires unittest2 to be in the pythonpath. The test_client_regress fix cleans up error checking to be less brittle (and pass with unittest2).
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/test-refactor@13406 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-30 23:34:39 +00:00
Paul McMillan
2ca92d49f8 [soc2010/test-refactor] Converted force_insert_update to unittest. We have always been at war with doctests.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/test-refactor@13395 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-23 14:12:45 +00:00
Paul McMillan
e09d2de906 [soc2010/test-refactor] Converted files modeltest to unittest. Removed unused custom field on Storage model (the same functionality is tested by random). Sadly these tests aren't threadsafe because the Storage model's temp_storage can't be changed for each testcase.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/test-refactor@13392 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-23 10:08:19 +00:00
Paul McMillan
c8624d43cb [soc2010/test-refactor] Merged changes from trunk up to 13390
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/test-refactor@13391 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-23 05:23:15 +00:00
Paul McMillan
222cc77e52 [soc2010/test-refactor] Added svnmerge props
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/test-refactor@13390 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-23 05:07:02 +00:00
Paul McMillan
6f851bca15 [soc2010/test-refactor] Updated field_defaults modeltest to unittest
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/test-refactor@13379 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-22 02:58:45 +00:00
Paul McMillan
dc2fd96803 [soc2010/test-refactor] Updated expressions modeltest to unittests
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/test-refactor@13378 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-22 02:57:35 +00:00
Paul McMillan
52a855fd37 [soc2010/test-refactor] updated empty modeltest to unittest
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/test-refactor@13377 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-22 02:56:53 +00:00
Paul McMillan
85f024c2b1 [soc2010/test-refactor] updated delete modeltest to unittest
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/test-refactor@13376 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-22 02:56:25 +00:00
Paul McMillan
af64237c31 [soc2010/test-refactor] Updated modeltests.defer to unittests
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/test-refactor@13375 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-22 02:55:06 +00:00
Paul McMillan
42570206db [soc2010/test-refactor] Moved custom_pk modeltest to unittest
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/test-refactor@13374 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-22 02:54:18 +00:00
Paul McMillan
078b13e97e [soc2010/test-refactor] Updated custom_methods model test to unittests
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/test-refactor@13373 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-22 02:53:14 +00:00
Paul McMillan
cc4703d5ae [soc2010/test-refactor] Converted custom_managers doctests to unittests.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/test-refactor@13349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-11 01:17:52 +00:00
Paul McMillan
4ffeb59e86 [soc2010/test-refactor] Modified contrib docs to require unittests.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/test-refactor@13347 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-10 03:31:29 +00:00
Paul McMillan
101796ce8d [soc2010/test-refactor] Converted custom_columns doctest to unittest.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/test-refactor@13346 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-10 01:46:36 +00:00
Paul McMillan
75302ff635 [soc2010/test-refactor] Renamed choices test fixture to be semantically meaningful.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/test-refactor@13345 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-09 22:33:19 +00:00
Paul McMillan
7289013cf1 Converted modeltests.choices to unittests
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/test-refactor@13344 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-09 22:13:03 +00:00
Paul McMillan
e3bad40d3e Merged trunk changes r13316:13342 into test-refactor SOC branch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/test-refactor@13343 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-09 21:20:49 +00:00
Paul McMillan
8bdf160e05 Merged trunk changes r13307:13316 into test-refactor SoC branch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/test-refactor@13317 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-02 23:49:27 +00:00
Jacob Kaplan-Moss
6c10480e99 Created test-refactor SoC branch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/test-refactor@13307 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-27 09:38:59 +00:00
James Bennett
6cffb9b880 Bump to 1.2.1.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
1.2.1
2010-05-24 19:10:30 +00:00
Jannis Leidel
e6ec07dc1f Fixed #13592 -- Make sure the SelectDateWidget works with dates before 1900 when localization is enabled. Thanks for the report and patch, magnus.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13301 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-23 10:38:23 +00:00
Luke Plant
6b2d6e1833 Fixed #13590 - Made CSRF failure page styling consistent with Django's default error page styling.
Thanks to alefteris for suggestion.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@13300 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-22 18:42:16 +00:00
Russell Keith-Magee
84060a1f7a Refs #13573 -- Modified the key technique added in r13295 to be more robust against potential key collisions while keeping key names human-readable. Thanks to Alex for being finicky.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-21 14:25:26 +00:00
Jannis Leidel
5acd9cd8ba Fixed #13577 -- Updated Polish formats file. Thanks, ludwik.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-21 14:09:25 +00:00
Jannis Leidel
286ce85e45 Fixed #13569 -- Fixed createsuperuser management command to work with the new relaxed requirements for usernames.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13297 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-21 14:08:49 +00:00
Jannis Leidel
b057a8b247 Fixed #13560 -- Fixed localization of widgets.
Particularly this fixes the SplitDateTimeField and the AdminDateWidget by localizating the widget's value in its render method instead of the form field. Thanks to David Danier for the report and Russell for help with the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13296 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-21 14:07:54 +00:00
Russell Keith-Magee
8a6cb3d969 Fixed #13573 -- Corrected problem with template caching when template directories are provided. Thanks to lamby for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13295 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-21 08:54:15 +00:00
Karen Tracey
6b2fd346ad Fixed #13566, a typo in the 1.2 release notes. Thanks johnthedebs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13294 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-19 12:35:02 +00:00
Jacob Kaplan-Moss
747e8dfe5f Fixed #13563, a typo in the GeoDjango tutorial.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13293 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-19 03:25:42 +00:00
Jacob Kaplan-Moss
97560f3a07 Fixed a couple of typos in the release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13291 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-17 22:28:44 +00:00
Jacob Kaplan-Moss
ffcffcb96b Updated the docs conf.py to have the correct version number.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13287 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-17 18:51:50 +00:00
James Bennett
5b6c20f2c4 Trunk is now 1.2.1 pre-alpha.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13286 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-17 18:21:18 +00:00
James Bennett
9444c8dd1d Add in the section on Python 2.3 compatibility.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13284 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-17 17:57:07 +00:00
James Bennett
f8af1afbea Flip PyPI classifier from beta to stable.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13279 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-17 17:42:14 +00:00
James Bennett
6276167b72 Bump version and download info to 1.2.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13276 bcc190cf-cafb-0310-a4f2-bffc1f526a37
1.2
2010-05-17 17:31:49 +00:00
James Bennett
c40b131ed5 A final *final* clarification in the release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13274 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-17 16:48:32 +00:00
James Bennett
d88d0ec336 Some final clarifications in the release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13273 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-17 16:47:16 +00:00
Jacob Kaplan-Moss
47e3cc74d9 Slight fixes to related fields reference to avoid conflicting target names
with the queryset docs.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-17 16:32:37 +00:00
Jacob Kaplan-Moss
acd8dcd5b0 Some heavy refactoring to the 1.2 release notes.
Don't bury the lede, folks!

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13271 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-17 16:32:29 +00:00
Ramiro Morales
b496518623 Fixed a couple of es_AR translation errors.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13270 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-17 13:57:15 +00:00
Russell Keith-Magee
10b5f38593 Fixed #13551 -- Corrected import in ModelForms example. Thanks to libber for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13269 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-17 00:27:37 +00:00
Jannis Leidel
a17d897751 Fixed #13545 -- Updated Norwegian nynorsk (nn) translation. Thanks, Håvard Grimelid.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13268 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-16 20:48:45 +00:00
Jannis Leidel
06ab9eeaf5 Added notes about the two new date format specifiers (`c and u`) added in 1.2. Thanks for the patch, Ramiro Morales.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13267 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-16 20:48:19 +00:00
Jannis Leidel
34ddcd9939 Fixed #13547 -- Made sure the ISO 8601 date formatting introduced in r12058 uses "T" as the separator between the date and the time value to increase real world usefulness.
While the ISO standard permits the use of a space instead of "T" for readability, it does have an impact on standards like HTML5 which rely on specific rules made in RFC 3339.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13266 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-16 15:54:10 +00:00