Commit Graph

3980 Commits

Author SHA1 Message Date
Malcolm Tredinnick b984505d13 Fixed #5470 -- Fixed the 'Z' time format marker in templates to handle 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-15 10:36:14 +00:00
Malcolm Tredinnick c96c57afad Added Vsevolod Solovyov (a.k.a. Murkt) to AUTHORS.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6274 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 10:17:50 +00:00
Malcolm Tredinnick f0cd172cd0 Fixed #5387 -- Added is_multipart method to forms. Original patch from Petr Marhhoun. Tests and documentation from Murkt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6273 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 10:12:05 +00:00
Malcolm Tredinnick 32ed883861 Fixed #5489 -- Updated docs to reflect the changes in [6177]. Thanks, msaelices.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 10:11:26 +00:00
Malcolm Tredinnick 8a17181b58 Fixed #5477 -- Added links from the markup filters to the more extensive documentation in the add-ons file. Patch from mitja.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6271 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 09:51:57 +00:00
Malcolm Tredinnick cd8959c82a Fixed #5486 -- Worked around the lack of os.getpid() in Jython, whilst still 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-15 09:51:41 +00:00
Malcolm Tredinnick 1baae32e16 Fixed #4879 -- Added 'created' arg to post_save signal. This is True is a 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-15 09:14:51 +00:00
Russell Keith-Magee 84e824fbbf Fixed #3036 -- Fixed some doctest strings that were failing. Thanks to pterk for the original patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6268 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 08:29:56 +00:00
Malcolm Tredinnick 671a8359e8 Fixed a small bug in strings_only handling for force_unicode().
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6267 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 08:05:32 +00:00
Malcolm Tredinnick c59903101a Fixed some Python 2.3 unicode conversion problems. Uncovered by the tests, 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-15 05:50:45 +00:00
Matt Boersma 072dfaa1dd Added svn:ignore prop to new directories.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6265 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 05:37:35 +00:00
Russell Keith-Magee 314536190b Fixed #4714 -- Modified serializers to handle None primary keys correctly. 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-15 05:32:29 +00:00
Adrian Holovaty 604504896c Fixed #3088 -- Filter parameters are now translated in blocktrans. Thanks, permon
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6263 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 05:14:16 +00:00
Adrian Holovaty 5c3905cf48 Fixed #1888 -- Fixed small interface inaccuracy when using 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-15 05:01:58 +00:00
Adrian Holovaty 16906ea793 Fixed #5024 -- Fixed potential error in docs/databases.txt related to MySQL 'passwd'. Thanks, ispivey@gmail.com and ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6261 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 05:00:21 +00:00
Adrian Holovaty a604896042 Fixed #4692 -- Documented required database privileges. Thanks, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6260 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 04:58:41 +00:00
Malcolm Tredinnick 435ff875f5 Fixed #5473 -- Updated Finnish translation. Thanks akaihola.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6259 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 04:54:17 +00:00
Adrian Holovaty 4ed5eafe87 Fixed #5482 -- Fixed ReST error in docs/generic_views.txt. Thanks, ubernostrum and nickefford
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6258 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 04:53:35 +00:00
Adrian Holovaty 042d87b98c Fixed #5483 -- Removed django.shortcuts.load_and_render, which was replaced a long time ago
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6257 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 04:52:48 +00:00
Malcolm Tredinnick 5ce8a38933 Fixed #5456 -- Added a new Irish translation. Thanks, Michael Thornhill.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6256 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 04:43:48 +00:00
Adrian Holovaty bdba94d78f Fixed #5264 -- Specified Flup version in docs/fastcgi.txt. Thanks, akaihola and Nis Jorgensen
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6255 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 04:30:15 +00:00
Malcolm Tredinnick 036e4575df Fixed #5452 -- Updated Spanish translation. Thanks, Marc Garcia.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6254 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 04:14:56 +00:00
Malcolm Tredinnick e35321b5c3 Fixed #5451 -- Updated Catalan translation from garcia_marc.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6253 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 04:14:24 +00:00
Russell Keith-Magee cf3c94b26d Fixed #4415 -- Added formfield method to PositiveIntegerField, so that those 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-15 02:37:07 +00:00
James Bennett ce53de47a2 Correcting inadvertent typo from [6224]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6251 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 01:02:45 +00:00
Ian Kelly c74ebab686 Added explicit order_by filters to some model_forms tests that were failing in Oracle due to returning results in the wrong order.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6250 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 00:19:22 +00:00
Ian Kelly ad821b6459 Made the fixtures_regress test case be aware of Oracle's empty string
limitations.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6249 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 00:08:08 +00:00
Ian Kelly 8c5214d9b4 Made Oracle backend cast CharField values of None to u'' instead of ''
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6248 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 23:23:55 +00:00
Adrian Holovaty 92e55fe8b1 Fixed #5432 -- Added docs/form_preview.txt. Thanks, ryankanno
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6247 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 23:15:40 +00:00
Matt Boersma 6c16d84a0b Fixed test case that failed on Oracle because it assumed an ordering for
objects.all().


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6246 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 23:09:05 +00:00
Jacob Kaplan-Moss 4c0ac53ff8 Fixed a missing import in mysql backend. Thanks for pointing it out, mattmcc.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6244 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 23:02:39 +00:00
Jacob Kaplan-Moss 5af2af3e33 Fixed the test in [6218] which was invalid for psycopg2 and friends -- executemany() shouldn't accept None, just empty lists.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6242 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 22:54:58 +00:00
Adrian Holovaty e74880ed22 Negligible formatting change to [6211]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6241 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 22:49:01 +00:00
Adrian Holovaty 03652c7f2b Fixed #3091 -- django.contrib.comments views now accept extra_context and 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-14 22:36:15 +00:00
Jacob Kaplan-Moss ca9388cdaf Added more dict-like methods to HttpResponse as part of the response.headers -> 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-14 22:33:56 +00:00
Adrian Holovaty 71796410ba Fixed #5474 -- Improved docs/shortcuts.txt. Thanks, minarets and EyePulp
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6234 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 22:33:06 +00:00
Jacob Kaplan-Moss eb11615baa Fixed number #4076: django.utils.feedgenerator now corectly handles times without timezones. Thanks, Alastair Tse.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6233 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 22:29:37 +00:00
Jacob Kaplan-Moss 27d027782c Fixed #3381 - manage.py shell now respects PYTHONSTARTUP/.pythonrc.py.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6231 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 22:16:14 +00:00
Ian Kelly 17cd87a264 Fixed an Oracle sqlflush / sequence reset column name bug exposed by the new test case in [6195].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6230 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 22:07:54 +00:00
Adrian Holovaty dfdbf9ec1e Fixed #5161 -- Changed MySQL backend only to report warning once. Thanks, durdinator
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6229 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 22:05:58 +00:00
Adrian Holovaty 59964c2c3f Fixed #5478 -- Fixed bug in lorem template tag. Thanks, racter
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6228 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 22:03:47 +00:00
Adrian Holovaty 4f70820dc1 Fixed breakage introduced in the recent render_to_response() change
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6227 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 21:58:17 +00:00
Adrian Holovaty ddd3d7c71f Fixed #5308 -- Redirect from pages that need login and have Unicode URL no longer causes error. Thanks, webjunkie
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6226 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 21:53:15 +00:00
Jacob Kaplan-Moss dd799591fc Backwards-incompatible change: renamed HttpResponse.headers to 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-14 21:53:13 +00:00
Adrian Holovaty 8cf9a6d64b Fixed #4245 -- Added documentation about permission error on OS X. Thanks, jacob@gridface.com and ubernostrum and others
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6224 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 21:48:50 +00:00
Adrian Holovaty cadc6e8c9f Fixed #4658 -- Improved documentation of linebreaks and linebreaksbr. Thanks, ubernostrum and Gary Wilson
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6223 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 21:46:38 +00:00
Adrian Holovaty b522469322 Fixed #4071 -- Fixed bug in cache_page decorator, which was setting the 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-14 21:42:26 +00:00
Jacob Kaplan-Moss 4100eab823 Fixed the breakage in [6164] in a different, better way: HttpResponse now 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-14 21:41:48 +00:00
Ian Kelly 5a5d8a90b5 Added test cases for [6218].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6220 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 21:38:45 +00:00
Jacob Kaplan-Moss 06f4c38b55 Case-insensitive HttpResponse headers ([6212]) broke absolute URL redirects ([6164]); this fixes the breakage.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6219 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 21:36:39 +00:00