1
0
mirror of https://github.com/django/django.git synced 2025-07-04 17:59:13 +00:00

7396 Commits

Author SHA1 Message Date
Russell Keith-Magee
52bc782621 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.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11215 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-11 14:22:52 +00:00
Justin Bronn
55968a6edd Fixed 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.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11205 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-09 02:00:40 +00:00
Marc Fargas
4532cf69de Updated Spanish translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11201 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-07 13:23:40 +00:00
Marc Fargas
a4d8d45117 Updated catalan Translation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11200 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-07 13:23:15 +00:00
Russell Keith-Magee
b96e55e811 Fixed #11419 -- Corrected a minor typo in the admin docs. Thanks to jspeis for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11176 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-03 14:10:35 +00:00
Russell Keith-Magee
36954a04b7 Fixed #9669 -- Corrected an answer in the admin FAQ that is wrong in a post-newforms-admin world. Thanks to Alex for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11175 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-03 14:09:04 +00:00
Russell Keith-Magee
87285078f0 Fixed #9607 -- Added documentation for the `extra` argument in test client methods. Thanks to jroes for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11173 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-03 07:40:45 +00:00
Russell Keith-Magee
5cef76ffb7 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.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11170 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-03 07:16:25 +00:00
Russell Keith-Magee
b73319ae7b Fixed #11417 -- Corrected typo in MySQL collation notes. Thanks to vorushin for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11169 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-03 07:15:48 +00:00
Russell Keith-Magee
037b833f2e 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.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11164 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-03 05:42:09 +00:00
Russell Keith-Magee
6ed0345092 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.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11163 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-03 05:41:36 +00:00
Russell Keith-Magee
f5ed3f4085 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.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11162 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-03 05:40:46 +00:00
Russell Keith-Magee
7ecb8b08b3 Fixed #10922 -- Corrected handling of POST data to ensure that the right objects are updated on save when the ordering field is editable. Thanks to Alex Gaynor, Karen Tracy, and Will Hardy for their contributions to this patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11160 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-03 03:05:17 +00:00
Russell Keith-Magee
88da053e5e 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.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11155 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-02 14:02:58 +00:00
Kevin Kubasik
c65044f9a0 [gsoc2009-testing] Ensure that tests run in a variety of situations. Including when problems loading admin
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/test-improvements@11151 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-02 04:33:21 +00:00
Kevin Kubasik
e43283d70b [gsoc2009-testing] Merging from trunk. Favoring my index.txt with windmill howto
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/test-improvements@11146 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-01 22:27:37 +00:00
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