Commit Graph

432 Commits

Author SHA1 Message Date
Jacob Kaplan-Moss 63d85a684a Fixed #8630: finished the custom comment app API that was left out of 1.0. This means it's now possible to override any of the models, forms, or views used by the comment app; see the new custom comment app docs for details and an example. Thanks to Thejaswi Puthraya for the original patch, and to carljm for docs and tests.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9890 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-23 22:16:26 +00:00
Russell Keith-Magee 13d3d9d93f Added Tomáš Ehrlich to the AUTHORS list (Elvard from r9876)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9882 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 10:13:37 +00:00
Karen Tracey ecc55503f4 Fixed #10196: Restored setting of image file width and height fields lost in r9766, and added tests for this function. Thanks to vicvicvic for the ticket and patch and for Alex for reminding me not to break non-PIL-boxes with the new tests.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9841 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-16 18:34:28 +00:00
Karen Tracey addd3df3bd Fixed #7672 -- Added a 'week_day' lookup type. Many thanks to Ross Poulton for the proposal and implementation on all built-in database backends..
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9818 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-08 05:08:06 +00:00
Malcolm Tredinnick 9c6efb2eea Fixed #9789 -- Handle jython's compiled settings filename correctly.
Patch from Frank Wierzbicki.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9775 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-19 12:46:54 +00:00
Karen Tracey 344f16e220 Fixed #8138 -- Changed django.test.TestCase to rollback tests (when the database supports it) instead of flushing and reloading the database. This can substantially reduce the time it takes to run large test suites.
This change may be slightly backwards incompatible, if existing tests need to test transactional behavior, or if they rely on invalid assumptions or a specific test case ordering.  For the first case, django.test.TransactionTestCase should be used.  TransactionTestCase is also a quick fix to get around test case errors revealed by the new rollback approach, but a better long-term fix is to correct the test case.  See the testing doc for full details.

Many thanks to:
* Marc Remolt for the initial proposal and implementation.
* Luke Plant for initial testing and improving the implementation.
* Ramiro Morales for feedback and help with tracking down a mysterious PostgreSQL issue.
* Eric Holscher for feedback regarding the effect of the change on the Ellington testsuite.
* Russell Keith-Magee for guidance and feedback from beginning to end.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9756 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-16 02:30:22 +00:00
Russell Keith-Magee cc4e4d9aee Fixed #3566 -- Added support for aggregation to the ORM. See the documentation for details on usage.
Many thanks to:
 * Nicolas Lara, who worked on this feature during the 2008 Google Summer of Code.
 * Alex Gaynor for his help debugging and fixing a number of issues.
 * Justin Bronn for his help integrating with contrib.gis.
 * Karen Tracey for her help with cross-platform testing.
 * Ian Kelly for his help testing and fixing Oracle support.
 * Malcolm Tredinnick for his invaluable review notes.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9742 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-15 11:06:34 +00:00
