summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2007-03-08Fixed #1839, #2415, #2536 -- Fixed a generated name clash that was common inMalcolm Tredinnick
self-referential and circular relations. A lot of community debugging went into this fix, so thanks to bmurdock@gmail.com, Marek Kubica, ramiro, Michael Radziej (the last two giving test cases showing the problem) and James Bennett (who did the hard work to actually diagnose the true problem and fix it). git-svn-id: http://code.djangoproject.com/svn/django/trunk@4676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-07Removed rsplit() usage for python2.3 compatibility. Refs #3625.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4671 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-06Fixed #3647 -- Added small fixes to Spanish translation from Mario Gonzalez.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4668 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-06Fixed #3655, #3656 -- Updated Swedish (sv) translations. Thanks, mikko@sorl.net.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-05Fixed #3654 -- Added missing Mass. to us_states.py in localflavor. Thanks, ↵Adrian Holovaty
joe4444 git-svn-id: http://code.djangoproject.com/svn/django/trunk@4665 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-02Fixed #3627 -- Made [4659] compatible with Python 2.3. Thanks, Gary Wilson.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4662 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-02Added option to pretty-print dumped fixture outputRussell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4661 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-01Changed the postgres version getting code to use cursor.fetchone() instead ↵Jacob Kaplan-Moss
of dictfetchone(); some versions (including mine) of psycopg don't export dictfetch functions. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4660 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-01Fixes #2333 -- Added test fixtures framework.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4659 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-01Fixed #3614 -- Updated Finnish (fi) translation. Thanks, karsu.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4658 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-28Reverted [4590] (changes to field label CSS) since it caused more problems ↵Jacob Kaplan-Moss
than it created. Fixes #3596 and reopens #2205. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4652 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-28Fixed #3488: Added "b" option to date format filter. Thanks, Gary Wilson.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4647 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-28Added a "depth" argument to select_related() to control how many "levels" of ↵Jacob Kaplan-Moss
relations select_related() is willing to follow (refs #3275). Also added unit tests for select_related(). git-svn-id: http://code.djangoproject.com/svn/django/trunk@4645 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-28FIxed #1984 -- Updated Italian translation. Thanks Nicola Larosa.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4644 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-28Fixed #2779: added a copy() method to MergeDict, along with some new tests ↵Jacob Kaplan-Moss
for django.utils.datastructures. Thanks, Chris McAvoy. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4640 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-27Fixed #3465: template variable lookups like {{ foobar.13 }} now (correctly) ↵Jacob Kaplan-Moss
fail silently on unsubscriptable objects. Thanks, Gary Wilson. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4639 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-27Fixed #3590 -- Updated Spanish translations. Combined work from Marc Fargas,Malcolm Tredinnick
Mario Gonzales and Jorge Gajon. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4635 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-27FIxed #3577 -- Updated Swedish translations. Thanks, Ludvig Ericson.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4634 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-27Removed two vestigal URLconfs that refer to Ellington or to non-existant views.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4632 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-27Fixed #3589: settings templates and default settings now mention psycopg2 ↵Jacob Kaplan-Moss
instead of psycopg1. Thanks (again), Mark Fargas. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4631 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26Fixed #2828, a TypeError when deleting objects with m2m relations to self. ↵Jacob Kaplan-Moss
Thanks, Brian Beck. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4616 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26Fixed another Python 2.3 bug (this one on django.http.parse_file_upload). I ↵Jacob Kaplan-Moss
think there's one left. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26Added a comment to the 404/500 views so that people with DEBUG=False and no ↵Jacob Kaplan-Moss
404/500 template will get a clue about which template to create. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4612 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26Fixed #3581, a small typo in OneToOneField.formfield(). Thanks, Andrew ↵Jacob Kaplan-Moss
Sutherland. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4611 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26Fixed #3390: the serializer can now contain forward references. Thanks, Russ.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4610 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26Objects with FileFields no longer get save() called multiple times from the ↵Jacob Kaplan-Moss
AutomaticManipulator! This fixes #639, #572, and likely others I don't know of. This may be slightly backwards-incompatible: if you've been relying on the multiple-save behavior (why?), then you'll no longer see that happen. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26Fixed #3253 -- Exposed the number of failed tests as a return code in ↵Russell Keith-Magee
manage.py and runtests.py. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26Fixed #2363 -- Fixed subclass checking in ModelBase to allow for mixinMalcolm Tredinnick
superclasses. Thanks phil.h.smith@gmail.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4607 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26Fixed #3565 -- Updated Spanish translation. Thanks, agarfu@gmail.com and MarioMalcolm Tredinnick
Gonzalez. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4606 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26Fixed #3555 -- Updated Swedish (sv) translation. Thanks to Ludvig Ericson.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4605 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26Fixed #3573 -- Updated Argentinean Spanish (es_AR) translation files. ThanksMalcolm Tredinnick
Ramiro Morales. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4604 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26Fixed #3562 -- Updated Macedonian (mk) translations. Thanks to GeorgiMalcolm Tredinnick
Stanojevski. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4603 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26Fixed #3561 -- Updated German (de) translations. Thanks to Dirk Eschler.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4602 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26Fixed #3535 -- Updated Serbian (sr) translations. Thanks Petar Marić and Nesh.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4601 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26Fixed #3251 -- Added Kannada (kn) translations. Thanks to the volunteers fromMalcolm Tredinnick
http://dev.sampada.net/. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4600 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26Fixed #3517 -- Updated Slovenian translation. Thanks, Jure Cuhalev.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4599 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26Cleaned up comments from [4597] to be a bit more clear.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4598 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26Fixed #3438: improved the speed of Model.__init__ (about 1/3 faster, it ↵Jacob Kaplan-Moss
appears). Thanks (a lot!) to Brian Harring. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4597 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26Fixed #3397: You can now order by non-DB fields in the admin by telling ↵Jacob Kaplan-Moss
Django which field to actually order by. Thanks, marcink@elksoft.pl git-svn-id: http://code.djangoproject.com/svn/django/trunk@4596 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26Fixed #3172: Model.validate() no longer raises TypeErrors on empty ↵Jacob Kaplan-Moss
Date*Fields. Thanks, floguy@gmail.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4592 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26Fixed #3170: added first_on_page and last_on_page arguments to paginated ↵Jacob Kaplan-Moss
generic views. Thanks, Grimboy. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4591 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26Small fix to admin CSS. Fixes #2205; thanks, treborhudson@gmail.comJacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4590 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26Fixed #3439: vastly improved the performance of django.dispatch (and added ↵Jacob Kaplan-Moss
tests!). Thanks to Brian Harring for the patch. Note that one of the new tests fails under sqlite currently; it's not clear if this is a sqlite problem or a problem with the tests, but it appears not to be a problem with the dispatcher itself. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4588 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-25Teeny weeny optimization to RegexURLPattern.resolve()Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4587 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-25Fixed #2104: allow somewhat nicer error messages in ↵Jacob Kaplan-Moss
RequiredIfOtherFieldEquals validator. Thanks, Steven Armstrong git-svn-id: http://code.djangoproject.com/svn/django/trunk@4577 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-25Fixed #2620: made MergeDict.get() correctly work with the two-argument form ↵Jacob Kaplan-Moss
of get(). Thanks for the patch, SmileyChris. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4576 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-25Fixed #3488: send_mail no longer uses settings in function default ↵Jacob Kaplan-Moss
arguments. Thanks to Per Jonsson for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4574 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-25Fixed #3459: Django no longer runs SET TIME ZONE for every query when using ↵Jacob Kaplan-Moss
Postgres. This should result in a pretty noticible speedup for Postgres users, so many thanks to Jack Moffitt for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4573 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-25Fixed #3554: django.core.mail now generates dates with the email module ↵Jacob Kaplan-Moss
instead of the outdated rfc822 module. Thanks, real.human@mrmachine.net git-svn-id: http://code.djangoproject.com/svn/django/trunk@4570 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-23Fixed silly typo in [4651].Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4563 bcc190cf-cafb-0310-a4f2-bffc1f526a37