summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2008-10-06Added some better error reporting and path handling when creating template ↵Malcolm Tredinnick
paths. We now raise UnicodeDecodeError for non-UTF-8 bytestrings (thanks to Daniel Pope for diagnosing this was being swallowed by ValueError) and allow UTF-8 bytestrings as template directories. Refs #8965. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9161 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06Fixed #8321 -- Change django.contrib.auth.models to use django.utils.hashcompatMalcolm Tredinnick
for consistency with other code. Thanks, magneto. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9160 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06Fixed #5753 -- Allow createsuperuser to work in situations where thereMalcolm Tredinnick
might be a valid password database entry for the current user id. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9158 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06Fixed #9305 -- Updated Georgian translation from David Avsajanishvili.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9157 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06Fixed #9212: Added code to check the xgettext version, and if it is lower ↵Karen Tracey
than 0.15, undo an incorrect encoding to utf-8 done by xgettext. This bug was fixed in xgettext 0.15, but the most-easily-installed Windows gettext binaries are older (0.13.1), so we work around it. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9155 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05Fixed #8660 -- Small database query optimisation in User.get_profile.Malcolm Tredinnick
When calling User.get_profile(), we now tell the profile object about the related User object right away. This can save a database lookup later if something in the user profile object wants to refer to the user object. Patch from Mike Malone. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9152 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05Fixed #9068 -- Fixed a couple of typos in InsertQuery.clone(). Thanks, rush.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9150 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05Fixed #9283 -- Deliberately silence one deprecation warning raised by python ↵Malcolm Tredinnick
2.6. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9148 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05Fixed #9294 -- Removed a (harmless) double conversion to unicode in one formMalcolm Tredinnick
widget. Patch from nkilday. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9145 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05Fixed #9259 -- Fixed a validation error for Spanish identity card numbers.Malcolm Tredinnick
Patch from Marc Garcia. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9129 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05Fixed #8963 -- Use the require_POST decorator instead of doing things ↵Malcolm Tredinnick
manually in one of the comment views. Thanks, zgoda. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9121 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05Fixed #9100 -- Added a missing CSS class to a submit button.Malcolm Tredinnick
Thanks, mordyovits and thejaswi_puthraya. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9120 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05Add internationalisation support to the comment templates. Fixed #8868, #8905Malcolm Tredinnick
Thanks to zgoda for a patch that did most of the internationalisation part. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9119 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05Fixed #8803 -- Allow authenticated users without first_name/last_name values ↵Malcolm Tredinnick
set to post comments. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9118 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05Fixed #8869 -- Fixed comments templates to be well-formed XHTML.Malcolm Tredinnick
Based on a patch from zgoda. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9117 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05Fixed #8879 -- Used ungettext instead of ngettext in the comments framework.Malcolm Tredinnick
Patch from zgoda. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9116 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05Fixed #9141 -- Removed two templates from django.contrib.comments that were ↵Malcolm Tredinnick
not being used. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-02Promoted --verbosity to be a top level option for all management commands. ↵Russell Keith-Magee
Also added -v as a consistent short form of --verbosity. This is mostly to save Malcolm's poor arthritic fingers. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-30Update django.VERSION in trunk per previous discussionJames Bennett
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9103 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-30Fixed another case of reverse URL resolving that wasn't working.Malcolm Tredinnick
This is a similar situation to that fixed in r9087. We weren't merging multiple levels of include() calls together correctly. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9099 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-30Fixed #9221 -- Small optimisation to caching middleware handling.Malcolm Tredinnick
In the slightly unusual case that CACHE_MIDDLEWARE_SECONDS is set to 0, don't bother storing a copy in the local cache. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9098 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-28Italian translation: one correction; thanks, Marco Beri.Nicola Larosa
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9092 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-28Fixed Queryset.dates() in the presence of extra-select columns.Malcolm Tredinnick
Any extra(select=...) columns can be ignored in the SQL for dates, since we are only interested in extracting distinct date values. We were previously including them by accident and it was generating incorrect SQL. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9091 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-28Use correct m2m join table name in LatestCommentsFeedJames Bennett
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9089 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-28Fixed #9203: Restore correct ordering for LatestCommentsFeedJames Bennett
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9088 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-27Fixed #9038 -- Correctly handle URL patterns with the same name (or view name),Malcolm Tredinnick
declared independently and that differ only by argument signatures. Patch from Russell Keith-Magee. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9087 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-27Fixed #9171 -- Fixed a few places where we were assuming lists instead ofMalcolm Tredinnick
generic sequences in ModelForm structures. Patch from mrmachine. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9086 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-22Add some docstrings to the base classes for management commands. Refs #9170.James Bennett
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9082 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-22Fixed a missing variable initialisation deep in the Query bowels.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9081 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-21Fixed #7582: Removed checks that prevented null=True ForeignKey fields from ↵Karen Tracey
being sortable in Admin. Post queryset-refactor there seems no reason to disallow this. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9080 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-21Fixed 8984: Only include a "Documentation" link on change password and ↵Karen Tracey
change password done pages if admin docs have been configured. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9079 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-20Added a generic "button" class to the admin styles to allow applying the ↵Wilson Miner
standard admin button styles to arbitrary elements in the future. Should have no effect on existing code. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9077 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-18Fixed #9129 -- Restored a force_unicode that was lost when unicode changes ↵Karen Tracey
were merged to newforms-admin. Thanks Ricardo & Ramiro. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9070 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-18Fixed #9125 -- When displaying errors for a form with only hidden fields, ↵Malcolm Tredinnick
make sure the resulting XHTML is correct. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9067 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-17Fixed #9117: Made the test client a new-style class. Thanks to Jan Oberst ↵Russell Keith-Magee
for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9066 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-17Fixed #9014 -- Check that we really are processing a POST before processingMalcolm Tredinnick
POST data. Some nice debugging form aaron to track this down. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9064 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-17Changed a slightly suspicious usage of request.POST to request.method == 'POST'.Malcolm Tredinnick
Refs #9014 (not the root cause of that bug, but discovered whilst people were diagnosing it). git-svn-id: http://code.djangoproject.com/svn/django/trunk@9063 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-17Fixed #9096 -- Fixed a slightly out-of-date comment.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9062 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-17Fixed #9113 -- Improved exception message reporting when importing sqlite3 ↵Malcolm Tredinnick
fails. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9060 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-17Fixed #8859 -- Some improvements to the Mandarin Chinese translation. ↵Malcolm Tredinnick
Thanks, zhe. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9059 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-17Fixed #9018 -- Updated Georgian translation from David Avsajanishvili.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9058 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-17Fixed #9017 -- Updated Danish translation from Finn Gruwier Larsen.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9057 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-17Fixed #6415. Updated Icelandic translation from Jökull Sólberg Auðunsson.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9056 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-17Fixed #8409 -- The runserver now uses conditional GET for admin media files, ↵Adrian Holovaty
instead of reloading the files off disk for every request. Thanks for reporting, andylowry git-svn-id: http://code.djangoproject.com/svn/django/trunk@9055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-17Fixed #8573 -- Fixed bug in 'inspectdb' regarding case-sensitivity of field ↵Adrian Holovaty
names. It was automatically lowercasing the column name to create the Field name, which was inaccurate in the case of column names that contained a capital letter. Thanks for reporting and detective work, ramiro git-svn-id: http://code.djangoproject.com/svn/django/trunk@9053 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-17Fixed #8574 -- Made Sitemap a new-style classAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-16Fixed #8870 -- Changed django.contrib.comments templates to use lowercase ↵Adrian Holovaty
'post' for <form method> attributes, to be consistent with our other templates. Thanks, zgoda git-svn-id: http://code.djangoproject.com/svn/django/trunk@9050 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-16Fixed #9016 -- Changed VERSION from 1.0.final to 1.0.post-release-SVN, which ↵Adrian Holovaty
should suffice until we create a 1.0.x branch git-svn-id: http://code.djangoproject.com/svn/django/trunk@9049 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-16Changed the app-level links on the admin index page to include trailing ↵Adrian Holovaty
slashes, to be consistent with the rest of the links git-svn-id: http://code.djangoproject.com/svn/django/trunk@9048 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-16Fixed #9083 -- Improved get_admin_log template tag so that it doesn't run a ↵Adrian Holovaty
separate SQL query for every record in the 'history' sidebar on the admin homepage. Thanks for the patch, santip git-svn-id: http://code.djangoproject.com/svn/django/trunk@9045 bcc190cf-cafb-0310-a4f2-bffc1f526a37