Gary Wilson Jr 50a293a0c3 Updated name as per author's request.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9740 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-15 06:37:01 +00:00
Jacob Kaplan-Moss 299e1e814f Fixed #6791: added a write-through cache session backend: session data is written through the cache to the database, but read from the cache for speed. Thanks to jhenry, mcroydon, and jdunck.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9727 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-10 22:18:14 +00:00
Russell Keith-Magee 1fc26b8d4e Modified the entry for David Larlet in the AUTHORS file to be consistent with the entry already present in the 1.0.X branch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9696 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-03 04:52:07 +00:00
Russell Keith-Magee 096a9ecc5c 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.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9695 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-03 04:43:58 +00:00
Malcolm Tredinnick 8a03a2e834 Fixed #9728 -- Updated Macedonian translation from Georgi Stanojevski and Vasil Vangelovski.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9575 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-07 03:12:23 +00:00
Malcolm Tredinnick a552bd2da7 Fixed #9639 -- Updated Ukranian translation from Mykola Zamkovoi.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9574 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-07 03:11:34 +00:00
Jacob Kaplan-Moss 089ab18c02 Fixed #4924: added support for loading compressed fixtures. Thanks to Lars Yencken and Jeremy Dunck.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9527 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-24 20:42:09 +00:00
Karen Tracey 8d28a4c853 Quit being a complete mystery.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9416 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-13 23:43:25 +00:00
Malcolm Tredinnick b4b705bee1 New Thai translation from Kowito Charoenratchatabhan and Kadesarin Sanjek.
Refs #9542.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9376 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-10 10:13:23 +00:00
Karen Tracey 1515b13d1a 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.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9334 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-04 19:48:35 +00:00
Malcolm Tredinnick 3bdde9ef9a Fixed #9372 -- Updated Slovakian translation from Marian Andre.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9263 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 07:35:31 +00:00
Malcolm Tredinnick e3aa9a2828 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.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9248 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 04:38:43 +00:00
Malcolm Tredinnick 27d4f5b84c Fixed #9328 -- Added Scot Hacker to AUTHORS and moved a couple of other names
to their alphabetical locations.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9213 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-09 09:00:19 +00:00
Malcolm Tredinnick 72f387d344 Fixed #9215 -- Added a view/template example of using pagination.
Based on a patch from shacker and Matt Dennenbaum.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9193 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-07 11:51:14 +00:00
Malcolm Tredinnick cd8eeaacf5 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/trunk@9188 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-07 09:23:40 +00:00
Matt Boersma 04682244e7 Corrected my email address in AUTHORS.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8968 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-05 14:43:16 +00:00
Malcolm Tredinnick db29f06409 Fixed #5900 -- Updated Traditional Chinese translation from Terry Huang .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8938 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 20:05:15 +00:00
Jacob Kaplan-Moss 9d5e77d26d Cleaned up the list of authors/contributors so that people actually working on Django get some props.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8936 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 19:58:21 +00:00
Malcolm Tredinnick b0b73b3e0e Typo fix in AUTHORS.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8928 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 16:17:54 +00:00
Malcolm Tredinnick fd78e89d1e Fixed #8830 -- Updated the recently changed string for the Polish translation.
Thanks, Piotr Lewandowski.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8909 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 06:14:01 +00:00
Malcolm Tredinnick 8a54b1b01b Fixed #8796 -- Another small Brazilian Portugese update. Thanks, Luciano Ramalho.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8899 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 03:53:20 +00:00
Malcolm Tredinnick c71a2d6897 Added a couple of missing names to AUTHORS.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8885 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 00:09:38 +00:00
Malcolm Tredinnick 032d654967 Fixed #8709 -- Updated Slovakian translation from Frantisek Malina.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8781 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 00:13:42 +00:00
Jacob Kaplan-Moss eebc7caa63 Fixed #8616 (again): prevent a race condition in the session file backend. Many thanks to Warren Smith for help and the eventual fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8750 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 20:50:41 +00:00
Malcolm Tredinnick 7c65a31606 Added Jeff Anderson (programmerq) to the AUTHORS file. Fixed #8714.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8747 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 19:26:56 +00:00
Malcolm Tredinnick b08ee75dc1 Fixed #8708 -- Updated Arabic translation from Ossama M. Khayat.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8742 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 17:52:11 +00:00
Malcolm Tredinnick f2fd577bd5 Fixed #8689 -- Updated Russian translation from Grigory Fateyev.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8712 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 17:49:22 +00:00
Brian Rosner 39986669c1 Fixed #8692 -- Added Sebastian Hillig to AUTHORS.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8709 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 17:44:05 +00:00
Malcolm Tredinnick 3717e3bba3 Reverted #8688 for now, since it merely introduced different bugs, rather than
fixing the problem. We have a plan B (and plan C, if needed), so this will be
fixed in a different way.

Refs #8616.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8707 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 17:32:21 +00:00
Malcolm Tredinnick 02f86a1c7c Fixed #8616 -- Fixed a race condition in the file-based session backend.
Thanks to warren@wandrsmith.net for the patch.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8688 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 01:44:11 +00:00
Jacob Kaplan-Moss a46d3ebfcc Fixed #8221: added some better `NoReverseMatch` error strings. Thanks, mrts.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8672 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 19:05:14 +00:00
Malcolm Tredinnick 3111d7f60b Fixed #7201 -- Fixed the timeuntil filter to work correctly with timezone-aware
times. Patch from Jeremy Carbaugh.

This is backwards incompatible in the sense that previously, if you tried to
compare timezone-aware and timezone-naive values, you got an incorrect result.
Now you get an empty string. So your previously incorrect code returns a
different incorrect result.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8579 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-26 08:08:55 +00:00
Malcolm Tredinnick 61957df17f Added a few people to the AUTHORS file who have made recent contributions.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8578 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-26 07:56:39 +00:00
Jacob Kaplan-Moss cba91997a2 Refactored Django's comment system.
Much of this work was done by Thejaswi Puthraya as part of Google's Summer of Code project; much thanks to him for the work, and to them for the program.

