summaryrefslogtreecommitdiff
path: root/django/utils
AgeCommit message (Collapse)Author
2006-06-08Changed django.utils.text.smart_split to return strings, not tuplesAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3111 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-07Added django.utils.text.smart_split. Thanks, ckknightAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3101 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-05Fixed #2079 -- Fixed bug introduced in [3070] in django.utils.datastructuresAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3081 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-03Eliminated lots of mutable default arguments (since they are bugsLuke Plant
waiting to happen and are memory leaks too). git-svn-id: http://code.djangoproject.com/svn/django/trunk@3070 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02Fixed #2062 -- Added YEAR_MONTH_FORMAT and MONTH_DAY_FORMAT settings, and ↵Adrian Holovaty
added technical message IDs of the same names. Thanks, ramiro git-svn-id: http://code.djangoproject.com/svn/django/trunk@3055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01Fixed #2052 -- Fixed some threading issues for FreeBSD. Thanks, ↵Adrian Holovaty
scott@clued-in.co.uk git-svn-id: http://code.djangoproject.com/svn/django/trunk@3045 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31Fixed #2036 -- autoreload.py no longer fails for uninstalled 'thread' ↵Adrian Holovaty
module. Thanks, plmeister@gmail.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@3020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-30Fixed #2021 -- Improved Atom feed by outputting rel=alternate. Thanks, Ned ↵Adrian Holovaty
Batchelder git-svn-id: http://code.djangoproject.com/svn/django/trunk@3004 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-16Fixed #1321 -- Made DJANGO_SETTINGS_MODULE optional. You can now call ↵Adrian Holovaty
django.conf.settings.configure() to set settings manually if you don't have a settings module. Thanks, Malcolm Tredinnick, Luke Plant, Fredrik Lundh git-svn-id: http://code.djangoproject.com/svn/django/trunk@2927 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-16fixed #1817: added translation hooks for 3-letter month namesGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2912 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-16fixed #1660: added support functions and tags for bidi language supportGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2911 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-02MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly ↵Adrian Holovaty
backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions. git-svn-id: http://code.djangoproject.com/svn/django/trunk@2809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-12Fixed #1626 -- Fixed a bunch of typos in comments and docs. Thanks, DexterAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-11Fixed #1569 -- Made streaming HttpResponse unicode-awareAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2675 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-10Fixed syntax error in [2639]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2642 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-10Changed settings imports from [2639] to use 'from django.conf import ↵Adrian Holovaty
settings', to make it easier to merge to magic-removal git-svn-id: http://code.djangoproject.com/svn/django/trunk@2640 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-09Fixed #1569 -- HttpResponse now accepts iterators. Thanks, ManiacAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2639 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-28Added missing file from [2579]. Refs #1442Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2580 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-28Fixed #1539 in trunkAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2578 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-17Changed django.utils.cache.patch_response_headesr to move unnecessary ↵Adrian Holovaty
calculation of 'expires' into the 'if' statement git-svn-id: http://code.djangoproject.com/svn/django/trunk@2528 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-23Fixed #1385 -- Allowed timesince filter to accept datetime.date objects. ↵Adrian Holovaty
Thanks, Matt git-svn-id: http://code.djangoproject.com/svn/django/trunk@2375 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-27Fixed #1244 -- Renamed templateize to templatize in django.utils.translation.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2132 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-19Fixed a bunch of errors detected by pychecker -- unneeded imports and ↵Adrian Holovaty
shadows of builtin variable names git-svn-id: http://code.djangoproject.com/svn/django/trunk@2058 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-15Fixed #920 -- Fixed patch_response_headers() behavior when content is ↵Adrian Holovaty
Unicode. Thanks, Sune Kirkeby git-svn-id: http://code.djangoproject.com/svn/django/trunk@1980 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-15Fixed #1227 -- Fixed problem with new {% spaceless %} tag. It now normalizes ↵Adrian Holovaty
spaces to a single space rather than no spaces git-svn-id: http://code.djangoproject.com/svn/django/trunk@1969 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-15Fixed #1067 and #276 -- Added a {% spaceless %} tag, available in all templatesAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-13fixed #1221 - changed usage of wrong settings variable DEFAULT_ENCODING to ↵Georg Bauer
the correct DEFAULT_CHARSET. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1953 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-13fixes #1214 - django.utils.translation doesn't look at ↵Georg Bauer
DJANGO_SETTINGS_MODULE anymore, but now uses settings.SETTINGS_MODULE instead to construct the project path. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1941 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-04Changed repr for MultiValueDictAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1819 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-03Fixed #1117 -- Added HttpResponsePermanentRedirectAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1816 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-01Fixed #1145 -- Added unit tests for default template filters and fixed two ↵Adrian Holovaty
bugs in filters. Thanks, Luke Plant git-svn-id: http://code.djangoproject.com/svn/django/trunk@1811 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-28Fixed #1131 -- Added repr() to MultiValueDict. Thanks, SimonAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1789 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16Fixed #937 -- autoreload no longer reloads on every request on Windows. ↵Adrian Holovaty
Thanks for the patch, Eugene git-svn-id: http://code.djangoproject.com/svn/django/trunk@1686 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09Fixed #977 -- Fixed timesince() utility. Thanks, pgross@thoughtworks.comAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1579 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04added infrastructure code for later javascript translating (currently not ↵Georg Bauer
active) git-svn-id: http://code.djangoproject.com/svn/django/trunk@1529 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30Fixed bug in QueryDict parse_sql() call under mod_python, which requires ↵Adrian Holovaty
query_string to be an empty string, not None git-svn-id: http://code.djangoproject.com/svn/django/trunk@1505 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30Fixed #736 -- Changed behavior of QueryDict items() to be more consistent, ↵Adrian Holovaty
fixed mutability holes, gave MultiValueDict many more dictionary methods and added unit tests. Thanks, Kieran Holland. This is slightly backwards-incompatible if you happened to rely on the behavior of QueryDict.items(), which is highly unlikely. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1504 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30Moved parse_sql import in django.utils.httpwrappers to the top of the ↵Adrian Holovaty
module, not inside QueryDict.__init__() git-svn-id: http://code.djangoproject.com/svn/django/trunk@1503 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30Small importing change in django.utils.httpwrappers. Refs #736.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1502 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30Fixed #709 -- Added a __contains__ method to MultiValueDict. Thanks, BrantleyAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1498 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27Fixed #878 -- URLconf regex captures no longer have to be named groups. Old ↵Adrian Holovaty
URLconfs (with named groups) still work. This is backwards-incompatible if you've defined custom middleware with a process_view function. See http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges git-svn-id: http://code.djangoproject.com/svn/django/trunk@1470 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24Updated django.utils.translation due to template changes from [1379]. From ↵Adrian Holovaty
new-admin. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1388 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23Fixed #886 -- timesince utility now supports microseconds. Thanks, Aaron SwartzAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1374 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22added translation hooks to timesince and updated message files to reflect ↵Georg Bauer
them (and updated the 'de' translation). Additionally some smallish code changes to timesince (that weird zip thingy was just scary - and there is no need to .floor an integer division) git-svn-id: http://code.djangoproject.com/svn/django/trunk@1359 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-21fixes #753 - ValidationError and CriticalValidationError now accept both ↵Georg Bauer
strings and promises from gettext_lazy git-svn-id: http://code.djangoproject.com/svn/django/trunk@1328 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-16fixed a bug that happened only if the very first gettext call was an ngettextGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1266 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-14Fixed #787 -- High-level syndication framework now picks up author details. ↵Adrian Holovaty
Also updated documentation. Thanks, mattycakes git-svn-id: http://code.djangoproject.com/svn/django/trunk@1228 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-14Improved Atom feed-generating framework to output <link rel='self'>. Added a ↵Adrian Holovaty
feed_url hook to feedgenerator for this purpose, and changed the syndication Feed and views to use it. Also updated docs. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1227 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-14Fixed #784 -- Atom feeds now use RFC3339 datetime formatAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1226 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-14Fixed #786 -- Atom feeds now put links in a href element. Thanks, mattycakesAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1225 bcc190cf-cafb-0310-a4f2-bffc1f526a37