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

7330 Commits

Author SHA1 Message Date
Kevin Kubasik
772452ccc7 [gsoc2009-testing] Cleanup threads after tests run. Ensure the django admin is populated before windmill tests start
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/test-improvements@11145 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-01 22:27:02 +00:00
Kevin Kubasik
b1b9d34fa5 [gsoc2009-testing] Extending documentation, fixing rst formatting.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/test-improvements@11144 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-01 22:26:51 +00:00
Kevin Kubasik
0c11738415 [gsoc2009-testing] Confirming that test-only models have a table in the db
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/test-improvements@11143 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-01 22:26:42 +00:00
Kevin Kubasik
f2be59849c [gsoc2009-testing] Added support for skipping tests that cannot pass. Add auth to regression suite urls.py so reverse() works.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/test-improvements@11142 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-01 14:24:25 +00:00
Kevin Kubasik
8cd4df145f [gsoc2009-testing] Adding exclusion rules to coverage. Restructuring windmill tests. Starting work on docs. Fixed import issues when running with coverage. Add per-test models to TransactionTests.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/test-improvements@11141 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-01 10:40:09 +00:00
Kevin Kubasik
b5ea9f6ad5 [gsoc2009-testing] Import windmill imports before starting coverage, this fixes some module load issues
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/test-improvements@11140 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-01 10:39:52 +00:00
Kevin Kubasik
1ed1ac22fe [gsoc2009-testing] Fix a spacing issue in windmill_tests.py
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/test-improvements@11139 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-01 10:39:40 +00:00
Kevin Kubasik
614bc25954 [gsoc2009-testing] Adding mock requests creation in django.test.mocks. Still needs tests and docs
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/test-improvements@11138 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-01 10:39:32 +00:00
Kevin Kubasik
b3a2f7f688 [gsoc2009-testing] Add test_models loading code. Not very clean yet, but it works
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/test-improvements@11137 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-01 10:39:21 +00:00
Kevin Kubasik
833b2334bc [gsoc2009-testing] Use importlib from django.util in attempt_import
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/test-improvements@11136 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-01 10:39:06 +00:00
Kevin Kubasik
8639d7e2d3 [gsoc2009-testing] Creating initial docs files. Windmill multi-module naming workaround implemented in regression suite. Added tests for admin_widgets. Implemented a tests to ensure fresh session state at end of windmill test.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/test-improvements@11129 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-30 21:56:08 +00:00
James Bennett
923c6755c8 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/trunk@11127 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-30 18:40:29 +00:00
Justin Bronn
422adffa11 Fixed #11401 -- Update geographic admin to use OpenLayers 2.8 as OpenStreetMap does not support previous versions. Thanks, yourcelf for ticket and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11125 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-29 17:49:01 +00:00
Justin Bronn
cb9cf01ff2 Fixed #11249, #11261 -- Blocks may now be overridden again google-map.js template; now use GMaps setUIToDefault to use default controls. Thanks to ludifan and Peter Landry for the ttickets and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11124 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-29 17:17:45 +00:00
Justin Bronn
fdcc0c774a Fixed #11381 -- GeoManager + select_related + nullable ForeignKey now works correctly. Thanks, bretthoerner for ticket and dgouldin for initial patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11123 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-29 16:31:21 +00:00
Russell Keith-Magee
735309341e Fixed #10834 -- Added bucket condition to ensure that URL resolvers won't ever return None. Thanks to Chris Cahoon for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11120 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-29 14:02:17 +00:00
Russell Keith-Magee
e522e61a80 Fixed #11392 -- Enforced a predictable result order for a couple of test cases. Thanks to Nathan Auch for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11119 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-29 12:29:48 +00:00
Kevin Kubasik
a8817035af [gsoc2009-testing] Cleaned up runtests.py to be a little more acceptable. Still a huge hack, but I didn't want to introduce odd design elements for regression tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/test-improvements@11115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-26 11:34:05 +00:00
Kevin Kubasik
217ba0d239 r10928@kevin-kubasiks-macbook: kkubasik | 2009-06-26 03:44:58 -0600
[gsoc2009-testing] Merging in the latest changes from trunk. Mostly just documentation


git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/test-improvements@11114 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-26 09:53:12 +00:00
Kevin Kubasik
a7c8169fda r10926@kevin-kubasiks-macbook: kkubasik | 2009-06-26 03:20:06 -0600
[gsoc2009-testing] Confirmed that the command line triggers have the desired effect when combined. Runner is nearing phase 1 feature complete


git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/test-improvements@11113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-26 09:52:22 +00:00
Kevin Kubasik
2dd363fc0c r10925@kevin-kubasiks-macbook: kkubasik | 2009-06-26 00:44:22 -0600
[gsoc2009-testing] Solved the threading issues. sqlite3 works again, :memory: as well. Tests run much faster now, and runtests.py behaves as expected when only running windmill tests. Still needs lots of commenting and cleanup


git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/test-improvements@11112 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-26 09:51:26 +00:00
Kevin Kubasik
bbcffeaabe r10924@kevin-kubasiks-macbook: kkubasik | 2009-06-25 19:41:10 -0600
[gsoc2009-testing] Working on making runtests.py work in every configuration permutation. Added smarter error messages for missing modules. Currenly having issues with aggregation regression tests.


