Commit Graph

11136 Commits

Author SHA1 Message Date
Aymeric Augustin d0eb4693ab Fixed #15255 -- Ensured createcachetable honors database routers.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17114 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-19 19:56:31 +00:00
Karen Tracey c8c71057aa Fix #15646: Document that a FileField's full path can't be relied upon until its model has been saved to the database. Thanks poirier.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-19 15:08:07 +00:00
Aymeric Augustin 549c495875 Used symbolic constants for psycopg2 isolation levels.
Django used the value 1 = ISOLATION_LEVEL_READ_UNCOMMITTED in some places, but
PostgreSQL doesn't provide "read uncommited", it uses "read committed" instead:
http://www.postgresql.org/docs/9.1/static/transaction-iso.html. For clarity,
this commit uses ISOLATION_LEVEL_READ_COMMITTED = 2 where 1 was previously used.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@17112 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-19 14:18:44 +00:00
Timo Graham e41e3a543e Fixed #16940 - Added "Generic relations" to docs index; thanks danielr for the suggestion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17111 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-19 11:38:40 +00:00
Timo Graham b4dcbe398d Fixed #17196 - Typo in docs/ref/contrib/staticfiles.txt; thanks caa for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-19 10:57:59 +00:00
Timo Graham c29e089000 Fixed #17105 - Typos in docs/ref/contrib/csrf.txt; thanks googol for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17109 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-19 10:53:26 +00:00
Aymeric Augustin 40b9532668 Fixed #16753 -- Supported network-path references in the syndication framework. Thanks cato for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17108 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-18 22:54:24 +00:00
Jannis Leidel 6f66b55108 Fixed #17255 -- Removed "as" prefix from new timezone template filter names for the sake of clarity. Cheers to Aymeric Augustin for bearing with me.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17107 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-18 15:00:08 +00:00
Aymeric Augustin 9b1cb755a2 Added support for time zones. Thanks Luke Plant for the review. Fixed #2626.
For more information on this project, see this thread:
http://groups.google.com/group/django-developers/browse_thread/thread/cf0423bbb85b1bbf