This is a backwards-incompatible change; see the upgrading guide in docs/ref/contrib/comments/upgrade.txt for instructions if you were using the old comments system.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8557 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-25 22:14:22 +00:00
Malcolm Tredinnick 964769871d Fixed #8529 -- Added Petr Lewandowski to the AUTHORS file.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-25 15:29:39 +00:00
Malcolm Tredinnick 62b39322f3 Fixed #7496 -- It's now possible to pickle SortedDicts with pickle protocol 2
(used in caching). Thanks, John Huddleston.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8531 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-25 04:00:15 +00:00
Malcolm Tredinnick d6e5632969 Added Kevin McConnell to AUTHORS (fixed #8524). Also turned Julia Elman into a real person.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8524 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-25 00:11:23 +00:00
Jacob Kaplan-Moss 97cb07c3a1 Massive reorganization of the docs. See the new docs online at http://docs.djangoproject.com/.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8506 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-23 22:25:40 +00:00
Malcolm Tredinnick abb1c508cc Tests for password change process. Thanks, Mike Richardson. Fixed #8402.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8497 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-23 18:20:49 +00:00
Brian Rosner 77c78201b8 Fixed #1390 -- Added an app index in the admin interface. Thanks juliae and ext for their work on patches.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8474 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-23 04:00:15 +00:00
Malcolm Tredinnick 640e930dc1 Fixed a typo from [8461] and deleted the real duplicate name (restored the
inadvertently deleted name).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8467 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-22 17:36:02 +00:00
Malcolm Tredinnick 2b7ef577c3 We value Petr Marhoun's contributions very much, but he should still only
appear once in the AUTHORS file. Fixed #8445.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8461 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-21 14:45:51 +00:00
Malcolm Tredinnick 40ba2ecea1 Fixed #8308 -- Updated Danish translation from Finn Gruwier Larsen.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8439 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-19 13:46:19 +00:00
Simon Willison e42748dbf5 Updated my URL in the AUTHORS file
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8327 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-12 15:07:48 +00:00
Jacob Kaplan-Moss 4747347385 Fixed #5801: admin requests with GET args now get properly bounced through login with those args intact. Thanks for the patch, Rozza.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8271 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-09 17:35:19 +00:00
Malcolm Tredinnick 400a6b23cf Fixed #8176 -- Updated Japanese translation from Takashi Matsuo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8270 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-09 17:20:21 +00:00
Jacob Kaplan-Moss 1f6d33586c Fixed Chris' name in AUTHORS -- sorry
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8220 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-05 21:15:26 +00:00
Jacob Kaplan-Moss 34008aaeb0 Fixed #7016: use correct time zones for Atom feeds. Thanks, Chris Cahoon.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8216 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-05 17:38:49 +00:00
Russell Keith-Magee 174641b9b3 Fixed #6095 -- Added the ability to specify the model to use to manage a ManyToManyField. Thanks to Eric Florenzano for his excellent work on this patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8136 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-29 12:41:08 +00:00
Malcolm Tredinnick 55ba38f9d2 Put back [8120] along with a small tweak. Fixed #6217.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8127 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-28 00:45:04 +00:00
Malcolm Tredinnick eca5aacec8 Back out [8120] for a bit. Refs #6217. It's having unintended side-effects (a.k.a breaks the tree)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8126 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-28 00:08:17 +00:00
Malcolm Tredinnick 6a287ed946 Fixed #6217 -- Reduced the memory used by each ugettext_lazy() call.
Thanks to Jakub Wilk for analysis and the initial patch.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8120 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-27 22:51:49 +00:00
Malcolm Tredinnick 82a85fdbae Fixed #6427 -- Added some more features to the Austrian localflavor.
Thanks, Horst Gutmann.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-27 18:54:56 +00:00
Malcolm Tredinnick 3cbe73692e Fixed #7778 -- Fixed a tricky case of foreign key clearing with inherited
models. Patch from James Murty.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8100 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-27 04:18:52 +00:00
Malcolm Tredinnick badde8a7e5 Fixed #7793 -- Handle sitemaps with more than 50,000 URLs in them (by using
pagination). Patch from Julian Bez.