git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/test-improvements@11111 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-26 09:50:32 +00:00
Karen Tracey
fe2747d1e0 Fixed #10741: Updated instructions on the best gettext package to get for Windows. Thanks Ramiro.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11103 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-24 23:33:17 +00:00
Russell Keith-Magee
970be97530 Fixed #8861 -- Added note on the availability of ModelForm.instance. Thanks to Ramiro Morales for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11097 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-24 14:04:18 +00:00
Russell Keith-Magee
78eb620c63 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.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11096 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-24 14:03:10 +00:00
Russell Keith-Magee
4acf7f43e7 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.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11095 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-24 14:02:22 +00:00
Russell Keith-Magee
bbd7b64e76 Fixed #11354 -- Remove stray whitespace in queryset docs. Thanks to flebel for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11094 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-24 14:01:36 +00:00
Russell Keith-Magee
18b29c523b Fixed #11356 -- Added links to the growing collection of 3rd party database backends that are available. Thank to Nathan Auch for the draft text.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11093 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-24 14:00:53 +00:00
Kevin Kubasik
2483e06bd3 r10904@kevin-kubasiks-macbook: kkubasik | 2009-06-23 13:14:52 -0600
[gsoc2009-testing] Introduced windmill tests for several contrib components in the admin. Made new runner framework backwords compatible with old style test runners. Added the option to run just the windmill tests in the regressionsuite.


git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/test-improvements@11092 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-23 19:16:31 +00:00
Kevin Kubasik
fdedd33bd4 r10902@kevin-kubasiks-macbook: kkubasik | 2009-06-23 06:51:28 -0600
[gsoc2009-testing] Added method to AppCache to flush cache. Also explicitly remove the modeltests.invalid_models app from the windmill test server, since the invalid models prevent startup


git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/test-improvements@11091 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-23 12:55:05 +00:00
Kevin Kubasik
b6b4a21cf5 r10900@kevin-kubasiks-macbook: kkubasik | 2009-06-23 01:39:08 -0600
[gsoc2009-testing] Merge last weeks work into SVN. Includes latests trunk and dozens of windmill tests. It is worth noting that the windmill tests are not included in coverage calculations


git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/test-improvements@11090 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-23 07:42:31 +00:00
Kevin Kubasik
a806b4a77a [gsoc2009-testing] minor runtest.py update
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/test-improvements@11089 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-23 07:33:52 +00:00
Kevin Kubasik
7e0534bd34 [gsoc2009-testing] Adding a debugging statement
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/test-improvements@11088 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-23 07:22:59 +00:00
Kevin Kubasik
e223716bd8 [gsoc2009-testing] Initial tests for the Admin views based on exisiting models and fixtures. runtest.py --windmill will activate them
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/test-improvements@11087 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-23 07:02:54 +00:00
Karen Tracey
b69dc5206c Fixed #11344 -- Made a couple of minor clarifications to the mod_wsgi deployment doc. Thanks nartzpod and achew22.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11079 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-19 01:36:56 +00:00
Russell Keith-Magee
cbbe60c7fc Fixed #11270 -- Modified cache template tag to prevent the creation of very long cache keys. Thanks to 235 for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 15:04:00 +00:00
Russell Keith-Magee
8950a40cec Fixed #11270 -- Corrected naming conflict in templatetag test. Thanks to steveire for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11067 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 15:03:17 +00:00
Russell Keith-Magee
b836ed4666 Made correction to documentation change from [11045].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11054 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 13:44:26 +00:00
Russell Keith-Magee
755762e5b9 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.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11053 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 13:37:10 +00:00
Russell Keith-Magee
ee8cc099c0 Fixed #10978 -- Clarified that the include statement is part of the urlpattern definition. Thanks to swatermasysk for the suggestion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 13:36:40 +00:00
Russell Keith-Magee
3894ba853d Fixed #11253 -- Normalized the way the docs refer to TestCase.assert* methods. Thanks to SmileyChris for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11051 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 13:36:11 +00:00
Russell Keith-Magee
b9d1757840 Fixed #11119 -- Corrected spelling error in 1.0 porting guide.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11050 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 13:35:36 +00:00
Russell Keith-Magee
97fb6cf2b3 Fixed #11141 -- Corrected a code example in the admin docs. Thanks to jodal for the report, and SmileyChris for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11049 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 13:35:06 +00:00
Russell Keith-Magee
d71097111a Fixed #11322 -- Clarified docs regarding middleware processing. Thanks the Michael Malone for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11048 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 13:34:27 +00:00
Russell Keith-Magee
4086167ba6 Fixed #11318 -- Grammar correction in modelform docs. Thanks to seemant for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11047 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 13:33:52 +00:00
Russell Keith-Magee
7c18404a24 Fixed #11312 -- Fixed the default value given for DEFAULT_FILE_STORAGE in the docs. THanks to x00nix@gmail.com for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11046 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 13:33:18 +00:00
Russell Keith-Magee
3db96017ba Fixed #11278 -- Clarified query documentation regarding bulk assignment of m2m values. Thanks to zgoda for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11045 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 13:32:48 +00:00
Russell Keith-Magee
457a1f9a03 Fixed #11272 -- Made some clarifications to the overview and tutorial. Thanks to jjinux for the review notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11044 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 13:32:12 +00:00
Russell Keith-Magee
bc362cc6b8 Fixed #10848 -- Added prairiedogg to AUTHORS.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11043 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 13:30:52 +00:00
Karen Tracey
79d2cf3c12 Fixed #11339 -- Corrected typo in FAQ. Thanks Kellen.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11041 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 12:41:16 +00:00