git-svn-id: http://code.djangoproject.com/svn/django/trunk@17106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-18 13:01:06 +00:00
Aymeric Augustin 01f70349c9 Fixed #17248 -- Added a missing versionadded directive for TestCase.assertRaisesMessage.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17105 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-18 07:09:18 +00:00
Carl Meyer 5e53f12761 Updated committer bio.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17104 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-18 01:36:57 +00:00
Luke Plant 543984f462 Fixed some ReST errors in 'regroup' template tag docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17103 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-17 22:00:08 +00:00
Jannis Leidel 773d91ead2 Fixed #17128 -- Fixed a Python 2.5 incompatibility. Thanks, Simon Meers.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17102 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-17 21:30:07 +00:00
Jannis Leidel c20d33201c Fixed #17223 -- Correctly reference the signed cookies session backend. Thanks, Bryan Veloso.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17101 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-17 21:16:42 +00:00
Aymeric Augustin 1adf8d4386 Fixed #17240 -- Replaced links to the online version of the docs by internal references.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17100 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-16 21:04:28 +00:00
Ramiro Morales 6d5f19ce82 Removed empy leftover directory.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17099 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-16 10:39:22 +00:00
Ramiro Morales 907015cb40 Fixed #17234 -- Added back a missing endblock tag to an admindoc template. Thanks shibz for the report and fix.
Refs #16912.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17098 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-16 10:30:19 +00:00
Adrian Holovaty 878cc410ca Added RIP next to diveintopython.org in AUTHORS file
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17097 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-16 00:03:43 +00:00
Julien Phalip a6ccc8cc06 Fixed #15912 -- Ensured that `forms.CharField.widget_attrs()` always returns a dictionary. Thanks to tsabi and rubyruy for the report and to mmcnickle and prestontimmons for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17096 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-15 09:36:08 +00:00
Karen Tracey fae75a32ee Fix #17174: Add note in the supported databases notes that MySQL can't conceive of a time unit smaller than a second. Thanks jammon and poirier.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17095 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-13 19:28:43 +00:00
Karen Tracey 5de31cb8cb Refs #17215: Avoid generating 47 leftover tmp dirs during a clean test run.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17094 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-13 19:05:02 +00:00
Karen Tracey b8353016b7 Fixed #13640: Avoid generating an exception when a model has an attribute named 'evaluate'. Thanks LukaszKorzybski and tobias.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17093 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-13 15:09:08 +00:00
Karen Tracey 0db571b417 Fixed #17134: Corrected Python 2.5 fallback code for parsing microseconds in time values. Thanks aaugustin and jcd.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17092 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-13 00:43:02 +00:00
Julien Phalip b45099eefb Fixed #17190 -- Ensured that the `NullBooleanSelect` widget's options get lazily localized. Thanks to pennersr for the report and to kenth for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17091 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-12 23:07:51 +00:00
Karen Tracey ba0734af9c Fix #17119: Update cache doc to match current implementation, which does (since r15705) cache pages with GET parameters. Thanks Vanni, poirier, and calvinspealman.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17090 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-12 20:30:03 +00:00
Karen Tracey efe4e2e517 Fix #16570: Restore ability to have decimal fields where max_digits equals decimal_places. Thanks dcwatson and kenth.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17089 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-12 19:53:56 +00:00
Karen Tracey 63ba472cc4 Fix #13864: Removed database error raised when force_update is requsted on save of an inherited model with no fields of its own. Thanks fva, gregmuellegger, and markb1.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17088 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-12 19:06:39 +00:00
Luke Plant eb81f979a8 Fixed typo in 1.4 release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17087 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-12 18:50:50 +00:00
Karen Tracey 3fa49c4e6e Fix #17179: Document that yesno filter's default argument is "yes,no,maybe". Thanks CarlFK and calvinspealman.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17086 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-12 18:47:51 +00:00
Karen Tracey 0426962dac Fix #16998: Update name of the CSRF middleware in doc. Thanks ptone and poirier.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17085 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-12 17:37:29 +00:00
Karen Tracey f4f61baa8c Fix #16813: Restore checking whether a backend supports inctive users before sending inactive users in for permission checking. Thanks apollo13 for the report and poirier for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17084 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-12 17:23:07 +00:00
Julien Phalip 1aef1b20aa Fixed #17205 -- Fixed a small typo in the urls doc. Thanks, rabio.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17083 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-12 13:39:42 +00:00
Julien Phalip 726f082aa9 Fixed #17206 -- Fixed an outdated error message in the tutorial part 3. Thanks, rabio.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17082 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-12 13:30:05 +00:00
Julien Phalip c3df840c20 Fixed #16903 -- Added `--no-location` option to the `makemessages` command to not write '#: filename:line' comment lines in language files. Thanks to alpar for the suggestion and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17081 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-11 13:07:14 +00:00
Julien Phalip 9d410ee64b Fixed #17197 -- Prevented a locale leakage from an i18n test causing collateral failures in the rest of the test suite. Thanks to Florian Apolloner for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17080 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-11 12:25:53 +00:00
Aymeric Augustin 64fdd84474 Fixed #17184 -- Typo in models documentation. Thanks elimisteve for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17079 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-10 08:41:21 +00:00
Ramiro Morales f1bc3b0401 Fixed incompatibility with Python 2.5 introduced in r17077. Thanks Florian for the heads up.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17078 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-09 17:39:07 +00:00
Ramiro Morales e92b3b723f Fixed #11118 -- Made management command BaseCommand restore locale after execution.
Thanks rvdrijst for the report and initial patch and Claude Paroz for enhancing it.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17077 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-07 11:28:31 +00:00
Julien Phalip 90d3697417 Fixed #17125 -- Made it possible to change a `RegexField`'s regular expression validator after it has been initialized. Thanks to Claude Paroz for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17076 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-07 07:41:24 +00:00
Chris Beaven b745fc0f4b Fixes #17173 -- Added some extra regression tests for reversing namespaced urls with special characters
The actual code was already fixed between 1.3.1 and trunk, but more thorough tests are always a good thing. Thanks for the patch, Yann Kaiser.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17075 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-07 01:09:13 +00:00
Carl Meyer 7f658a5429 Refs #17171 -- Updated tutorial sections 3 and 4 to follow the startproject template and consistently use url() function in URLconf. Thanks haimunt for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17073 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-06 16:58:04 +00:00
Julien Phalip 5f64af9ecb Fixed #17152 -- Fixed a few anomalies in the `contrib.formtools` documentation and templates. Thanks, Bradley Ayers.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17072 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-06 01:19:40 +00:00
Julien Phalip b2948d8179 Fixed #17165 -- Fixed `SelectDateWidget._has_changed()` to work correctly with a localized date format.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17071 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-06 00:31:06 +00:00
Adrian Holovaty af7688dbec Fixed #17164 -- Fixed outdated link to Atom spec in docs/ref/utils.txt. Thanks, George Lund
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17070 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-04 23:00:37 +00:00
Adrian Holovaty 64bfec38e2 docs: Added missing 'form' argument to class-based-views.txt. Thanks, gabrielgrant
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-04 16:33:18 +00:00
Jannis Leidel a82488bf4b Fixed #16966 -- Stopped CachedStaticFilesStorage from choking on querystrings and path fragments.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-03 10:51:02 +00:00
Jannis Leidel 0e2c543979 Fixed #16967 -- Made sure CachedStaticFilesStorage repopulates its cache if there was a miss (for example if the cache server went down).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17067 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-02 17:45:32 +00:00
Luke Plant 44a4037466 Fixed #17129 - Model FAQ: Link to south
Thanks to guettli for report and initial patch

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17066 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-01 22:27:02 +00:00
Luke Plant 6d39cb4119 Fixed #5704 - Admin popup windows won't close when using application/xhtml as default content type
Thanks to Rob van der Linde for the report, and to mb0, dArignac and claudep
for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17065 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-01 21:50:17 +00:00
Luke Plant a97ecfdea8 Fixed #4027 - Document how to make copies of model instances
Thanks to Marek Kubica for the report and initial patch, and to oinopion and
erikr for work on the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17064 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-01 21:44:18 +00:00