The docs patch here could probably do with some rewording.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8088 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-26 05:07:16 +00:00
Malcolm Tredinnick 7c33cc7f5e Fixed #7398 -- Allow for custom cache-backends to be used.
Based on a patch from Lau Bech Lauritzen and Brenton Simpson.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8075 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-25 18:51:32 +00:00
Jacob Kaplan-Moss 863f4eb1d7 Fixed #6755: model inheritance now works in the admin. Thanks, sloonz and Michael Placentra.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8033 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 01:10:06 +00:00
Jacob Kaplan-Moss f28474547b Fixed #7414: fixed setup.py on OSX 10.5. Thanks, ajs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8019 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 16:30:32 +00:00
Russell Keith-Magee 4016d5264a Fixed #7727 -- Improved the checks for import failure when using PIL. Under PyPy, you can import the PIL module, but when you try to use it, the underlying _imaging module will not be available. Thanks to Maciej Fijalkowski (fijal) for the report and suggested fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8016 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 11:52:11 +00:00
Brian Rosner a19ed8aea3 Merged the newforms-admin branch into trunk.
This is a backward incompatible change. The admin contrib app has been
refactored. The newforms module has several improvements including FormSets
and Media definitions.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-18 23:54:34 +00:00
Jacob Kaplan-Moss 476d5f2c0d Fixed #7675: corrected TemporaryUploadedFile.temporary_file_path. Thanks, Florian Apolloner.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7908 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-12 20:43:52 +00:00
Malcolm Tredinnick 72544950e1 Fixed #7163 -- Fixed a translation-sharing problem so that you can have en-gb
and en-us at the app-level, even though Django only has an "en" translation
(for example). Analysis and patch from ognjen.maric@gmail.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7857 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-07 01:57:05 +00:00
Malcolm Tredinnick 0d0cbfd56e Fixed #7621 -- Enable superclassing of the various metaclasses we use.
Also tidy up some initialisation code in django.db.models.base.ModelBase.
Thanks, Christian Tanzer.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7846 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-06 11:55:30 +00:00
Jacob Kaplan-Moss d725cc9734 Fixed #2070: refactored Django's file upload capabilities.
A description of the new features can be found in the new [http://www.djangoproject.com/documentation/upload_handing/ upload handling documentation]; the executive summary is that Django will now happily handle uploads of large files without issues.

This changes the representation of uploaded files from dictionaries to bona fide objects; see BackwardsIncompatibleChanges for details.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7814 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-01 15:10:51 +00:00
Malcolm Tredinnick ca5918e8ff Fixed #6994 -- For fastcgi, set a more sensible default umask.
Also allow the umask value to be customised. Thanks, Antonis Christofides.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7800 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-30 11:22:41 +00:00
Malcolm Tredinnick f9df4d1435 Make sure we only create the minimum number of table indexes for MySQL.
This patch simplifies a bunch of code for all backends and removes some
duplicate index creation for MySQL, in particular (versions 4.x and later).
Patch from Nis Jørgensen.

Fixed #5671, #5680, #7170, #7186.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7790 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-30 04:46:59 +00:00
Malcolm Tredinnick d2ce1df08f Fixed #7215 -- Create correct reverse-relation accessors when using abstract base classes. Patch from Joel Watts.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7762 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-26 07:04:18 +00:00
Jacob Kaplan-Moss 1a75b5a03c Fixed #4860: added 'for' attributes to labels in newforms widgets. Thanks to Ivan Sagalaev and batiste@dosimple.ch for the patches.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7693 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-18 16:33:04 +00:00
Jacob Kaplan-Moss 2b62e945b0 Fixed #3393: login view no longer assumes that set_test_cookie has been called. This is mildly backwards-incompatible, but in the "now it works the way it should have all along" sense. Thanks to James and lcordier for the patches.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-18 16:13:14 +00:00
Jacob Kaplan-Moss b0ebcfe15a Fixed #7394: fixed bug with syncdb and createsuperuser introduced in [7590]. Thanks, av0000@mail.ru
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7598 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-08 18:18:01 +00:00
Russell Keith-Magee 511e01d978 Fixed #4371 -- Improved error checking when loading fixtures. Code now catches explicitly named fixture formats that are not supported (e.g, YAML fixtures if you don't have PyYAML installed), and fixtures that are empty (which can happen due to XML tag errors). Thanks to John Shaffer for the suggestion, and Keith Bussell for his work on the fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7595 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-08 08:21:18 +00:00
Jacob Kaplan-Moss 8d4f79a799 Fixed #2548: added get/set_expiry methods to session objects. Thanks, Amit Upadhyay and SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7586 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-07 20:28:06 +00:00
Russell Keith-Magee 8a7bbc3c34 Fixed #5836 -- Corrected the logic in the Test Client when an exception raised by a view is caught and re-raised. Thanks for the report, test case, and fix, Chris Wagner.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7583 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-07 06:25:59 +00:00
Russell Keith-Magee cf8abd1bf2 Removed a stray tab from [7578].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7579 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-06 13:51:09 +00:00
Russell Keith-Magee 08401959d8 Fixed #7165 -- Added an assertNotContains() method to the test client. Thanks for the suggestion and implementation, J. Pablo Fernandez <pupeno@pupeno.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7578 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-06 13:50:02 +00:00
Russell Keith-Magee d53e8f1285 Fixed #6430 -- Corrected the loading of templates from eggs, which was broken by the unicode merge. Thanks for the excellent report and patch, Juan Manuel Caicedo <juan.manuel.caicedo@gmail.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7565 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-05-29 13:11:23 +00:00
Russell Keith-Magee d4d5f4ce2f Updated an entry in the AUTHORS file at the request of the individual in question.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7564 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-05-29 12:42:26 +00:00
Malcolm Tredinnick 138cecd892 Fixed #7086 -- Updated the Romanian translation. Thanks, Mihai Damian.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7472 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-26 12:46:57 +00:00
Malcolm Tredinnick 7fbea577e6 Fixed #6942 -- A few small updates to the Simplified Chinese translation.
Thanks, Liang Feng.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7403 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-05 02:59:41 +00:00
Malcolm Tredinnick 42ba428166 Fixed #6910 -- Updated Brazilian Portugese translation from Guilherme M. Gondim
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7401 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-05 02:50:01 +00:00
Malcolm Tredinnick c0537a961f Fixed #6616 -- Added an is_ajax() method to HttpRequest that uses the de facto
standard header for detecting an XmlHttpRequest call. Thanks, Daniel Lindsley.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7334 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-20 07:16:16 +00:00
Malcolm Tredinnick 597f9d6105 Fixed #5982 -- Changed test client's URL processing to match core's (everything
gets run through urllib.unquote()). Patch from Leo Shklovskii and Russell
Keith-Magee.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7330 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-20 06:50:54 +00:00
Jacob Kaplan-Moss 94269654d1 Oops, forgot AUTHORS for [7324].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7325 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-19 22:44:56 +00:00
Jacob Kaplan-Moss 4457ba002d Fixed #5894: added FilePathField to newforms. Thanks, Alex Gaynor.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7323 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-19 22:29:11 +00:00
Jacob Kaplan-Moss 32933d27b2 Fixed a corner case in management.setup_environ (it was triggered under Cygwin, but also perhaps could happen elsewhere). Thanks, Doug Napoleone.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7316 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-19 04:04:19 +00:00
Malcolm Tredinnick f0dec08c3a Added more robust processing to parameterised syndication feeds for the case
when all the "extra" URL bits are accidentally omitted. Patch from Niran
Babalola <niran@niran.org>. Fixed #5855.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7295 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 15:40:27 +00:00
Jacob Kaplan-Moss 8e14a4e6d7 Fixed #6351: added more examples to template filters. Thanks, David Tulig and atlithorn.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7276 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 00:14:41 +00:00
Malcolm Tredinnick 3c504b0f5c Changed the project-id string to "Django" throughout the translation files (we
discussed this on the i18n list a while back and I only just got around to it).

Also started removing various leftover author names in comments and moving them
into the AUTHORS file. So this is purely administrative. No translation changes
here.

Fixed #4677 (thanks, Paul Bissex).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7271 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-17 18:23:00 +00:00
Malcolm Tredinnick 8defa8fd27 Fixed #6794 -- Updated French translation. Thanks Karderio.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7256 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-17 13:45:08 +00:00
Jacob Kaplan-Moss 50bf567675 Fixed #6374: cross-app and circular FK constraints are now detected and added correctly. Thanks, dready.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7215 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-10 22:18:50 +00:00
Russell Keith-Magee c1f45c326c Fixed #6436 -- Added check for absolute paths in fixture loading. Fixtures specified as an absolute path were being loaded multiple times. Thanks to btoll@bestweb.net for the report, fix, and catch of a duplicate ticket.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7145 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-22 12:50:10 +00:00
Malcolm Tredinnick 68e43660d8 Fixed #6617 -- Added new Georgian (ka) translation from David Avsajanishvili.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7134 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-19 03:38:16 +00:00
Malcolm Tredinnick 87ca6ae4cc Fixed #6607 -- Added a new Basque (eu) translation. Thanks ibonso@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7118 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-15 11:29:27 +00:00