summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2007-09-15Fixed #3032 -- Added some useful methods and attributes so that ↵Malcolm Tredinnick
AnonymousUser can proxy for a User a bit more logically. Patch from semenov. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Fixed two more instances of bug #4827 in the management code.Ian Kelly
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Added a get_host() method to HttpRequest. There is still an http.get_host() ↵Malcolm Tredinnick
version in place, so this is fully backwards compatible. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6296 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Fixed #5109 -- Pass the request object to any exception signal handler. ↵Malcolm Tredinnick
Thanks, Collin Anderson. This is fully backwards compatible, despite the addition of an extra argument. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6292 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Fixed #5242 -- Fixed table processing for some databases with case ↵Malcolm Tredinnick
insensitive tables. Patch from Filip Wasilewski. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6291 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Variable renaming. I didn't feel comfortable with the tricky re-aliasing in ↵Malcolm Tredinnick
the line table_list=table_list(). git-svn-id: http://code.djangoproject.com/svn/django/trunk@6290 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Fixed #5243 -- Allow loading of templatetags from subdirectories (via dotted ↵Malcolm Tredinnick
notation in {% load %}). Thanks, Bjørn Stabell. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6289 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Fixed #5177 -- Changed content type creation to also remove the types for ↵Malcolm Tredinnick
any orphaned entries (so it's now an "update" feature). Thanks, Rob Hudson. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6287 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Fixed #5471 -- Fixed cleaning of boolean field data when it's used as a ↵Malcolm Tredinnick
hidden field. Patch from Paul Lanier. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6285 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Fixed #5462 -- Added Peruvian localflavor. Thanks, xbito.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6283 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Fixed #5355 -- Fixed data cleaning for DecimalField.Malcolm Tredinnick
In passing, fixed a problem with cleaning in IntegerField. Includes tests from PhiR. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6282 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Fixed #5443 -- Handle lack of os.access() and os.chmod() in Jython. Thanks, ↵Malcolm Tredinnick
Leo Soto. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6281 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Made a small optimization to __deepcopy__ in [6276].Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6279 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Fixed #5468 -- Fixed the handling of the context argument in ↵Russell Keith-Magee
direct_to_template generic views. Thanks, durdinator. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6278 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Fixed #5444 -- Changed manipulator class construction to use type(), rather ↵Malcolm Tredinnick
than types.ClassType(). Helps with Jython compatibility. Patch from Leo Soto. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6277 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Fixed #5487 -- Added deepcopying ability to lazy() objects, along with a ↵Malcolm Tredinnick
test to demonstrate why the previous code failed. Debugging and patch from John Buchanan. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6276 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Fixed #5470 -- Fixed the 'Z' time format marker in templates to handle ↵Malcolm Tredinnick
timezones west of UTC. Thanks, Paul Lanier. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6275 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Fixed #5387 -- Added is_multipart method to forms. Original patch from Petr ↵Malcolm Tredinnick
Marhhoun. Tests and documentation from Murkt. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6273 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Fixed #5486 -- Worked around the lack of os.getpid() in Jython, whilst still ↵Malcolm Tredinnick
using it for CPython. Patch from Leo Soto. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6270 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Fixed #4879 -- Added 'created' arg to post_save signal. This is True is a ↵Malcolm Tredinnick
new object is created. Patch from George Vilches. Fully backwards compatible, because signal receivers do not have to be able to accept all the arguments (thankyou, robust_apply()). git-svn-id: http://code.djangoproject.com/svn/django/trunk@6269 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Fixed #3036 -- Fixed some doctest strings that were failing. Thanks to pterk ↵Russell Keith-Magee
for the original patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6268 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Fixed a small bug in strings_only handling for force_unicode().Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6267 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Fixed some Python 2.3 unicode conversion problems. Uncovered by the tests, ↵Malcolm Tredinnick
but that was just a sign of a real bug (luckily!). git-svn-id: http://code.djangoproject.com/svn/django/trunk@6266 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Fixed #4714 -- Modified serializers to handle None primary keys correctly. ↵Russell Keith-Magee
This slightly changes the output format for primary keys on JSON and YAML serializers (PKs will be output as 1, rather than "1". However, fixtures in the old format will still load ok. Thanks for the patch, pigletto. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6264 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Fixed #3088 -- Filter parameters are now translated in blocktrans. Thanks, ↵Adrian Holovaty
permon git-svn-id: http://code.djangoproject.com/svn/django/trunk@6263 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Fixed #1888 -- Fixed small interface inaccuracy when using ↵Adrian Holovaty
filter_interface=models.VERTICAL. Thanks, ryankanno, wnielson and SmileyChris git-svn-id: http://code.djangoproject.com/svn/django/trunk@6262 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Fixed #5473 -- Updated Finnish translation. Thanks akaihola.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6259 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Fixed #5483 -- Removed django.shortcuts.load_and_render, which was replaced ↵Adrian Holovaty
a long time ago git-svn-id: http://code.djangoproject.com/svn/django/trunk@6257 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Fixed #5456 -- Added a new Irish translation. Thanks, Michael Thornhill.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6256 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Fixed #5452 -- Updated Spanish translation. Thanks, Marc Garcia.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6254 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Fixed #5451 -- Updated Catalan translation from garcia_marc.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6253 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Fixed #4415 -- Added formfield method to PositiveIntegerField, so that those ↵Russell Keith-Magee
fields get validated correctly. Thanks, Oggie Rob. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6252 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14Made Oracle backend cast CharField values of None to u'' instead of ''Ian Kelly
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6248 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14Fixed #5432 -- Added docs/form_preview.txt. Thanks, ryankannoAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6247 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14Fixed a missing import in mysql backend. Thanks for pointing it out, mattmcc.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6244 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14Negligible formatting change to [6211]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6241 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14Fixed #3091 -- django.contrib.comments views now accept extra_context and ↵Adrian Holovaty
context_processors arguments. Thanks, Eric Floehr and __hawkeye__ git-svn-id: http://code.djangoproject.com/svn/django/trunk@6236 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14Added more dict-like methods to HttpResponse as part of the response.headers ↵Jacob Kaplan-Moss
-> response._headers move, and fixed a few direct uses of response.headers in Django itself. Thanks to PhiR for tracking down and slaying these bugs. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6235 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14Fixed number #4076: django.utils.feedgenerator now corectly handles times ↵Jacob Kaplan-Moss
without timezones. Thanks, Alastair Tse. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6233 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14Fixed #3381 - manage.py shell now respects PYTHONSTARTUP/.pythonrc.py.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6231 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14Fixed an Oracle sqlflush / sequence reset column name bug exposed by the new ↵Ian Kelly
test case in [6195]. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6230 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14Fixed #5161 -- Changed MySQL backend only to report warning once. Thanks, ↵Adrian Holovaty
durdinator git-svn-id: http://code.djangoproject.com/svn/django/trunk@6229 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14Fixed #5478 -- Fixed bug in lorem template tag. Thanks, racterAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6228 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14Fixed breakage introduced in the recent render_to_response() changeAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6227 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14Fixed #5308 -- Redirect from pages that need login and have Unicode URL no ↵Adrian Holovaty
longer causes error. Thanks, webjunkie git-svn-id: http://code.djangoproject.com/svn/django/trunk@6226 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14Backwards-incompatible change: renamed HttpResponse.headers to ↵Jacob Kaplan-Moss
HttpResponse._headers to deliberately break anyone accessing headers directly instead of through the case-insensitive proxies on HttpResponse itself. See BackwardsIncompatibleChanges for more details. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6225 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14Fixed #4658 -- Improved documentation of linebreaks and linebreaksbr. ↵Adrian Holovaty
Thanks, ubernostrum and Gary Wilson git-svn-id: http://code.djangoproject.com/svn/django/trunk@6223 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14Fixed #4071 -- Fixed bug in cache_page decorator, which was setting the ↵Adrian Holovaty
wrong header. Thanks, Ionut Ciocirlan (xlotlu) and permon git-svn-id: http://code.djangoproject.com/svn/django/trunk@6222 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14Fixed the breakage in [6164] in a different, better way: HttpResponse now ↵Jacob Kaplan-Moss
implements __contains__ along with __get/set/delitem__, as it should. This is a bit more robust, and should prevent similar breakage from user code. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6221 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14Case-insensitive HttpResponse headers ([6212]) broke absolute URL redirects ↵Jacob Kaplan-Moss
([6164]); this fixes the breakage. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6219 bcc190cf-cafb-0310-a4f2-bffc1f526a37