summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-10-06Fixed a couple of markup errors in the documentation.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9164 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06Fixed #9047 -- Marked up django.core.urlresolvers.reverse() properly in theMalcolm Tredinnick
docs. It now appears in the index. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9163 bcc190cf-cafb-0310-a4f2-bffc1f526a37
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-05Add note to 1.0 porting guide about removal of dictionary access to HTTP ↵James Bennett
request objects git-svn-id: http://code.djangoproject.com/svn/django/trunk@9153 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-05Changed the "write your own settings" recommendation to mention that DjangoMalcolm Tredinnick
uses tuples, but not making it a recommendation. That might head off the endless tuples vs. lists debates. Fixed #8846. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9146 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 #8964 -- Added a note that MyISAM may not necessarily be the defaultMalcolm Tredinnick
storage engine for MySQL. Some packagers seem to like causing confusion. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9143 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05Fixed a typo and clarified how django.core.mail.outbox works in the testing ↵Malcolm Tredinnick
framework. Fixed #9237. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9140 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05Added django.contrib.markup to the docs contents page. Thanks, Marc Fargas.Malcolm Tredinnick
Refs #9237. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9139 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05Fixed #9257 -- Fixed a small mismatch in text in part 2 of the tutorial.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9134 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05Fixed #9291 -- Tweaked a piece of example code slightly to set a good exampleMalcolm Tredinnick
for others (now uses an encoding that is guaranteed to work for XML consumers). git-svn-id: http://code.djangoproject.com/svn/django/trunk@9133 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05Fixed #9301 -- Correct a markup typo in the docs.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9132 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05Fixed #9300 -- Typo fix in docs.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9131 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-05Altered a failing url template tag test to work more reliably.Malcolm Tredinnick
There's no guarantee about the order in which ambiguous patterns are resolved. The solution is "don't do that" and avoid ambiguity. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-04Fixed #9293: Corrected expected test output for the admin_scripts tests, ↵Russell Keith-Magee
following the changes to --verbosity in 9110. Thanks to Alex for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9112 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-10-01Change version calculation in setup.py to go with the new VERSION tupleJames Bennett
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9107 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-30Fixed #9255: Removed now-obsolete warning about the old semantics of ↵James Bennett
__exact=None vs. __isnull=True git-svn-id: http://code.djangoproject.com/svn/django/trunk@9105 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-30Rewrote bits of the cycle tag documentation, which was confusing -- it ↵Adrian Holovaty
implied 'rowvar' was required git-svn-id: http://code.djangoproject.com/svn/django/trunk@9101 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-29Fixed #9234 -- Typo fix.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9093 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-28Restored documentation about pickling QuerySets (and how to only pickle theMalcolm Tredinnick
details for the query, rather than the results) from r7499. These were accidentally nuked in the docs refactor. We know who the offenders were. They will be made to sit in the corner on the naughty mat for a while. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9090 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-27Fied #9169 -- Fixed a typo in a docs example. Thanks, jeremyb.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9085 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-22Fixed #8371: Added a note warning Windows users about the use of forward ↵Russell Keith-Magee
slashes when specifying the DATABASE_NAME setting. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9084 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-22Fixed #8967: Added documentation for the 'through' option on a many-to-many ↵Russell Keith-Magee
field in the fields reference documentation. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9083 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